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.ActionType
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
-
TargetAcquisitionEvent
public TargetAcquisitionEvent(GameContext context, GameAction sourceAction, Entity source, Entity target)
-
-
Method Details
-
getActionType
public com.hiddenswitch.spellsource.rpc.Spellsource.ActionTypeMessage.ActionType getActionType() -
getAction
-