|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectassignment6.Naturalist
assignment6.examples.RandomWalkNaturalist
public class RandomWalkNaturalist
Field Summary |
---|
Fields inherited from class assignment6.Naturalist |
---|
COLLECTING_DELAY_FACTOR, MAX_ANIMAL_CAPACITY, TERRAIN_DELAY_FACTOR |
Constructor Summary | |
---|---|
RandomWalkNaturalist()
|
Method Summary | |
---|---|
void |
run()
Called by the simulator to run the naturalist program. |
java.lang.String |
toString()
|
Methods inherited from class assignment6.Naturalist |
---|
collect, dropAll, getExits, getInventory, getLocation, getNodeCount, getRandom, listAnimalsPresent, moveTo, startCollecting, startExploring |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RandomWalkNaturalist()
Method Detail |
---|
public void run()
Naturalist
run
in interface java.lang.Runnable
run
in class Naturalist
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |