|
|||||||||
| 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.Robot
This robot is used for testing only.
This robot throws exceptions!
| 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 | |
Robot()
|
|
| Method Summary | |
boolean |
exchangeOk(CardData myCard,
CardData otherCard)
throws exception |
CardData |
exchangeProposal(CardData[] cards)
throws exception |
AbstractRobotAction |
getCommand(RobotData robotData)
throws exception |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
public int[] table
public CardData c1
public CardData c2
public CardData[] set
| Constructor Detail |
public Robot()
| 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 | ||||||||