Class CardAttack
java.lang.Object
com.pixelmonmod.tcg.api.card.attack.CardAttack
-
Constructor Summary
ConstructorDescriptionCardAttack
(String name, List<Energy> costs, int damage, CardModifier modifier, String text, String effectsString) CardAttack
(String name, List<Energy> costs, int damage, CardModifier modifier, String text, List<BaseAttackEffect> effects) -
Method Summary
Modifier and TypeMethodDescriptiongetCosts()
int
getID()
getName()
getText()
net.minecraft.network.chat.Component
boolean
void
withEffect
(BaseAttackEffect effect)
-
Constructor Details
-
CardAttack
-
CardAttack
public CardAttack(String name, List<Energy> costs, int damage, CardModifier modifier, String text, List<BaseAttackEffect> effects)
-
-
Method Details
-
withEffect
-
setID
-
getID
-
getName
-
getTranslatedName
public net.minecraft.network.chat.Component getTranslatedName() -
getCosts
-
getDamage
public int getDamage() -
getModifier
-
getText
-
getEffectsString
-
getEffects
-
hasEffects
public boolean hasEffects()
-