Class LogPanel

All Implemented Interfaces:
GameListener, RoundListener, TurnListener, ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible

public class LogPanel extends InnerPanel implements ActionListener, GameListener, RoundListener, TurnListener
This class is a GUI component of the Game. It is the log panel (InnerPanel).
Author:
Belegkarnil
See Also:
  • Constructor Details

    • LogPanel

      public LogPanel()
  • Method Details

    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Specified by:
      actionPerformed in interface ActionListener
    • onGameBegins

      public void onGameBegins(GameEvent ge)
      Description copied from interface: GameListener
      Invoked when a game begins.
      Specified by:
      onGameBegins in interface GameListener
      Parameters:
      ge - The event that contains all information about the current game
    • onGameEnds

      public void onGameEnds(GameEvent ge)
      Description copied from interface: GameListener
      Invoked when a game ends.
      Specified by:
      onGameEnds in interface GameListener
      Parameters:
      ge - The event that contains all information about the current game
    • onRoundBegins

      public void onRoundBegins(RoundEvent re)
      Description copied from interface: RoundListener
      Invoked when a round begins.
      Specified by:
      onRoundBegins in interface RoundListener
      Parameters:
      re - The event that contains all information about the current round
    • onRoundEnds

      public void onRoundEnds(RoundEvent re)
      Description copied from interface: RoundListener
      Invoked when a round ends.
      Specified by:
      onRoundEnds in interface RoundListener
      Parameters:
      re - The event that contains all information about the current round
    • onTurnBegins

      public void onTurnBegins(TurnEvent te)
      Description copied from interface: TurnListener
      Invoked when a turn begins.
      Specified by:
      onTurnBegins in interface TurnListener
      Parameters:
      te - The event that contains all information about the current turn
    • onTurnEnds

      public void onTurnEnds(TurnEvent te)
      Description copied from interface: TurnListener
      Invoked when a turn ends.
      Specified by:
      onTurnEnds in interface TurnListener
      Parameters:
      te - The event that contains all information about the current turn