core
Class Game

java.lang.Object
  extended by core.Game

public class Game
extends java.lang.Object

Game Contains basic methods for running a game in wormwood. Most notably, includes the essential prompt() and executeCommand() methods.


Constructor Summary
Game(java.lang.String VERSION)
          Instantiates a new game.
 
Method Summary
static boolean isAlive()
           
static void kill()
          Shuts down the game.
 void prompt()
          The prompt gets user input from the keyboard.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Game

public Game(java.lang.String VERSION)
Instantiates a new game.

Parameters:
VERSION - the version
Method Detail

isAlive

public static boolean isAlive()
Returns:
Whether or not the game has been shut down.

kill

public static void kill()
Shuts down the game.


prompt

public void prompt()
The prompt gets user input from the keyboard. The input is then executed.