public int compareTo(Card card) {
		if(card.getType() == type) {
			if(card.getColorType() == colorType) {
				return 0;
			}
			if(card.getColorType() > colorType){
				return -1;
			}
			return 1;
		}
		if(card.getType() > type)
			return -1;
		return 1;
	}