big work
This commit is contained in:
@@ -5,9 +5,10 @@ extends Control
|
||||
@onready var room = $Room
|
||||
@onready var backwall = $Backwall
|
||||
@onready var backwall_animation = $Backwall/BackwallAnimation
|
||||
@onready var cell_top = $CellTop
|
||||
@onready var cell_bot = $CellBot
|
||||
@onready var cell_animation = $CellAnimation
|
||||
@onready var cell_door = $CellDoor
|
||||
@onready var cell_top = $CellDoor/CellTop
|
||||
@onready var cell_bot = $CellDoor/CellBot
|
||||
@onready var cell_animation = $CellDoor/CellAnimation
|
||||
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
@@ -18,7 +19,7 @@ func _ready() -> void:
|
||||
#Resets to initial state
|
||||
func reset():
|
||||
cell_wall.modulate = Patient.original_color
|
||||
for node in [cell_wall, cell_top, cell_bot]:
|
||||
for node in [cell_wall, cell_door]:
|
||||
node.hide()
|
||||
for node in [glass, room, backwall]:
|
||||
node.show()
|
||||
|
||||
Reference in New Issue
Block a user