Пример #1
0
 public MapBlock(MapFacet parent, sbyte altitude)
 {
     _Parent = parent;
     _EntryId = 0xFFFFFFFFu;
     _Tiles = new MapTile[64];
     for (int i = 0; i < 64; ++i)
         _Tiles[i] = new MapTile(this, new LandMapTile(0x0002, altitude), null);
 }
Пример #2
0
 public MapBlock(MapFacet parent, uint index, IMapBlockData data)
 {
     _Parent = parent;
     _EntryId = index;
     //_Patch = null;
     _Tiles = new MapTile[64];
     for (int i = 0; i < 64; ++i)
         _Tiles[i] = new MapTile(this, data.Lands[i], data.Items[i]);
 }