Release Candidate v0.1

This commit is contained in:
2023-09-14 19:13:54 -07:00
parent 54b044142d
commit 7bf559a800
44 changed files with 1257 additions and 476 deletions

View File

@@ -5,7 +5,9 @@ public partial class PyramidAttack : Node3D
[Export]
private AnimationPlayer _animationPlayer;
public override void _Ready()
private bool isDeleted = false;
public override void _EnterTree()
{
_animationPlayer.AnimationFinished += Delete;
}
@@ -20,10 +22,13 @@ public partial class PyramidAttack : Node3D
}
QueueFree();
isDeleted = true;
}
public void Delete(StringName name)
{
QueueFree();
if (!isDeleted)
QueueFree();
isDeleted = true;
}
}