mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 11:15:33 +00:00
25 lines
496 B
C#
25 lines
496 B
C#
using System;
|
|
using Godot;
|
|
|
|
namespace Cirno.Scripts.Components.FSM;
|
|
|
|
public partial class PlayerStateMachine : StateMachineBase<PlayerState, CharacterBody2D>
|
|
{
|
|
[Export] public override PlayerState InitialState { get; protected set; } = PlayerState.Init;
|
|
|
|
public void RefillHealth()
|
|
{
|
|
GD.Print("Refilling health");
|
|
}
|
|
|
|
public void RefilleShield()
|
|
{
|
|
GD.Print("Refilling shield");
|
|
}
|
|
|
|
public void NoClip()
|
|
{
|
|
GD.Print("NoClip");
|
|
}
|
|
|
|
}
|