rails.game.move
Class MoveSet
java.lang.Object
rails.game.move.MoveSet
public class MoveSet
- extends java.lang.Object
- Author:
- Erik Vos
Field Summary |
protected static org.apache.log4j.Logger |
log
|
Constructor Summary |
protected |
MoveSet(boolean undoableByPlayer)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static org.apache.log4j.Logger log
MoveSet
protected MoveSet(boolean undoableByPlayer)
addMove
protected void addMove(Move move)
reexecute
protected void reexecute()
unexecute
protected void unexecute()
isEmpty
protected boolean isEmpty()
linkToPreviousMoveSet
public void linkToPreviousMoveSet()
isLinkedToPreviousMove
protected boolean isLinkedToPreviousMove()
isUndoableByPlayer
protected boolean isUndoableByPlayer()
add
protected static void add(Move move)