mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 11:15:33 +00:00
14 lines
No EOL
461 B
C#
14 lines
No EOL
461 B
C#
using Godot;
|
|
|
|
namespace Cirno.Scripts.Components.FSM;
|
|
|
|
public abstract partial class ModuleBase<TKey, TType> : Node2D, IModule<TKey, TType>
|
|
where TKey : notnull
|
|
where TType : Node
|
|
{
|
|
public abstract void EnterState(TKey state);
|
|
public abstract void ExitState(TKey state);
|
|
public abstract void Init(IStateMachine<TKey, TType> machine);
|
|
public abstract void Process(double delta);
|
|
public abstract void PhysicsProcess(double delta);
|
|
} |