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.
eventTargetis the original target that was returnedeventSourceis 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
getSourceCardMethods inherited from class net.demilich.metastone.game.events.BasicGameEvent
getEventType, isClientInterestedMethods inherited from class net.demilich.metastone.game.events.GameEvent
clone, getDescription, getGameContext, getSource, getSourcePlayerId, getTarget, getTargetPlayerId, getTargets, isPowerHistory, toStringMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.demilich.metastone.game.events.Notification
getSource
-
Constructor Details
-
ReturnToHandEvent
-