Class DestroyWillQueue
java.lang.Object
net.demilich.metastone.game.events.DestroyWillQueue
- All Implemented Interfaces:
Serializable,Notification
Actors will be destroyed.
Specifies if an aftermath will be fired, and which one, based on the associated enchantments.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDescription(GameContext context, int playerId) A user-renderable description of what occurred in this notification.For visualization purposes, what is the source of this notification?getTargets(GameContext context, int player) For visualization purposes, what are the targets of this notification?booleanShould this notification be sent to the client?booleanWhen true, indicates to processors of this notification that it belongs in the power history.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.demilich.metastone.game.events.Notification
getSource
-
Constructor Details
-
DestroyWillQueue
-
-
Method Details
-
getSource
Description copied from interface:NotificationFor visualization purposes, what is the source of this notification?- Specified by:
getSourcein interfaceNotification- Returns:
- A reference to the entity that is the visualizable source of this notification.
-
getTargets
Description copied from interface:NotificationFor visualization purposes, what are the targets of this notification?- Specified by:
getTargetsin interfaceNotification- Parameters:
context- game contextplayer- the player- Returns:
- A reference to the entity that is the visualizable target of this notification.
-
isPowerHistory
public boolean isPowerHistory()Description copied from interface:NotificationWhen true, indicates to processors of this notification that it belongs in the power history.- Specified by:
isPowerHistoryin interfaceNotification- Returns:
trueif this notification should be stored in the power history of the game where it occurred.
-
getDescription
Description copied from interface:NotificationA user-renderable description of what occurred in this notification.- Specified by:
getDescriptionin interfaceNotification- Parameters:
context- the game contextplayerId- the player ID- Returns:
- a description string
-
isClientInterested
public boolean isClientInterested()Description copied from interface:NotificationShould this notification be sent to the client?- Specified by:
isClientInterestedin interfaceNotification- Returns:
falseby default.
-
getDestroys
-