boolean function ( Card arg0 , List < ColoredManaSymbol > arg1 ) { int loc0 = 0 ; for ( Mana loc1 : arg0 . getMana ( ) ) { for ( ColoredManaSymbol loc2 : arg1 ) { loc0 = loc0 + loc1 . getColor ( loc2 ) ; } } if ( loc0 > 1 ) { return true ; } return false ; }
checks that chosen card can produce mana of specific color . concode_field_sep Deck deck concode_elem_sep int SINGLE_PENALTY[] concode_elem_sep int DECK_COUNT60[] concode_elem_sep int MIN_CARD_SCORE concode_elem_sep int DECK_COUNT40[] concode_elem_sep int deckSize concode_elem_sep int deckSpells concode_elem_sep int deckLands concode_elem_sep int score concode_elem_sep int MIN_SOURCE concode_elem_sep int deckCount[] concode_elem_sep Card card concode_elem_sep int DECK_COST[] concode_field_sep Deck buildDeck concode_elem_sep int getManaCostScore concode_elem_sep void addLandsToDeck concode_elem_sep Card getCard concode_elem_sep boolean isColoredMana concode_elem_sep void addCardsToDeck concode_elem_sep int getScore concode_elem_sep int getConvertedCost