|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectGameMain
public class GameMain
This class is the main class of the "World of Zuul" application. It provids a text-based user interface to the "World of Zuul". "World of Zuul" is a very simple, text based adventure game. Users can walk around some scenery. That's all. It should really be extended to make it more interesting! To play this game, create an instance of this class and call the "play" method.
Constructor Summary | |
---|---|
GameMain()
Initialise. |
Method Summary | |
---|---|
String |
getCommands()
Tell player available commands. |
String |
getHelp()
Tell player how to obtain help. |
static void |
main(String[] args)
Main method; used if the game is standalone, outside BlueJ. |
void |
play()
Main play routine. |
Methods inherited from class |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GameMain()
Method Detail |
---|
public String getCommands()
public String getHelp()
public static void main(String[] args)
public void play()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |