mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-09 00:15:55 +00:00
Modules for FSM
This commit is contained in:
parent
5a09b7fcd1
commit
bdc310d204
9 changed files with 74 additions and 23 deletions
|
|
@ -1,6 +1,12 @@
|
|||
namespace Cirno.Scripts.Components.FSM;
|
||||
using Godot;
|
||||
|
||||
public interface IModule
|
||||
namespace Cirno.Scripts.Components.FSM;
|
||||
|
||||
public interface IModule<TKey, TType>
|
||||
where TKey : notnull
|
||||
where TType : Node
|
||||
{
|
||||
|
||||
public void Init(IStateMachine<TKey, TType> machine);
|
||||
public void Process(double delta);
|
||||
public void PhysicsProcess(double delta);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue