Class TargetAcquisitionEvent
java.lang.Object
net.demilich.metastone.game.events.GameEvent
net.demilich.metastone.game.events.BasicGameEvent
net.demilich.metastone.game.events.TargetAcquisitionEvent
- All Implemented Interfaces:
Serializable,Cloneable,Notification
A target will be acquired for the specified game action.
Gives an opportunity to override the target or cancel target acquisition.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTargetAcquisitionEvent(GameContext context, GameAction sourceAction, Entity source, Entity target) -
Method Summary
Modifier and TypeMethodDescriptioncom.hiddenswitch.spellsource.rpc.Spellsource.ActionTypeMessage.ActionTypeMethods 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
-
TargetAcquisitionEvent
public TargetAcquisitionEvent(GameContext context, GameAction sourceAction, Entity source, Entity target)
-
-
Method Details
-
getActionType
public com.hiddenswitch.spellsource.rpc.Spellsource.ActionTypeMessage.ActionType getActionType() -
getAction
-