summaryrefslogtreecommitdiff
path: root/Stages/world.gd
diff options
context:
space:
mode:
Diffstat (limited to 'Stages/world.gd')
-rw-r--r--Stages/world.gd13
1 files changed, 0 insertions, 13 deletions
diff --git a/Stages/world.gd b/Stages/world.gd
index b5a4daa..0549a1c 100644
--- a/Stages/world.gd
+++ b/Stages/world.gd
@@ -19,16 +19,3 @@ func _input(event: InputEvent):
var scene = preload("res://Units/Unit.tscn")
var unit = scene.instantiate()
Client.spawn_unit(unit, %Spawn)
-
- if event.is_action_pressed("spawn_box_toggle"):
- hud.spawn_box.visible = not hud.spawn_box.visible
-
-
-func _on_build_mode_button_gui_input(event: InputEvent) -> void:
- if event.is_action_pressed("builder_tower_select"):
- $StateManager.set_state("StateBuild")
-
-
-func _on_spawner_box_button_gui_input(event: InputEvent) -> void:
- if event.is_action_pressed("select"):
- hud.spawn_box.visible = not hud.spawn_box.visible