Class MenuScoreBoardOverlayView

java.lang.Object
view.overlays.menuOverlays.MenuOverlayView
view.overlays.menuOverlays.MenuScoreBoardOverlayView

public class MenuScoreBoardOverlayView extends MenuOverlayView
The MenuScoreBoardOverlayView class represents the overlay view of the MenuScoreBoardOverlayModel class. It handles drawing the title, command, and user information on the screen.
  • Constructor Details

    • MenuScoreBoardOverlayView

      public MenuScoreBoardOverlayView(MenuScoreBoardOverlayModel menuScoreBoardOverlayModel)
      Constructs a MenuScoreBoardOverlayView with the specified MenuScoreBoardOverlayModel.
      Parameters:
      menuScoreBoardOverlayModel - the model of the scoreboard overlay
  • Method Details

    • draw

      public void draw(Graphics g)
      Draws the scoreboard overlay on the screen.
      Specified by:
      draw in class MenuOverlayView
      Parameters:
      g - the Graphics object to draw with