Class MainMenu.RotatingBack

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible
Enclosing class:
MainMenu

protected static class MainMenu.RotatingBack extends JPanel
Custom JPanel that handles the rotating background effect used in the main menu.

The background image scrolls horizontally to create an animated visual effect.

See Also:
  • Constructor Details

    • RotatingBack

      public RotatingBack()
      Creates a new instance of the rotating background panel.

      A timer is started that updates the background position and repaints the panel to create the scrolling effect.

  • Method Details