Class ReturnToHandEvent
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.ReturnToHandEvent
- All Implemented Interfaces:
Serializable
,Cloneable
,HasCard
,Notification
Encapsulates the information related to returning a target to the hand.
eventTarget
is the original target that was returnedeventSource
is the card entity that is now inside the player's hand. When this event is raised, sub-spells have already been cast on it.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionReturnToHandEvent
(GameContext context, int playerId, Card card, Entity originalTarget) -
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
-
ReturnToHandEvent
-