Exemple #1
0
 // this constructor could be used to load a saved game
 // or possibly to restore a game after pausing if the
 // engine needs to be scrapped during that process
 public Engine(GameState gameState)
 {
     this.GameState = gameState;
 }
Exemple #2
0
 public Engine()
 {
     GameState = new GameState();
 }