示例#1
0
        public IGamePlayProcessor CreateGame()
        {
            gameBuilder.GameSize = gameSize;
            IGame game = gameBuilder.GetGame();

            return(new GamePlayProcessor(game, fieldBuilder, new GameDataProvider(gameSize)));
        }
 public Game GetGame()
 {
     return(_Builder.GetGame());
 }
示例#3
0
 public static void newGame()
 {
     game = gameBuilder.GetGame();
 }