public static PlayerStateRun Get() { if (m_instance == null) { m_instance = new PlayerStateRun(); } return(m_instance); }
public override void Run(IPlayer player, PlayerDirection direction, float deltaTime) { player.State = PlayerStateRun.Get(); player.State.Enter(player); player.State.Run(player, direction, deltaTime); }