2018-08-05 18:25:15 +00:00
|
|
|
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" )
|
|
|
|
|