Revision: 1555
http://rails.svn.sourceforge.net/rails/?rev=1555&view=rev
Author: evos
Date: 2011-05-10 10:25:59 +0000 (Tue, 10 May 2011)
Log Message:
-----------
Added stub startPacketChecks() to allow cleaning up in subclasses (for 1880)
Modified Paths:
--------------
trunk/18xx/rails/game/StartRound.java
Modified: trunk/18xx/rails/game/StartRound.java
===================================================================
--- trunk/18xx/rails/game/StartRound.java 2011-05-08 19:52:44 UTC (rev 1554)
+++ trunk/18xx/rails/game/StartRound.java 2011-05-10 10:25:59 UTC (rev 1555)
@@ -136,6 +136,8 @@
DisplayBuffer.add(LocalText.getText("UnexpectedAction",
action.toString()));
}
+
+ startPacketChecks();
if (startPacket.areAllSold()) {
/*
@@ -148,8 +150,11 @@
return result;
}
+ /** Stub to allow start packets cleanups in subclasses */
+ protected void startPacketChecks() {
+ return;
+ }
-
/*----- Processing player actions -----*/
/**
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|