Class PuzzleButton

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class PuzzleButton extends JPanel
A button that represents a puzzle. Used in the puzzle selection screen.
See Also:
  • Constructor Details

  • Method Details

    • getPuzzleLevelDTO

      public PuzzleLevelDTO getPuzzleLevelDTO()
      Returns:
      The level data that this button represents.
    • setCompleted

      public void setCompleted(boolean completed)
    • paint

      public void paint(Graphics g)
      Overrides:
      paint in class JComponent