Пример #1
0
 public DungeonGenerator(Level level)
 {
     this.level = level;
     this.levelHeight = level.Height;
     this.levelWidth = level.Width;
     this.visitedIndices = new List<Point>();
 }
Пример #2
0
 public LightSource(Level level)
     : base(level)
 {
     level.AddLightSource(this);
 }
Пример #3
0
 public Tile(Level l, int id, TileData data)
 {
     ID = id;
     level = l;
     Data = new TileData(data);
 }