Save/Load rework

This commit is contained in:
2026-03-01 14:10:51 +01:00
parent d4a533bf17
commit b24addcee6
42 changed files with 1315 additions and 154 deletions
+24
View File
@@ -0,0 +1,24 @@
extends Control
@onready var glass = $Glass
@onready var cell_wall = $CellWall
@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
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
#Resets to initial state
func reset():
cell_wall.modulate = Patient.original_color
for node in [cell_wall, cell_top, cell_bot]:
node.hide()
for node in [glass, room, backwall]:
node.show()