mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-14 02:55:55 +00:00
Triggerable acid
This commit is contained in:
parent
e85a4afa3f
commit
796f70b69a
16 changed files with 1329 additions and 968 deletions
29
Scripts/Components/FSM/3DPlayer/Dead.cs
Normal file
29
Scripts/Components/FSM/3DPlayer/Dead.cs
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
using Godot;
|
||||
|
||||
namespace Cirno.Scripts.Components.FSM._3DPlayer;
|
||||
|
||||
public partial class Dead : BaseState<PlayerState, CharacterBody3D>
|
||||
{
|
||||
public override PlayerState StateId => PlayerState.Dead;
|
||||
|
||||
public override void EnterState()
|
||||
{
|
||||
base.EnterState();
|
||||
MainObject.Hide();
|
||||
}
|
||||
|
||||
public override void ExitState()
|
||||
{
|
||||
base.ExitState();
|
||||
}
|
||||
|
||||
public override void PhysicsProcessState(double delta)
|
||||
{
|
||||
base.PhysicsProcessState(delta);
|
||||
}
|
||||
|
||||
public override void ProcessState(double delta)
|
||||
{
|
||||
base.ProcessState(delta);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue