Update of /cvsroot/rails/18xx/rails/game/action
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv20972/rails/game/action
Modified Files:
LayBonusToken.java PossibleAction.java
Log Message:
Added and improved Info messages.
Index: PossibleAction.java
===================================================================
RCS file: /cvsroot/rails/18xx/rails/game/action/PossibleAction.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** PossibleAction.java 30 Oct 2009 21:53:04 -0000 1.14
--- PossibleAction.java 19 Jan 2010 19:54:42 -0000 1.15
***************
*** 83,86 ****
--- 83,91 ----
}
+ /** Default version of an Menu item text. To be overridden where useful. */
+ public String toMenu() {
+ return toString();
+ }
+
private void readObject(ObjectInputStream in) throws IOException,
ClassNotFoundException {
Index: LayBonusToken.java
===================================================================
RCS file: /cvsroot/rails/18xx/rails/game/action/LayBonusToken.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** LayBonusToken.java 30 Oct 2009 21:53:04 -0000 1.7
--- LayBonusToken.java 19 Jan 2010 19:54:38 -0000 1.8
***************
*** 35,38 ****
--- 35,43 ----
}
+ public void finishConfiguration (GameManagerI gameManager)
+ throws ConfigurationException {
+ token.prepareForRemoval(gameManager.getPhaseManager());
+ }
+
public BonusToken getToken() {
return token;
|