Hemisson
Tjerk Kostelijk & Anne Schuth
<-- BACK TO CLASSES

Class Explore

java.lang.Object
  extended byExplore

public class Explore
extends java.lang.Object

Explores an unknown world Node by Node and returns a known world


Field Summary
static int MAXIMUM_WORLD_SIZE
           
 
Constructor Summary
Explore()
           
 
Method Summary
static Node getNext(Node nPrevious, NodeList nWorld)
          Returns the Next node, based on the current and the world
static NodeList run()
          The main method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAXIMUM_WORLD_SIZE

public static final int MAXIMUM_WORLD_SIZE
See Also:
Constant Field Values
Constructor Detail

Explore

public Explore()
Method Detail

run

public static NodeList run()
The main method.

Returns:
A NodeList with Nodes forming the path the explored world

getNext

public static Node getNext(Node nPrevious,
                           NodeList nWorld)
Returns the Next node, based on the current and the world


Hemisson
Tjerk Kostelijk & Anne Schuth
<-- BACK TO CLASSES