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

Method isSplitCard

forge-game/src/main/java/forge/game/card/Card.java:1102–1109  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1100 }
1101
1102 public final boolean isSplitCard() {
1103 // Normal Split Cards, these need to return true before Split States are added
1104 if (getRules() != null && getRules().getSplitType() == CardSplitType.Split) {
1105 return true;
1106 }
1107 // in case or clones or copies
1108 return hasState(CardStateName.LeftSplit);
1109 }
1110
1111 public final boolean isAdventureCard() {
1112 if (!hasState(CardStateName.Secondary))

Callers 15

getAlternateStateNameMethod · 0.95
getCMCMethod · 0.95
getCardMethod · 0.95
confirmActionMethod · 0.95
changeZoneMethod · 0.45
getLKICopyMethod · 0.45
cardHasPropertyMethod · 0.45
buildAbilitiesMethod · 0.45
getCloneStatesMethod · 0.45
buildFusedAbilityMethod · 0.45

Calls 3

getRulesMethod · 0.95
hasStateMethod · 0.95
getSplitTypeMethod · 0.80

Tested by

no test coverage detected