Class ReceiveLastCardSpell
java.lang.Object
net.demilich.metastone.game.spells.Spell
net.demilich.metastone.game.spells.ReceiveCardSpell
net.demilich.metastone.game.spells.ReceiveLastCardSpell
- All Implemented Interfaces:
Serializable,HasDesc<SpellDesc>
Retrieves the last card from the filtered list of cards specified by
SpellArg.CARD_SOURCE and SpellArg.CARD_FILTER.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CardgetAndRemoveCard(GameContext context, List<Card> cards) Methods inherited from class net.demilich.metastone.game.spells.ReceiveCardSpell
create, create, create, create, create, create, onCastMethods inherited from class net.demilich.metastone.game.spells.Spell
cast, castForPlayer, checkArguments, getDesc, isNativeStateful, setDesc, toString
-
Constructor Details
-
ReceiveLastCardSpell
public ReceiveLastCardSpell()
-
-
Method Details
-
getAndRemoveCard
- Overrides:
getAndRemoveCardin classReceiveCardSpell
-