|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--uk.org.redfelineninja.risk.robot.Robot | +--uk.org.redfelineninja.risk.robot.RandomRobot
This is currently a random legal mover.
Constructor Summary | |
RandomRobot()
|
Method Summary | |
Move |
bestMove(int mode)
Return a random move. |
static void |
main(java.lang.String[] args)
|
Methods inherited from class uk.org.redfelineninja.risk.robot.Robot |
getIdentity, main, setGame, setPlayer, setServer |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RandomRobot()
Method Detail |
public Move bestMove(int mode)
bestMove
in class Robot
public static void main(java.lang.String[] args)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |