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