public boolean canPlay(String mana){
		if(mana.length() < this.getCmc())
			return false;
		
		ArrayList<Character> costArr = new ArrayList<Character>();
		
		for(int i = 0; i < mana.length(); i++)
			costArr.add(mana.charAt(i));
		
		for(int i = (this.manaCost.length() - 1); i >= 0; i--){
			Character c = this.manaCost.charAt(i);
			if(costArr.contains(c))
				costArr.remove(c);
			
			else if(c >= '0' && c <= '9'){
				if(Character.getNumericValue(c) <= costArr.size())
					return true;
			}
			else if(c == 'X' || c == 'x')
				return true;
			
			else
				return false;
		}
		
		return true;
	}