public void Falling() { CurrentState.ExitState(); CurrentState = new Falling(Mario); CurrentState.Enter(this); }
public void Idle() { CurrentState.ExitState(); CurrentState = new Idling(Mario); CurrentState.Enter(this); }