public int getDevCardsType(String str) {
		int count = 0;
		for (DevCard dC : hand) {
			if (dC.getType().equals(str) || dC.getSubType() != null && dC.getSubType().equals(str))
				count++;
		}
		
		return count;
	}