mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-14 14:23:47 +00:00
Event for door opening
This commit is contained in:
parent
f23d84071a
commit
0c694e05af
1 changed files with 6 additions and 0 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue