boolean XThrough(int x, int y, boolean bAdd) {
    if (bAdd)
    {
      for (int i = x; i < this.m_nCol; i++) {
        if (this.m_map[(y * this.m_nCol + i)] != this.BLANK_STATE)
          return false;
      }
    }
    else {
      for (int i = 0; i <= x; i++)
        if (this.m_map[(y * this.m_nCol + i)] != this.BLANK_STATE)
          return false;
    }
    return true;
  }