update kq4_053_seven_dwarfs_bedroom to extend Scene
This commit is contained in:
@@ -1,15 +1,9 @@
|
|||||||
extends Node2D
|
extends Scene
|
||||||
class_name SevenDwarfsBedroom
|
|
||||||
|
|
||||||
@onready var ego: Node2D = $"../ego"
|
|
||||||
|
|
||||||
func _ready() -> void:
|
|
||||||
pass
|
|
||||||
|
|
||||||
func _on_room_looked() -> void:
|
func _on_room_looked() -> void:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
func _on_kq4_054_seven_dwarfs_cottage_interacted() -> void:
|
func _on_kq4_054_seven_dwarfs_cottage_interacted() -> void:
|
||||||
var target_scene = load("res://scenes/kq4_054_seven_dwarfs_cottage/kq4_054_seven_dwarfs_cottage.tscn")
|
var target_scene = load("res://scenes/kq4_054_seven_dwarfs_cottage/kq4_054_seven_dwarfs_cottage.tscn")
|
||||||
if target_scene:
|
if target_scene:
|
||||||
get_tree().change_scene_to_packed(target_scene)
|
get_tree().change_scene_to_packed(target_scene)
|
||||||
|
|||||||
Reference in New Issue
Block a user