Class RoastEvent
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.DiscardEvent
net.demilich.metastone.game.events.RoastEvent
- All Implemented Interfaces:
Serializable,Cloneable,HasCard,Notification
A card was roasted (discarded from the deck).
Roasts cannot be cancelled the same way discards can.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDescription(GameContext context, int playerId) A user-renderable description of what occurred in this notification.Methods inherited from class net.demilich.metastone.game.events.DiscardEvent
isPowerHistoryMethods 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, getGameContext, getSource, getSourcePlayerId, getTarget, getTargetPlayerId, getTargets, 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
-
RoastEvent
-
-
Method Details
-
getDescription
Description copied from interface:NotificationA user-renderable description of what occurred in this notification.- Specified by:
getDescriptionin interfaceNotification- Overrides:
getDescriptionin classDiscardEvent- Parameters:
context- the game contextplayerId- the player ID- Returns:
- a description string
-