summaryrefslogtreecommitdiffstats
path: root/top.gd
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2025-11-21 13:56:01 +0200
committerJan Tuomi <jan@jantuomi.fi>2025-11-21 14:01:11 +0200
commit413d219eba1157284a6a90ecb9f736058158bb5f (patch)
tree50c7b2a6e1b4c9a1eb01b7f94e3f67703b3aae16 /top.gd
parent7b44fcc1ef95fdfcc6723f8e6a594012764a8cab (diff)
Add map
Diffstat (limited to 'top.gd')
-rw-r--r--top.gd6
1 files changed, 6 insertions, 0 deletions
diff --git a/top.gd b/top.gd
index a4051b0..67f887f 100644
--- a/top.gd
+++ b/top.gd
@@ -30,3 +30,9 @@ func replace_active_room(new_room: Node, on_changed: Callable):
new_room.connect("tree_entered", on_changed)
new_room.process_mode = Node.PROCESS_MODE_PAUSABLE
add_child(new_room)
+
+func get_map() -> Map:
+ return $Map
+
+func get_transition_manager() -> TransitionManager:
+ return $TransitionManager