From: Stefan F. <ste...@us...> - 2010-04-09 17:49:39
|
Update of /cvsroot/rails/18xx/rails/game In directory sfp-cvsdas-4.v30.ch3.sourceforge.com:/tmp/cvs-serv26622/rails/game Modified Files: MapHex.java Log Message: Updated Lay Tile and Token Hints Index: MapHex.java =================================================================== RCS file: /cvsroot/rails/18xx/rails/game/MapHex.java,v retrieving revision 1.40 retrieving revision 1.41 diff -C2 -d -r1.40 -r1.41 *** MapHex.java 28 Mar 2010 17:05:55 -0000 1.40 --- MapHex.java 9 Apr 2010 17:49:31 -0000 1.41 *************** *** 939,942 **** --- 939,947 ---- } + public boolean isUpgradeableNow(PhaseI currentPhase) { + return (isUpgradeableNow() & !this.getCurrentTile().getValidUpgrades(this, + currentPhase).isEmpty()); + } + public boolean hasOffBoardValues() { return offBoardValues != null && offBoardValues.length > 0; |