Event for door opening

This commit is contained in:
MaddoScientisto 2025-02-23 01:27:14 +01:00
commit 0c694e05af

View file

@ -13,6 +13,12 @@ public partial class Door : Activable
[Export]
public DoorState State { get; set; }
[Signal]
public delegate void DoorOpenedEventHandler();
[Signal]
public delegate void DoorClosedEventHandler();
public override void _Ready()
{
_animatedSprite = GetNode<AnimatedSprite2D>("AnimatedSprite2D");