mirror of
https://github.com/Relintai/broken_seals.git
synced 2024-11-13 20:47:19 +01:00
19 lines
392 B
GDScript
19 lines
392 B
GDScript
tool
|
|
extends "res://addons/world_generator/resources/world_gen_base_resource.gd"
|
|
class_name Continent
|
|
|
|
export(Array) var zones : Array
|
|
|
|
func get_content() -> Array:
|
|
return zones
|
|
|
|
func set_content(arr : Array) -> void:
|
|
zones = arr
|
|
|
|
func add_content() -> void:
|
|
zones.append(Zone.new())
|
|
emit_changed()
|
|
|
|
func setup_property_inspector(inspector) -> void:
|
|
.setup_property_inspector(inspector)
|