mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 10:45:33 +00:00
18 lines
No EOL
469 B
C#
18 lines
No EOL
469 B
C#
using Godot;
|
|
|
|
namespace Cirno.Scripts.Components.FSM;
|
|
|
|
public interface IState<TKey, [MustBeVariant] TType>
|
|
where TKey : notnull
|
|
where TType : Node
|
|
{
|
|
public TKey StateId { get; }
|
|
public IStateMachine<TKey, TType> StateMachine { get; }
|
|
|
|
public void Init(IStateMachine<TKey, TType> machine);
|
|
|
|
public void EnterState();
|
|
public void ExitState();
|
|
public void ProcessState(double delta);
|
|
public void PhysicsProcessState(double delta);
|
|
} |