rails.game.move
Class MoveSet

java.lang.Object
  extended by 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)
           
 
Method Summary
protected static void add(Move move)
           
protected  void addMove(Move move)
           
protected  boolean isEmpty()
           
protected  boolean isLinkedToPreviousMove()
           
protected  boolean isUndoableByPlayer()
           
 void linkToPreviousMoveSet()
           
protected  void reexecute()
           
protected  void unexecute()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.apache.log4j.Logger log
Constructor Detail

MoveSet

protected MoveSet(boolean undoableByPlayer)
Method Detail

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)