|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--wworld.WorldApplication
Class responsible for the simulation setup, start, end and command line arguments. Contains the Main() function.
| Constructor Summary | |
WorldApplication()
|
|
| Method Summary | |
static void |
generateRandWorld(int seed,
int size)
Generates a random world when called. |
static void |
main(java.lang.String[] args)
|
void |
makeSocket(int portNumber)
Sets up communication mechanism on the server side. |
void |
printStats()
|
void |
readWorldFromFile(Environment env,
java.io.BufferedReader in)
Reads in the wumpus world from the file. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WorldApplication()
| Method Detail |
public static void main(java.lang.String[] args)
throws java.io.IOException
java.io.IOExceptionpublic void printStats()
public void makeSocket(int portNumber)
public void readWorldFromFile(Environment env,
java.io.BufferedReader in)
public static void generateRandWorld(int seed,
int size)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||