mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 10:35:34 +00:00
Migrated player state machine
This commit is contained in:
parent
bb3cdefaa2
commit
9c3f22760b
19 changed files with 108 additions and 69 deletions
|
|
@ -1,8 +1,9 @@
|
|||
using Godot;
|
||||
using System;
|
||||
using Cirno.Scripts.Components.Actors;
|
||||
using Cirno.Scripts.Components.FSM;
|
||||
|
||||
public partial class InteractionController : Area2D
|
||||
public partial class InteractionController : PlayerArea2DModule
|
||||
{
|
||||
[Export] public ActorResourceProvider Health { get; private set; }
|
||||
[Export] public ActorResourceProvider Shield { get; private set; }
|
||||
|
|
@ -35,4 +36,19 @@ public partial class InteractionController : Area2D
|
|||
public override void _Process(double delta)
|
||||
{
|
||||
}
|
||||
|
||||
public override void Init(IStateMachine<PlayerState, CharacterBody2D> machine)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void Process(double delta)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void PhysicsProcess(double delta)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue