@Override
	public boolean equals(Object obj) {
		// TODO Codeoptimierung
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		Card other = new Card((CardType) obj);
		if (this.treasure != other.getTreasure()) {
			return false;
		}
		for (Integer ID : this.getPin().getPlayerID()) {
			if (!other.getPin().getPlayerID().contains(ID)) {
				return false;
			}
		}
		if (other.getShape() != this.getShape()) {
			return false;
		}
		return true;
	}