public TileArrayObject(int row, int col) { this.row = row; this.col = col; if ((row + col) % 2 == 0) { this.tileArrayType = TileArrayType.Even; } else { this.tileArrayType = TileArrayType.Odd; } flagged = false; revealed = false; }
// Change tile type public void SetTileArrayType(TileArrayType tileArrayType) { this.tileArrayType = tileArrayType; }