C F G H M P Q R S W

C

Command - Class in <Unnamed>
Type of any valid command of the game.
Command() - Constructor for class Command
 
commands() - Method in class Parser
Returns a list of valid commands.

F

finished() - Method in class Game
Return whether the game has finished or not.

G

Game - Class in <Unnamed>
This class is the central class of the "World of Zuul" application.
Game() - Constructor for class Game
Create the game and initialise its internal map.
GameMain - Class in <Unnamed>
This class is the main class of the "World of Zuul" application.
GameMain() - Constructor for class GameMain
Initialise.
getCommand() - Method in class Parser
 
getCommands() - Method in class GameMain
Tell player available commands.
getExit(String) - Method in class Room
Return the room that is reached if we go from this room in direction "direction".
getHelp() - Method in class GameMain
Tell player how to obtain help.
getLongDescription() - Method in class Room
Return a description of the room in the form: You are in the kitchen.
getShortDescription() - Method in class Room
 
Go - Class in <Unnamed>
This is the Go command of the game.
Go(String) - Constructor for class Go
Initialise the direction.
goRoom(String) - Method in class Game
Try to go in one direction.

H

help() - Method in class Game
Give some help information.
Help - Class in <Unnamed>
The help command of the game.
Help() - Constructor for class Help
 
help() - Method in class Parser
Returns name of help command.

M

main(String[]) - Static method in class GameMain
Main method; used if the game is standalone, outside BlueJ.

P

Parser - Class in <Unnamed>
This class is part of the "World of Zuul" application.
Parser() - Constructor for class Parser
Create a parser to read from the terminal window.
play() - Method in class GameMain
Main play routine.
process(GameMain, Game) - Method in class Command
Process, that is, execute the command in the game.
process(GameMain, Game) - Method in class Go
Go in the given direction.
process(GameMain, Game) - Method in class Help
Return help information.
process(GameMain, Game) - Method in class Quit
Just tells the game to quit.

Q

quit() - Method in class Game
Execute quit command.
Quit - Class in <Unnamed>
The Quit command of the game.
Quit() - Constructor for class Quit
 

R

Room - Class in <Unnamed>
Class Room - a room in an adventure game.
Room(String) - Constructor for class Room
Create a room described "description".

S

sane() - Method in class Room
Class invariant: getShortDescription() and getLongDescription() don't return null.
setExit(String, Room) - Method in class Room
Define an exit from this room.

W

welcome() - Method in class Game
Opening message for the player.

C F G H M P Q R S W