|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectassignment6.Simulator
public class Simulator
Main class for the naturalist simulator
| Field Summary | |
|---|---|
static int |
BASE_NODE_MOVE_COST
Cost for one move while not carrying anything. |
static int |
COLLECTION_COMPLETION_BONUS
Bonus for collecting all animals |
static int |
NODE_EXPLORATION_SCORE
Points awarded for entering an unexplored node |
static int |
PER_ANIMAL_NODE_MOVE_COST
Additional cost per animal carried for moving. |
static int |
SPECIES_COLLECTION_POINTS
Points awarded for dropping an animal at the ship |
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] argsArray)
Entry point for the simulation. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int NODE_EXPLORATION_SCORE
public static final int BASE_NODE_MOVE_COST
public static final int PER_ANIMAL_NODE_MOVE_COST
public static final int COLLECTION_COMPLETION_BONUS
public static final int SPECIES_COLLECTION_POINTS
| Method Detail |
|---|
public static void main(java.lang.String[] argsArray)
throws java.io.IOException
argsArray -
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||