Files
godot-ci/test-project/scripts/HUD.gd
abarichello 9fd1c3aee0 Import test project as example
TODO: update gitlab-ci template to also use the test-project
2020-05-18 17:52:17 -03:00

16 lines
382 B
GDScript
Executable File

extends Control
func _ready():
pass
# --- Signals ---
func _on_Theme_Button_pressed(button_index: int) -> void:
GLOBAL.update_global_theme(button_index)
func _on_StartButton_pressed():
get_node("/root/Main").emit_signal("start_zoom_out")
get_node("/root/Main/Game/EnemyGenerator").emit_signal("start")
get_node("/root/Main/Game/Player").emit_signal("unblock")
self.hide()