mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-10 13:15:53 +00:00
Enemy sounds
This commit is contained in:
parent
585befb932
commit
a11e61b2c2
15 changed files with 224 additions and 38 deletions
|
|
@ -7,8 +7,8 @@ namespace Cirno.Scripts.Components.FSM.Enemy._3D;
|
|||
public partial class Dead : EnemyStateBase3D
|
||||
{
|
||||
public override EnemyState StateId => EnemyState.Dead;
|
||||
|
||||
[Export] public EnemyStorage3D Storage { get; private set; }
|
||||
|
||||
[Export] public EnemyStorage3D Storage { get; private set; }
|
||||
|
||||
public override void EnterState()
|
||||
{
|
||||
|
|
@ -23,8 +23,7 @@ public partial class Dead : EnemyStateBase3D
|
|||
debris.GlobalPosition = MainObject.GlobalPosition;
|
||||
debris.Init(Storage.EnemyData);
|
||||
}
|
||||
|
||||
|
||||
MainObject.QueueFree();
|
||||
|
||||
//MainObject.QueueFree();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue