Ejemplo n.º 1
0
 public void TransitionToState(GameBaseState state)
 {
     currentGameState = state;
     currentGameState.EnterState(this);
 }
Ejemplo n.º 2
0
 public void TransistinoToState(GameBaseState state)
 {
     currentState = state;
     currentState.EnterState(this);
 }
Ejemplo n.º 3
0
 // Transition between game states
 public void TransitionToState(GameBaseState State)
 {
     CurrentState = State;
     CurrentState.EnterState(this);
     TimeInState = 0.0f;
 }