|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.webstersmalley.chessweb.model.MoveHistory
public final class MoveHistory
A history of moves.
Constructor Summary | |
---|---|
MoveHistory()
Constructor for the move history. |
Method Summary | |
---|---|
void |
addMove(Move move)
Adds a move to the history. |
java.util.List |
getMoves()
Gets the moves. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MoveHistory()
Method Detail |
---|
public void addMove(Move move)
move
- the move.public java.util.List getMoves()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |