(SpellAbility sa, Player payer, final boolean effect)
| 1073 | } |
| 1074 | |
| 1075 | public boolean canPay(SpellAbility sa, Player payer, final boolean effect) { |
| 1076 | for (final CostPart part : this.getCostParts()) { |
| 1077 | if (!part.canPay(sa, payer, effect)) { |
| 1078 | return false; |
| 1079 | } |
| 1080 | } |
| 1081 | |
| 1082 | return true; |
| 1083 | } |
| 1084 | |
| 1085 | public boolean hasXInAnyCostPart() { |
| 1086 | boolean xCost = false; |
no test coverage detected