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

Method hasManaCost

forge-game/src/main/java/forge/game/cost/Cost.java:73–75  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

71 }
72
73 public final boolean hasManaCost() {
74 return this.getCostMana() != null;
75 }
76
77 public final boolean hasSpecificCostType(Class<? extends CostPart> costType) {
78 for (CostPart p : getCostParts()) {

Callers 15

getMaxForNonManaXMethod · 0.95
getAnnouncementBoundsMethod · 0.95
shouldPumpCardMethod · 0.95
canPayCostMethod · 0.95
getAIPlayableManaMethod · 0.95
checkApiLogicMethod · 0.95
performTestMethod · 0.45
applyRaiseCostAbilityMethod · 0.45
canPlayFromHostMethod · 0.45
canPlayMethod · 0.45

Calls 1

getCostManaMethod · 0.95

Tested by

no test coverage detected