mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 11:15:33 +00:00
23 lines
No EOL
516 B
C#
23 lines
No EOL
516 B
C#
using Godot;
|
|
|
|
namespace Cirno.Scripts.Components.FSM;
|
|
|
|
public abstract partial class State : Node2D
|
|
{
|
|
public virtual int StateId { get; }
|
|
|
|
protected ActorStateMachine _stateMachine;
|
|
|
|
public virtual void Init(ActorStateMachine stateMachine)
|
|
{
|
|
_stateMachine = stateMachine;
|
|
}
|
|
|
|
public abstract void EnterState();
|
|
|
|
public abstract void ExitState();
|
|
|
|
public abstract void ProcessState(double delta);
|
|
public abstract void PhysicsProcessState(double delta);
|
|
|
|
} |