Create persistence manager and connectors for chests and gates

This commit is contained in:
2026-03-19 14:26:57 -05:00
parent 31567f53fb
commit 9fcd24f8b5
14 changed files with 163 additions and 9 deletions

View File

@@ -1,5 +1,7 @@
extends StaticBody2D
signal Opened
@onready var sprite: AnimatedSprite2D = $AnimatedSprite2D
@onready var collision_shape_2d: CollisionShape2D = $CollisionShape2D
@@ -15,3 +17,5 @@ func OpenGate() -> void:
collision_shape_2d.set_deferred("disabled", true)
sprite.play("open")
Opened.emit()