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

Method has

forge-core/src/main/java/forge/deck/Deck.java:186–189  ·  view source on GitHub ↗
(DeckSection deckSection)

Source from the content-addressed store, hash-verified

184 }
185
186 public boolean has(DeckSection deckSection) {
187 final CardPool cp = get(deckSection);
188 return cp != null && !cp.isEmpty();
189 }
190
191 public PaperCard removeCardName(String name) {
192 PaperCard paperCard;

Callers 15

onActivateMethod · 0.95
removeAnteCardMethod · 0.95
selectSchemeDeckMethod · 0.95
selectPlanarDeckMethod · 0.95
selectVanguardAvatarMethod · 0.95
prepareAllZonesMethod · 0.45
assignConspiraciesMethod · 0.45
assignAttractionsMethod · 0.45
assignContraptionsMethod · 0.45

Calls 2

getMethod · 0.95
isEmptyMethod · 0.65

Tested by 2

isValidCommanderDeckMethod · 0.36