|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcore.Game
public class Game
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 |
---|
public Game(java.lang.String VERSION)
VERSION
- the versionMethod Detail |
---|
public static boolean isAlive()
public static void kill()
public void prompt()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |