Пример #1
0
 void GenerateMaze()
 {
     Debug.Log("generating maze map...");
     maze = new Maze(cellWidth, cellHeight, seed, corridorDirection);
     maze.BestFirstOrdering();
     maze.AssignCellTypes(chestSpawnProvability, trapSpawnProvability);
 }