update kq4_066_secret_tower to extend Scene
This commit is contained in:
@@ -1,20 +1,14 @@
|
||||
extends Node2D
|
||||
class_name SecretTower
|
||||
|
||||
@onready var ego: Node2D = $"../ego"
|
||||
|
||||
func _ready() -> void:
|
||||
pass
|
||||
extends Scene
|
||||
|
||||
func _on_room_looked() -> void:
|
||||
pass
|
||||
pass
|
||||
|
||||
func _on_kq4_061_tower_stairs_interacted() -> void:
|
||||
var target_scene = load("res://scenes/kq4_061_tower_stairs/kq4_061_tower_stairs.tscn")
|
||||
if target_scene:
|
||||
get_tree().change_scene_to_packed(target_scene)
|
||||
var target_scene = load("res://scenes/kq4_061_tower_stairs/kq4_061_tower_stairs.tscn")
|
||||
if target_scene:
|
||||
get_tree().change_scene_to_packed(target_scene)
|
||||
|
||||
func _on_kq4_067_the_parlor_interacted() -> void:
|
||||
var target_scene = load("res://scenes/kq4_067_the_parlor/kq4_067_the_parlor.tscn")
|
||||
if target_scene:
|
||||
get_tree().change_scene_to_packed(target_scene)
|
||||
var target_scene = load("res://scenes/kq4_067_the_parlor/kq4_067_the_parlor.tscn")
|
||||
if target_scene:
|
||||
get_tree().change_scene_to_packed(target_scene)
|
||||
|
||||
Reference in New Issue
Block a user