test-client-godot/scenes/GUI/character_selection/character_selection_menu.gd

24 lines
505 B
GDScript3
Raw Normal View History

extends Control
signal character_selected( slot )
signal return_button_pressed
func _ready():
# Called when the node is added to the scene for the first time.
# Initialization here
pass
#func _process(delta):
# # Called every frame. Delta is time since last frame.
# # Update game logic here.
# pass
func _on_slot0_character_button_pressed():
emit_signal( "character_selected", 0 )
func _on_return_button_pressed():
2018-08-05 19:36:20 +00:00
emit_signal( "return_button_pressed" )