|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectknockabout.Player
knockabout.RandomPlayer
Field Summary |
Fields inherited from class knockabout.Player |
BLACK, DRAW, NOCOLOR, YELLOW |
Constructor Summary | |
RandomPlayer()
|
Method Summary | |
Move |
chooseMove(Board board)
|
Methods inherited from class knockabout.Player |
getMyColor, getMyName, opponentColor, setMyColor, setMyName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RandomPlayer()
Method Detail |
public Move chooseMove(Board board)
chooseMove
in class Player
board
- The current board position
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |