Esempio n. 1
0
 public GameStateFactory()
 {
     start = new StartGameState();
     play  = new PlayGameState();
 }
Esempio n. 2
0
 public GameController()
 {
     start        = GameStateFactory.getFactory.s;
     play         = GameStateFactory.getFactory.p;
     currentState = start;
 }