bcirpggithubmirror/Phase2/Godot ===(Game Code)===/MergedMaster/bcirpg_mergedMaster_20220918ALuke/userInterface/Option.gd

11 lines
206 B
GDScript

extends Button
signal option_pressed(destinationLabel)
var destinationLabel
#DKM TEMP: test
func _on_Option_button_up() -> void:
print("Button pushed!")
emit_signal("option_pressed", destinationLabel)