|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--de.uni_paderborn.robots.robot.group10.Move12s
This robot is used for testing only.
This robot waits 12 seconds before returning MoveAction!
| Field Summary | |
CardData |
c1
for testing only => illegalArgument |
CardData |
c2
for testing only |
CardData[] |
set
for testing only |
int[] |
table
for testing only => nullpointer |
| Constructor Summary | |
Move12s()
|
|
| Method Summary | |
boolean |
exchangeOk(CardData myCard,
CardData otherCard)
always returns true |
CardData |
exchangeProposal(CardData[] cards)
robot never returnes a proposal |
AbstractRobotAction |
getCommand(RobotData robotData)
returns MoveAction after 12 seconds |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
public int[] table
public CardData c1
public CardData c2
public CardData[] set
| Constructor Detail |
public Move12s()
| Method Detail |
public AbstractRobotAction getCommand(RobotData robotData)
getCommand in interface RobotFunctionsde.uni_paderborn.robots.robotArenaInterface.RobotFunctionsrobotData - current status of the robotpublic CardData exchangeProposal(CardData[] cards)
exchangeProposal in interface RobotFunctionsde.uni_paderborn.robots.robotArenaInterface.RobotFunctionscards - set of cards the robot owns
public boolean exchangeOk(CardData myCard,
CardData otherCard)
exchangeOk in interface RobotFunctionsde.uni_paderborn.robots.robotArenaInterface.RobotFunctionsmyCard - card the robot wants to give awayotherCard - card the robot wants to have
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||