public Piece getPiece() {
		if (revealed) {
			if (isMine) return Piece.mine;
			else return Piece.getPiece(numMines);
		} else {
			switch(state){ 
			case unmarked: return Piece.blank;
			case flagged: return Piece.flag;
			case questioned: return Piece.question;
			default: return null;
			}
		}
	}