From: Erik V. <ev...@us...> - 2009-10-07 19:00:51
|
Update of /cvsroot/rails/18xx/rails/game/state In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv9081/rails/game/state Modified Files: State.java Log Message: Created basic mechanism to allow more games running in parallel at the server side (which itself will not be implemented anytime soon). NDC is used to assign a key to each GameManager. GameManager.getInstance() uses this to find the correct instance. Using this static method to find the GM from anywhere is now 'blessed'. MoveStack added. MoveSet uses the above to have a separate stack per game. Index: State.java =================================================================== RCS file: /cvsroot/rails/18xx/rails/game/state/State.java,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** State.java 25 Sep 2009 19:13:01 -0000 1.11 --- State.java 7 Oct 2009 19:00:37 -0000 1.12 *************** *** 67,71 **** public void setState(Object object) { this.object = object; ! // log.debug (getClassName() + " "+name+" set to "+object); update(); } --- 67,71 ---- public void setState(Object object) { this.object = object; ! //log.debug (getClassName() + " "+name+" set to "+object); update(); } |