Class WinratePane

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class WinratePane extends LizziePane
The window used to display the game.
See Also:
  • Field Details

    • winRateGridLines

      public int winRateGridLines
  • Constructor Details

    • WinratePane

      public WinratePane(LizzieMain owner)
      Creates a window
  • Method Details

    • clear

      public void clear()
      Clears related status from empty board.
    • paintComponent

      protected void paintComponent(Graphics g0)
      Draws the game board and interface
      Overrides:
      paintComponent in class JComponent
      Parameters:
      g0 - not used
    • onClicked

      public void onClicked(int x, int y)
      Checks whether or not something was clicked and performs the appropriate action
      Parameters:
      x - x coordinate
      y - y coordinate
    • onMouseDragged

      public void onMouseDragged(int x, int y)
    • moveNumber

      public int moveNumber(int x, int y)