public void GenerateRandomWalls(int randomWalls, int chunkChance, int maxChunkSize) { level.cells = WallsGenerator.GenerateRandomWalls(level.criticalPath, level.cells, randomWalls, level.random, level.width, level.height, chunkChance, maxChunkSize); }
// Use this for initialization void Start() { generator = dungeon.GetComponent <WallsGenerator>(); }
public void GenerateBorderWalls() { level.cells = WallsGenerator.GenerateBorderWalls(level.width, level.height, level.cells); }