Class MainFrame

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class MainFrame extends JFrame
Main JFrame of the application.
See Also:
  • Constructor Details

    • MainFrame

      public MainFrame()
      Creates a MainFrame instance, setting the icons (taskbar and window ones) and different panes (glass pane for the menu, glass pane for GamePanel and MusicPlayer).
  • Method Details

    • getGamePanel

      public GamePanel getGamePanel()
      Gets game panel.
      Returns:
      the game panel
    • getGameMenu

      public GameMenu getGameMenu()
      Gets game menu.
      Returns:
      the game menu
    • getMusicPlayer

      public MusicPlayer getMusicPlayer()
      Gets music player.
      Returns:
      the music player