Class MenuBar

All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, MenuElement

public class MenuBar extends JMenuBar implements ActionListener
The menu bar handler for ParkourWarrior

This class manages the menu bar system of this game, which allows the user to call specific functions on the game via the menu bar instead of the buttons

Since:
1.4
See Also:
  • Constructor Details

    • MenuBar

      public MenuBar(ParkourMain parkourMain)
      The constructor of this class which creates the reference to the main instance and initializes the menu bar with available options.
      Parameters:
      parkourMain - The reference of main game instance
  • Method Details