Example #1
0
 public void Falling()
 {
     CurrentState.ExitState();
     CurrentState = new Falling(Mario);
     CurrentState.Enter(this);
 }
Example #2
0
 public void Idle()
 {
     CurrentState.ExitState();
     CurrentState = new Idling(Mario);
     CurrentState.Enter(this);
 }