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
logger
Fields 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 TypeMethodDescriptionboolean
canBeExecutedOn
(GameContext context, Player player, Entity entity) clone()
Methods inherited from class net.demilich.metastone.game.actions.PlaySpellCardAction
getDescription, getSpell, innerExecute, setSpell
Methods inherited from class net.demilich.metastone.game.actions.PlayCardAction
execute, getSource, getTargets
Methods 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:
canBeExecutedOn
in classPlayCardAction
-
getSourceReference
- Overrides:
getSourceReference
in classGameAction
-
clone
- Overrides:
clone
in classPlaySpellCardAction
-