From: Erik V. <ev...@us...> - 2008-11-22 17:23:06
|
Update of /cvsroot/rails/18xx/rails/game In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv27135/rails/game Modified Files: GameManager.java Log Message: Removed dead code Index: GameManager.java =================================================================== RCS file: /cvsroot/rails/18xx/rails/game/GameManager.java,v retrieving revision 1.35 retrieving revision 1.36 diff -C2 -d -r1.35 -r1.36 *** GameManager.java 26 Oct 2008 20:47:37 -0000 1.35 --- GameManager.java 22 Nov 2008 17:22:59 -0000 1.36 *************** *** 55,59 **** protected boolean skipFirstStockRound = false; - //protected boolean companiesCanBuyPrivates = false; protected boolean gameEndsWithBankruptcy = false; protected int gameEndsWhenBankHasLessOrEqual = 0; --- 55,58 ---- *************** *** 543,548 **** // Note: round may have changed! - // log.debug("Calling setPossibleActions for round - // "+getCurrentRound().toString()); possibleActions.clear(); getCurrentRound().setPossibleActions(); --- 542,545 ---- *************** *** 613,618 **** public void finishShareSellingRound() { ! // currentRound = interruptedRound; ! setRound(interruptedRound); ((OperatingRound) getCurrentRound()).resumeTrainBuying(); } --- 610,614 ---- public void finishShareSellingRound() { ! setRound(interruptedRound); ((OperatingRound) getCurrentRound()).resumeTrainBuying(); } *************** *** 816,870 **** } - /* - public static void setCompaniesCanBuyPrivates() { - instance.companiesCanBuyPrivates = true; - } - */ - public String getHelp() { return getCurrentRound().getHelp(); } - /* - public static void setHasAnyParPrice(boolean hasAnyParPrice) { - instance.hasAnyParPrice = hasAnyParPrice; - } - */ - public boolean canAnyCompanyHoldShares() { return canAnyCompanyHoldShares; } - /* - public static void setCanAnyCompanyHoldShares( - boolean canAnyCompanyHoldShares) { - instance.canAnyCompanyHoldShares = canAnyCompanyHoldShares; - } - */ - - /* - public static boolean canAnyCompBuyPrivates() { - return instance.canAnyCompBuyPrivates; - } - */ - - /* - public static void setCanAnyCompBuyPrivates(boolean canAnyCompBuyPrivates) { - instance.canAnyCompanyBuyPrivates = canAnyCompBuyPrivates; - } - */ - - /* - public static boolean doBonusTokensExist() { - return instance.bonusTokensExist; - } - */ - - /* - public static void setBonusTokensExist(boolean bonusTokensExist) { - instance.bonusTokensExist = bonusTokensExist; - } - */ - public String getClassName (Defs.ClassName key) { --- 812,823 ---- |