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

Method toSimpleString

forge-game/src/main/java/forge/game/cost/Cost.java:782–793  ·  view source on GitHub ↗

toSimpleString. @return a java.lang.String object.

()

Source from the content-addressed store, hash-verified

780 * @return a {@link java.lang.String} object.
781 */
782 public final String toSimpleString() {
783 final StringBuilder cost = new StringBuilder();
784 boolean first = true;
785 for (final CostPart part : this.costParts) {
786 if (!first) {
787 cost.append(", ");
788 }
789 cost.append(part.toString());
790 first = false;
791 }
792 return cost.toString();
793 }
794
795 /**
796 * <p>

Callers 15

addExtraKeywordCostMethod · 0.95
alternativeCostsMethod · 0.95
keywordsToTextMethod · 0.95
kickerDescMethod · 0.95
addTriggerAbilityMethod · 0.95
addReplacementEffectMethod · 0.95
addSpellAbilityMethod · 0.95
addStaticAbilityMethod · 0.95
toStringMethod · 0.80

Calls 2

appendMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected