|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.rice.comp440.driver.TextDriver.TextHumanPlayer
Constructor Summary | |
protected |
TextDriver.TextHumanPlayer()
|
Method Summary | |
void |
lost()
Upcall to indicate that this player has lost the current game |
Move |
move(Backgammon backgammon)
Requests that the player make a move using the given backgammon setup. |
void |
moveDone()
|
void |
won()
Upcall to indicate that this player has won the current game |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
protected TextDriver.TextHumanPlayer()
Method Detail |
public Move move(Backgammon backgammon)
backgammon
- The current backgammon situationpublic void moveDone()
public void won()
public void lost()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |