MCPcopy Create free account
hub / github.com/Card-Forge/forge / getBlockers

Method getBlockers

forge-game/src/main/java/forge/game/combat/Combat.java:423–426  ·  view source on GitHub ↗
(final Card card)

Source from the content-addressed store, hash-verified

421 }
422
423 public final CardCollection getBlockers(final Card card) {
424 // If requesting the ordered blocking list pass true, directly.
425 return getBlockers(getBandOfAttacker(card));
426 }
427 public final CardCollection getBlockers(final AttackingBand band) {
428 Collection<Card> blockers = blockedBands.get().get(band);
429 return blockers == null ? new CardCollection() : new CardCollection(blockers);

Callers 15

toStringMethod · 0.95
addToCombatMethod · 0.95
resolveMethod · 0.95
resolveMethod · 0.95
resolveMethod · 0.95
useRemovalNowMethod · 0.95
shouldPumpCardMethod · 0.95
doAristocratLogicMethod · 0.95
distributeAIDamageMethod · 0.95
chooseProtectionTypeMethod · 0.95

Calls 2

getBandOfAttackerMethod · 0.95
getMethod · 0.65

Tested by 1