From: Erik V. <ev...@us...> - 2009-10-07 19:00:46
|
Update of /cvsroot/rails/18xx/rails/game/specific/_18AL In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv9081/rails/game/specific/_18AL Modified Files: OperatingRound_18AL.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: OperatingRound_18AL.java =================================================================== RCS file: /cvsroot/rails/18xx/rails/game/specific/_18AL/OperatingRound_18AL.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** OperatingRound_18AL.java 25 Sep 2009 19:13:01 -0000 1.6 --- OperatingRound_18AL.java 7 Oct 2009 19:00:38 -0000 1.7 *************** *** 8,12 **** import rails.game.action.PossibleAction; import rails.game.move.CashMove; - import rails.game.move.MoveSet; import rails.util.LocalText; --- 8,11 ---- *************** *** 57,61 **** } ! MoveSet.start(true); for (int i = 0; i < trains.size(); i++) { --- 56,60 ---- } ! moveStack.start(true); for (int i = 0; i < trains.size(); i++) { |