extends Monument class_name DockMonument var packed_scene = preload("res://world/monuments/Dock.tscn") func _init(xform:Transform).(xform,packed_scene,_chunks(),_origin()): pass func _chunks(): var chunk_size = ChunkLoader.world.chunk_size var c = {} var width = stepify(200.0,chunk_size) for x in range(-width,width+chunk_size,chunk_size): for y in range(-width,width+chunk_size,chunk_size): c[Vector2(x,y)] = true return c func _origin(): return Vector2(0.0,0.0)