From: Mark J S. <kr...@us...> - 2008-12-04 01:03:43
|
Update of /cvsroot/rails/18xx/rails/game In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv6580/18xx/rails/game Modified Files: TreasuryShareRound.java Log Message: Added Constructors for proper initializing Index: TreasuryShareRound.java =================================================================== RCS file: /cvsroot/rails/18xx/rails/game/TreasuryShareRound.java,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** TreasuryShareRound.java 2 Dec 2008 20:29:15 -0000 1.9 --- TreasuryShareRound.java 4 Dec 2008 01:03:40 -0000 1.10 *************** *** 30,39 **** private final BooleanState hasSold; ! public TreasuryShareRound(GameManager gameManager, ! PublicCompanyI operatingCompany) { ! ! this.gameManager = gameManager; ! this.companyManager = gameManager.getCompanyManager(); ! this.operatingCompany = operatingCompany; sellingPlayer = operatingCompany.getPresident(); --- 30,44 ---- private final BooleanState hasSold; ! /** ! * Constructor with the GameManager, will call super class (StockRound's) Constructor to initialize, and ! * and other parameters used by the Treasury Share Round Class ! * ! * @param aGameManager The GameManager Object needed to initialize the StockRound Class ! * @param operatingCompany The PublicCompanyI Object that is selling shares ! * ! */ ! public TreasuryShareRound(GameManager aGameManager, ! PublicCompanyI operatingCompany) { ! super (aGameManager); this.operatingCompany = operatingCompany; sellingPlayer = operatingCompany.getPresident(); |