Update of /cvsroot/rails/18xx/rails/game/move
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv16145/rails/game/move
Modified Files:
MoveStack.java
Log Message:
Added getIndex (for debugging)
Index: MoveStack.java
===================================================================
RCS file: /cvsroot/rails/18xx/rails/game/move/MoveStack.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** MoveStack.java 26 Nov 2009 20:14:30 -0000 1.2
--- MoveStack.java 22 Jan 2010 21:28:06 -0000 1.3
***************
*** 154,157 ****
--- 154,161 ----
return currentMoveSet != null;
}
+
+ public int getIndex() {
+ return lastIndex + 1;
+ }
}
|