/// <summary> /// Randomly chooses a gridpoint to place each of the required main dungeons /// </summary> private void GenerateMainDungeonShells() { ChunkStructureType[] mainGen = new ChunkStructureType[] { ChunkStructureType.kithenaCatacomb }; foreach (ChunkStructureType t in mainGen) { //Get random item GridPoint gp = WeightedGridPoints.GetRandom(true); ChunkStructureShell shell = new ChunkStructureShell(gp, t); StructureShells.Add(shell); } }
public ChunkStructureShell(GridPoint gp, ChunkStructureType type) : base(gp, -1) { Type = type; }