Class FatigueEvent

All Implemented Interfaces:
Serializable, Cloneable, HasValue, Notification

public final class FatigueEvent extends ValueEvent
An attempt to draw from an empty deck occurred and the drawing player took damage.

The Hero is the target.

See Also:
  • Constructor Details

    • FatigueEvent

      public FatigueEvent(GameContext context, int targetPlayerId, int amount)
  • Method Details

    • getDescription

      public String getDescription(GameContext context, int playerId)
      Description copied from interface: Notification
      A user-renderable description of what occurred in this notification.
      Specified by:
      getDescription in interface Notification
      Overrides:
      getDescription in class GameEvent
      Parameters:
      context - the game context
      playerId - the player ID
      Returns:
      a description string