super_space_game/scripts/dialogue_select_button.gd

9 lines
106 B
GDScript3
Raw Normal View History

2025-12-04 03:30:37 +00:00
extends Button
var game = null
2025-12-06 19:33:22 +00:00
var id = null
2025-12-04 03:30:37 +00:00
func _on_pressed() -> void:
2025-12-06 19:33:22 +00:00
game.choice_made.emit(self)