mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-03 14:05:53 +00:00
Modules for FSM
This commit is contained in:
parent
5a09b7fcd1
commit
bdc310d204
9 changed files with 74 additions and 23 deletions
21
Scripts/Components/FSM/TestModule.cs
Normal file
21
Scripts/Components/FSM/TestModule.cs
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
using Godot;
|
||||
|
||||
namespace Cirno.Scripts.Components.FSM;
|
||||
|
||||
public partial class TestModule : ModuleBase<PlayerState, CharacterBody2D>
|
||||
{
|
||||
public override void Init(IStateMachine<PlayerState, CharacterBody2D> machine)
|
||||
{
|
||||
GD.Print($"Module Init {Name}");
|
||||
}
|
||||
|
||||
public override void Process(double delta)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void PhysicsProcess(double delta)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue