示例#1
0
 public void ClearTemp()
 {
     foreach (var point in LiveCoords.GetAllBlockPoints())
     {
         m_liveMap.Cells[point.X, point.Y].ClearTemp();
     }
 }
示例#2
0
        public LiveMapBlock(LiveMap _liveMap, Point _liveMapBlockId, int _liveMapBlockIndex)
        {
            m_liveMap           = _liveMap;
            LiveMapBlockId      = _liveMapBlockId;
            m_liveMapBlockIndex = _liveMapBlockIndex;
            LiveCoords          = LiveMapBlockId * Constants.MAP_BLOCK_SIZE;

            foreach (var point in LiveCoords.GetAllBlockPoints())
            {
                m_liveMap.Cells[point.X, point.Y] = new LiveMapCell(this, point);
            }
        }