cirnogodot/Scripts/Components/FSM/PlayerStateMachine.cs

25 lines
496 B
C#
Raw Normal View History

2025-02-28 13:50:52 +01:00
using System;
using Godot;
namespace Cirno.Scripts.Components.FSM;
2025-03-05 10:55:14 +01:00
public partial class PlayerStateMachine : StateMachineBase<PlayerState, CharacterBody2D>
2025-02-28 13:50:52 +01:00
{
2025-03-05 10:55:14 +01:00
[Export] public override PlayerState InitialState { get; protected set; } = PlayerState.Init;
2025-03-12 16:31:53 +01:00
public void RefillHealth()
{
GD.Print("Refilling health");
}
public void RefilleShield()
{
GD.Print("Refilling shield");
}
2025-03-12 18:46:17 +01:00
public void NoClip()
{
GD.Print("NoClip");
}
2025-03-05 10:55:14 +01:00
2025-02-28 13:50:52 +01:00
}