Class VariationTreePane

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

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

    • VariationTreePane

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

    • 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