Ejemplo n.º 1
0
 private void completeBoardModelPreparation(BoardManager boardManager, GameData gameData, bool fileExists)
 {
     if (!fileExists || gameData.GameBoard.Length == 0)
     {
         gameData.GameBoard = boardGenerator.GenerateStartGameBoard(boardManager);
     }
     else
     {
         gameData.GameBoard = boardGenerator.GenerateStartGameBoard(boardManager, gameData.GameBoard);
     }
 }