Class GameEngine

java.lang.Object
  |
  +--GameEngine

public class GameEngine
extends java.lang.Object

This class is part of the "World of Zuul" application. "World of Zuul" is a very simple, text based adventure game. This class creates all rooms, creates the parser and starts the game. It also evaluates and executes the commands that the parser returns.

Version:
1.0 (Jan 2003)
Author:
Michael Kolling and David J. Barnes

Constructor Summary
GameEngine()
          Constructor for objects of class GameEngine
 
Method Summary
 void interpretCommand(java.lang.String commandLine)
          Given a command, process (that is: execute) the command.
 void setGUI(UserInterface userInterface)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GameEngine

public GameEngine()
Constructor for objects of class GameEngine
Method Detail

interpretCommand

public void interpretCommand(java.lang.String commandLine)
Given a command, process (that is: execute) the command. If this command ends the game, true is returned, otherwise false is returned.

setGUI

public void setGUI(UserInterface userInterface)


Generated by BlueJ