cirnogodot/Scripts/Components/FSM/Elevator/Init.cs
2025-03-11 15:03:44 +01:00

22 lines
No EOL
508 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;
MainObject.TopBody.Position = MainObject.Top;
StateMachine.SetState(MainObject.StartingState);
}
public override void ExitState()
{
}
}