public void StateTransition(IPhantomState arg_nextPhase) { m_currentState.OnExit(this); m_currentState = arg_nextPhase; m_currentState.OnEnter(this); }
public void Initialize() { m_speed = 0.5f; m_currentState = new PhantomMove(); m_currentState.OnEnter(this); }