Class SelectPuzzleScreen

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class SelectPuzzleScreen extends Screen
The screen that allows the user to select a puzzle to play.
See Also:
  • Field Details

    • DEFAULT_LEVELS

      public static final PuzzleLevelDTO[] DEFAULT_LEVELS
    • DEFAULT_USER_LEVEL_PROGRESS

      public static final UserPuzzleDTO[] DEFAULT_USER_LEVEL_PROGRESS
  • Constructor Details

    • SelectPuzzleScreen

      public SelectPuzzleScreen()
  • Method Details

    • populateComponents

      protected void populateComponents(Container contentPane, SpringLayout layout)
      Description copied from class: Screen
      Populates the components of the screen.
      Specified by:
      populateComponents in class Screen
      Parameters:
      contentPane - The content pane of the screen (this)
      layout - The layout of the screen.
    • onShow

      public void onShow()
      Description copied from class: Screen
      Called when the screen is made visible
      Overrides:
      onShow in class Screen
    • setLevels

      public void setLevels(PuzzleLevelDTO[] levels)
    • setCompletedLevels

      public void setCompletedLevels(Set<Integer> completedLevels)
    • hasPopulatedLevelsYet

      public boolean hasPopulatedLevelsYet()