From: Erik V. <ev...@us...> - 2008-12-23 19:59:16
|
Update of /cvsroot/rails/18xx/rails/game/specific/_18EU In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv27252/rails/game/specific/_18EU Modified Files: StartRound_18EU.java Log Message: Apply new round initialisation logic Index: StartRound_18EU.java =================================================================== RCS file: /cvsroot/rails/18xx/rails/game/specific/_18EU/StartRound_18EU.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** StartRound_18EU.java 30 Jun 2008 20:35:30 -0000 1.4 --- StartRound_18EU.java 23 Dec 2008 19:59:06 -0000 1.5 *************** *** 4,18 **** import java.util.List; ! import rails.game.Bank; ! import rails.game.DisplayBuffer; ! import rails.game.Player; ! import rails.game.PublicCertificateI; ! import rails.game.ReportBuffer; ! import rails.game.StartItem; ! import rails.game.StartPacket; ! import rails.game.StartRound; ! import rails.game.action.BidStartItem; ! import rails.game.action.BuyStartItem; ! import rails.game.action.NullAction; import rails.game.move.MoveSet; import rails.game.state.IntegerState; --- 4,9 ---- import java.util.List; ! import rails.game.*; ! import rails.game.action.*; import rails.game.move.MoveSet; import rails.game.state.IntegerState; *************** *** 45,50 **** * Constructor, only to be used in dynamic instantiation. */ ! public StartRound_18EU() { ! super(); hasBidding = true; hasBasePrices = false; --- 36,41 ---- * Constructor, only to be used in dynamic instantiation. */ ! public StartRound_18EU(GameManagerI gameManager) { ! super(gameManager); hasBidding = true; hasBasePrices = false; *************** *** 53,62 **** /** * Start the 18EU-style start round. ! * * @param startPacket The startpacket to be sold in this start round. */ @Override ! public void start(StartPacket startPacket) { ! super.start(startPacket); setStep(SELECT_STEP); --- 44,53 ---- /** * Start the 18EU-style start round. ! * * @param startPacket The startpacket to be sold in this start round. */ @Override ! public void start() { ! super.start(); setStep(SELECT_STEP); *************** *** 68,72 **** * Get a list of items that may be bought immediately. <p> In an 1835-style * auction this method will usually return several items. ! * * @return An array of start items that can be bought. */ --- 59,63 ---- * Get a list of items that may be bought immediately. <p> In an 1835-style * auction this method will usually return several items. ! * * @return An array of start items that can be bought. */ *************** *** 180,184 **** /** * The current player bids on a given start item. ! * * @param playerName The name of the current player (for checking purposes). * @param itemName The name of the start item on which the bid is placed. --- 171,175 ---- /** * The current player bids on a given start item. ! * * @param playerName The name of the current player (for checking purposes). * @param itemName The name of the start item on which the bid is placed. *************** *** 298,302 **** /** * Process a player's pass. ! * * @param playerName The name of the current player (for checking purposes). */ --- 289,293 ---- /** * Process a player's pass. ! * * @param playerName The name of the current player (for checking purposes). */ |