Class GameMain

java.lang.Object
  extended by GameMain

public class GameMain
extends Object

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.

Version:
28/2/2015
Author:
Michael Kölling, David J. Barnes and Olaf Chitil

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

GameMain

public GameMain()
Initialise.

Method Detail

getCommands

public String getCommands()
Tell player available commands.


getHelp

public String getHelp()
Tell player how to obtain help.


main

public static void main(String[] args)
Main method; used if the game is standalone, outside BlueJ.


play

public void play()
Main play routine. Loops until end of play.