Class PlayMinionCardAction

All Implemented Interfaces:
Serializable, Cloneable, OpenerOverridable, Notification

public final class PlayMinionCardAction extends PlayCardAction implements OpenerOverridable
An action representing the playing of a minion card.

The GameAction.getTargetReference() refers to the minion to whose left the minion should be summoned (like inserting an element into an array). If null, the index passed to the summon function will be -1, which indicates to summon the minion in the rightmost slot.

Like other PlayCardAction actions, this action is typically rolled out by ActionLogic.rollout(GameAction, GameContext, Player, Collection).

Typically, the battlecry is resolved in this action. The PlayMinionCardAction(net.demilich.metastone.game.targeting.EntityReference) will retrieve the battlecry that appears once the minion is summoned. Choose one minion cards override the battlecry using PlayMinionCardAction(EntityReference, OpenerDesc).

See Also: