|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--de.uni_paderborn.robots.robot.group9.AbstractStrategy
|
+--de.uni_paderborn.robots.robot.group9.ExitStrategy
one of the different strategy classes, the robot takes the shortest way to the exit
| Field Summary | |
(package private) int |
card
the card weight |
(package private) int |
exit
the exit weight |
private Map |
map
The map this strategy uses. |
static java.lang.String |
NAME
|
private Map.ShortestPath |
shortestPath
This field stores the shortestPath this strategy uses between the game rounds |
| Fields inherited from class de.uni_paderborn.robots.robot.group9.AbstractStrategy |
cardWeight, currentRobot, exitWeight, lar, name |
| Constructor Summary | |
ExitStrategy(LAR robot)
|
|
| Method Summary | |
AbstractAction |
getCommand()
getCommand method |
| Methods inherited from class de.uni_paderborn.robots.robot.group9.AbstractStrategy |
getCardWeight, getCurrentRobot, getExitWeight, getLar, getName, removeYou, setCardWeight, setCurrentRobot, setExitWeight, setLar, setName |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
int card
int exit
public static final java.lang.String NAME
private Map.ShortestPath shortestPath
private Map map
| Constructor Detail |
public ExitStrategy(LAR robot)
| Method Detail |
public AbstractAction getCommand()
getCommand in class AbstractStrategy
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||