Class Viewport

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

public class Viewport extends JPanel implements ActionListener
This class displays the maze, and all the entities active in the current level such as the player, free tiles, walls, keys, locked doors, treasures, locked exit, and exit.
Author:
Diana
See Also:
  • Constructor Details

    • Viewport

      public Viewport()
      Initialises a new maze upon the loading of a level.
  • Method Details