Class CardAddedToDeckEvent
java.lang.Object
net.demilich.metastone.game.events.GameEvent
net.demilich.metastone.game.events.BasicGameEvent
net.demilich.metastone.game.events.CardEvent
net.demilich.metastone.game.events.CardAddedToDeckEvent
- All Implemented Interfaces:
Serializable
,Cloneable
,HasCard
,Notification
A card was inserted or shuffled into the deck, including "extra copies."
Some effects quietly add cards to the deck and do not fire this event, like ResetDeckSpell
.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCardAddedToDeckEvent
(GameContext context, int targetPlayerId, int sourcePlayerId, Card card) -
Method Summary
Methods inherited from class net.demilich.metastone.game.events.CardEvent
getSourceCard
Methods inherited from class net.demilich.metastone.game.events.BasicGameEvent
getEventType, isClientInterested
Methods inherited from class net.demilich.metastone.game.events.GameEvent
clone, getDescription, getGameContext, getSource, getSourcePlayerId, getTarget, getTargetPlayerId, getTargets, isPowerHistory, toString
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.demilich.metastone.game.events.Notification
getSource
-
Constructor Details
-
CardAddedToDeckEvent
-