Пример #1
0
 public Chunk()
 {
     TerrainPopulated = true;
     TileEntities = new List<TileEntity>();
     Entities = new List<IDiskEntity>();
     Sections = new Section[16];
     for (int i = 0; i < Sections.Length; i++)
         Sections[i] = new Section((byte)i);
     Biomes = new byte[Width * Depth];
     HeightMap = new int[Width * Depth];
 }
Пример #2
0
 internal ReadOnlySection(Section section)
 {
     Section = section;
 }