public void ClearTemp() { foreach (var point in LiveCoords.GetAllBlockPoints()) { m_liveMap.Cells[point.X, point.Y].ClearTemp(); } }
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); } }