summaryrefslogtreecommitdiffstats
path: root/level_main_menu.gd
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2025-11-19 17:21:35 +0200
committerJan Tuomi <jan@jantuomi.fi>2025-11-19 17:21:35 +0200
commit4a7fba96222160ec02378a848714d0b7e1139d21 (patch)
treeb2ac1970593c036ecdb481be2db771244270feb0 /level_main_menu.gd
parent08a3eda857214c9d610f652939b5cad7f76e17f7 (diff)
Rename level -> room
Diffstat (limited to 'level_main_menu.gd')
-rw-r--r--level_main_menu.gd16
1 files changed, 0 insertions, 16 deletions
diff --git a/level_main_menu.gd b/level_main_menu.gd
deleted file mode 100644
index 2420fc8..0000000
--- a/level_main_menu.gd
+++ /dev/null
@@ -1,16 +0,0 @@
-class_name LevelMainMenu
-extends Node2D
-
-@onready var root: Root = get_tree().root.get_child(0)
-
-# Called when the node enters the scene tree for the first time.
-func _ready() -> void:
- $TestLevelButton.grab_focus.call_deferred()
- $TestLevelButton.pressed.connect(_test_level_button_pressed)
-
-# Called every frame. 'delta' is the elapsed time since the previous frame.
-func _process(_delta: float) -> void:
- pass
-
-func _test_level_button_pressed():
- root.change_level("test")