Files
pomchronicles/scripts/map.gd
2025-11-19 14:42:59 -05:00

13 lines
307 B
GDScript

class_name QuestMap extends Control
signal location_selected(location : Quest.Locations)
func _ready() -> void:
for child in get_children():
if child is MapPoint:
child.selected.connect(_on_location_pressed)
func _on_location_pressed(location : Quest.Locations):
location_selected.emit(location)