Class MissileFired
java.lang.Object
net.demilich.metastone.game.events.GameEvent
net.demilich.metastone.game.events.BasicGameEvent
net.demilich.metastone.game.events.MissileFired
- All Implemented Interfaces:
Serializable
,Cloneable
,Notification
An effect causes a missile to be fired.
This is typically rendered with a delay in the client.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMissileFired
(@NotNull GameContext context, int playerId, Entity source, List<Entity> targets) -
Method Summary
Modifier and TypeMethodDescriptiongetTargets
(GameContext context, int player) For visualization purposes, what are the targets of this notification?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, 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
-
MissileFired
public MissileFired(@NotNull @NotNull GameContext context, int playerId, Entity source, List<Entity> targets)
-
-
Method Details
-
getTargets
Description copied from interface:Notification
For visualization purposes, what are the targets of this notification?- Specified by:
getTargets
in interfaceNotification
- Overrides:
getTargets
in classGameEvent
- Parameters:
context
- game contextplayer
- the player- Returns:
- A reference to the entity that is the visualizable target of this notification.
-