Class FatigueEvent
java.lang.Object
net.demilich.metastone.game.events.GameEvent
net.demilich.metastone.game.events.BasicGameEvent
net.demilich.metastone.game.events.ValueEvent
net.demilich.metastone.game.events.FatigueEvent
- All Implemented Interfaces:
Serializable
,Cloneable
,HasValue
,Notification
An attempt to draw from an empty deck occurred and the drawing player took damage.
The Hero
is the target.
- 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.ValueEvent
getValue
Methods inherited from class net.demilich.metastone.game.events.BasicGameEvent
getEventType, isClientInterested
Methods inherited from class net.demilich.metastone.game.events.GameEvent
clone, 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
-
FatigueEvent
-
-
Method Details
-
getDescription
Description copied from interface:Notification
A user-renderable description of what occurred in this notification.- Specified by:
getDescription
in interfaceNotification
- Overrides:
getDescription
in classGameEvent
- Parameters:
context
- the game contextplayerId
- the player ID- Returns:
- a description string
-