bool FindCell(int x, int y) const { int theX = (x + m_width) % m_width; int theY = (y + m_height) % m_height; const auto& it = m_cellMap.find(MakeKey(theX, theY)); return it != m_cellMap.end(); }