test-client-godot/scenes/GUI/character_selection/character_selection_menu.gd
2018-08-05 21:36:20 +02:00

23 lines
505 B
GDScript

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():
emit_signal( "return_button_pressed" )