Class GameEndEvent

All Implemented Interfaces:
Serializable

public class GameEndEvent extends GameEvent
Instances of this class are sent when the game finished
See Also:
  • Constructor Details

    • GameEndEvent

      public GameEndEvent(Object source)
      Parameters:
      source - event source
  • Method Details

    • fireEvent

      public void fireEvent(GameListener gl)
      Description copied from class: GameEvent
      Sub-classed events implement this method to call their specific method on a GameListener instance that their event has been fired.
      Specified by:
      fireEvent in class GameEvent
      Parameters:
      gl - GameListener recipient.
    • getEventName

      public String getEventName()
      Specified by:
      getEventName in class GameEvent