From: Mark J S. <kr...@us...> - 2008-12-04 00:54:48
|
Update of /cvsroot/rails/18xx/rails/game In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv6128/18xx/rails/game Modified Files: StockRound.java Log Message: Added Constructors for proper intialization Index: StockRound.java =================================================================== RCS file: /cvsroot/rails/18xx/rails/game/StockRound.java,v retrieving revision 1.32 retrieving revision 1.33 diff -C2 -d -r1.32 -r1.33 *** StockRound.java 20 Nov 2008 21:49:38 -0000 1.32 --- StockRound.java 4 Dec 2008 00:54:43 -0000 1.33 *************** *** 59,62 **** --- 59,80 ---- static protected boolean noSaleIfNotOperated = false; + /** + * Constructor with no parameters, call the super Class (Round's) Constructor with no parameters + * + */ + public StockRound () { + super (); + } + + /** + * Constructor with the GameManager, will call super class (Round's) Constructor to initialize + * + * @param aGameManager The GameManager Object needed to initialize the Round Class + * + */ + public StockRound (GameManager aGameManager) { + super (aGameManager); + } + public void start() { |