mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 09:35:34 +00:00
38 lines
No EOL
705 B
C#
38 lines
No EOL
705 B
C#
using Godot;
|
|
|
|
namespace Cirno.Scripts.Components.FSM.Player;
|
|
|
|
public partial class Dead : PlayerFSMState
|
|
{
|
|
[Export]
|
|
private PlayerAnimationProvider _animationProvider;
|
|
|
|
public override void Init(ActorStateMachine stateMachine)
|
|
{
|
|
base.Init(stateMachine);
|
|
// get hud?
|
|
|
|
}
|
|
|
|
public override void EnterState()
|
|
{
|
|
_animationProvider.PlayDeathAnimation();
|
|
// show game over
|
|
}
|
|
|
|
public override void ExitState()
|
|
{
|
|
// Hide game over
|
|
}
|
|
|
|
public override void ProcessState(double delta)
|
|
{
|
|
// wait for button
|
|
|
|
}
|
|
|
|
public override void PhysicsProcessState(double delta)
|
|
{
|
|
|
|
}
|
|
} |