mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 10:45:33 +00:00
17 lines
317 B
C#
17 lines
317 B
C#
using System;
|
|
using Godot;
|
|
|
|
namespace Cirno.Scripts.Components.FSM;
|
|
|
|
public partial class PlayerStateMachine : ActorStateMachine
|
|
{
|
|
[Export]
|
|
public PlayerState InitialState { get; private set; }
|
|
|
|
public override void _Ready()
|
|
{
|
|
base._Ready();
|
|
|
|
this.SetState((int)InitialState);
|
|
}
|
|
}
|