public void FillGaps() { if (!m_map.IsCreated()) { return; } //m_map.Lock(); var CX = m_map.CX; var CY = m_map.CY; for (var x = 0; x < CX; ++x) { for (var y = 0; y < CY; ++y) { if (IsGap(x, y)) { m_map[x][y] = (ushort)MapData.Filled; } } } //m_map.Unlock(); }
public bool CopyMapData(WordMatrix rBuffer) { m_map.ExportData(rBuffer); return(rBuffer.IsCreated()); }