public DungeonGenerator(Level level) { this.level = level; this.levelHeight = level.Height; this.levelWidth = level.Width; this.visitedIndices = new List<Point>(); }
public LightSource(Level level) : base(level) { level.AddLightSource(this); }
public Tile(Level l, int id, TileData data) { ID = id; level = l; Data = new TileData(data); }