Exemple #1
0
        private void Start()
        {
            tileArray = new MazeTile[BoardSize * BoardSize];
            mazeGenerator?.GenerateTiles(tileArray);

            mazeGenerator?.GenerateExcessPositions();
            excessTile.transform.position = extraPositions[0];
            TileGenerator.GenerateRandomWalls(excessTile);

            playerGenerator?.GeneratePlayers(NumberOfPlayers);

            itemGenerator?.GenerateItems();

            playerManager.AssignItemsToCollect();
            turnManager.InitializeFirstTurn();
        }