|
Class Summary |
| ActiveItem |
An extension of DungeonItem, an ActiveItem is an abstract base
class for all "active" things in the dungeon - i.e. |
| Collectable |
A Collectable is an item in the dungeon that can be acquired by
the player (or, possibly, by a monster). |
| Display |
The game creates a single instance of the Display class which creates
the java.awt.Frame used to display the dungeion, creates the
MyCanvas object that is the visual content of the frame,
loads the image data, and arranges to listen to keyboard inputs from
the display. |
| DungeonGame |
The main class. |
| DungeonItem |
Abstract base class for all items that may occur in the dungeon. |
| Images |
A static class that is used to map image identification numbers to images
read from file. |
| Map |
Instance of class Map holds the data that represent the "dungeon" and
the current locations of movable items ("treasures", "player", and "monsters")
that are in the dungeon. |
| Monster |
Extends ActiveItem and acts as a base class for all monster classes. |
| MyCanvas |
Standard Canvas class - an instance will occupy a region of the GUI display
window and will link to the underlying data model (in this case the Map
defining the dungeon and its contents). |
| Player |
class Player
An instance of this class acts as the user's "avatar" in the game. |
| Pt |
Simple class defining point coordinate. |