Class OpenerAsPlaySpellCardAction
java.lang.Object
net.demilich.metastone.game.actions.GameAction
net.demilich.metastone.game.actions.PlayCardAction
net.demilich.metastone.game.actions.PlaySpellCardAction
net.demilich.metastone.game.actions.OpenerAsPlaySpellCardAction
- All Implemented Interfaces:
Serializable,Cloneable,Notification
Allows an opener to be encapsulated as a spell card.
- See Also:
-
Field Summary
Fields inherited from class net.demilich.metastone.game.actions.PlayCardAction
loggerFields inherited from class net.demilich.metastone.game.actions.GameAction
chooseOneOptionIndex -
Constructor Summary
ConstructorsConstructorDescriptionOpenerAsPlaySpellCardAction(EntityReference sourceMinion, SpellDesc battlecrySpell, Card card, TargetSelection targetSelection, Condition condition) -
Method Summary
Modifier and TypeMethodDescriptionbooleancanBeExecutedOn(GameContext context, Player player, Entity entity) clone()Methods inherited from class net.demilich.metastone.game.actions.PlaySpellCardAction
getDescription, getSpell, innerExecute, setSpellMethods inherited from class net.demilich.metastone.game.actions.PlayCardAction
execute, getSource, getTargetsMethods inherited from class net.demilich.metastone.game.actions.GameAction
equals, getActionType, getChooseOneOptionIndex, getId, getSource, getTargetReference, getTargetRequirement, hashCode, isClientInterested, isOverrideChild, isPowerHistory, setActionType, setChooseOneOptionIndex, setId, setOverrideChild, setSourceReference, setTarget, setTargetReference, setTargetRequirement, toString, withTargetReference
-
Constructor Details
-
OpenerAsPlaySpellCardAction
public OpenerAsPlaySpellCardAction(EntityReference sourceMinion, SpellDesc battlecrySpell, Card card, TargetSelection targetSelection, Condition condition)
-
-
Method Details
-
canBeExecutedOn
- Overrides:
canBeExecutedOnin classPlayCardAction
-
getSourceReference
- Overrides:
getSourceReferencein classGameAction
-
clone
- Overrides:
clonein classPlaySpellCardAction
-