Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
getCostPartsWithZeroMana
Method · 0.95
getMaxForNonManaX
Method · 0.95
getAnnouncementBounds
Method · 0.95
shouldPumpCard
Method · 0.95
canPayCost
Method · 0.95
getAIPlayableMana
Method · 0.95
checkApiLogic
Method · 0.95
isLandDestroyAbilityFromLand
Method · 0.95
performTest
Method · 0.45
applyRaiseCostAbility
Method · 0.45
canPlayFromHost
Method · 0.45
canPlay
Method · 0.45
Calls
1
getCostMana
Method · 0.95
Tested by
no test coverage detected