mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 11:15:33 +00:00
20 lines
No EOL
453 B
C#
20 lines
No EOL
453 B
C#
using Cirno.Scripts.Enums;
|
|
using Godot;
|
|
|
|
namespace Cirno.Scripts.Components.FSM.Elevator;
|
|
|
|
public partial class Init : BaseState<ElevatorState, ElevatorProxy>
|
|
{
|
|
public override ElevatorState StateId => ElevatorState.Init;
|
|
public override void EnterState()
|
|
{
|
|
MainObject.StateMachine = StateMachine;
|
|
|
|
StateMachine.SetState(MainObject.StartingState);
|
|
}
|
|
|
|
public override void ExitState()
|
|
{
|
|
|
|
}
|
|
} |