Class SecretRevealedEvent

All Implemented Interfaces:
Serializable, Cloneable, HasCard, Notification

public class SecretRevealedEvent extends CardEvent
A secret was revealed.
See Also:
  • Constructor Details

    • SecretRevealedEvent

      public SecretRevealedEvent(GameContext context, Card secret, int playerId)
  • 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