codename-routes/godot/world/StateApi.gd

13 lines
259 B
GDScript

extends Node
export var xsize = 256
export var ysize = 256
export var zsize = 6
func _ready():
StateServer.generate_world(xsize, ysize, zsize)
print(StateServer.get_tile_at(0,0,0))
func respawn_tilemaps(amount: int):
$Tilemaps.respawn_tilemaps(amount)