diff options
Diffstat (limited to 'Stages/world.gd')
-rw-r--r-- | Stages/world.gd | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/Stages/world.gd b/Stages/world.gd deleted file mode 100644 index 0549a1c..0000000 --- a/Stages/world.gd +++ /dev/null @@ -1,21 +0,0 @@ -extends Stage - - -func _ready(): - super._ready() - - #while true: - #var scene = preload("res://Units/Unit.tscn") - #var unit = scene.instantiate() - #Client.spawn_unit(unit, %Spawn) - #await get_tree().create_timer(randi_range(1, 2)).timeout - #await get_tree().create_timer(0.01).timeout - #break - - -func _input(event: InputEvent): - if event.is_action_pressed("ui_accept"): - for _i in range(0, 1): - var scene = preload("res://Units/Unit.tscn") - var unit = scene.instantiate() - Client.spawn_unit(unit, %Spawn) |