Update of /cvsroot/rails/18xx/rails/game
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv5762/rails/game
Modified Files:
PublicCompany.java
Log Message:
Moved creating home and destination info text to allow including the city name
Index: PublicCompany.java
===================================================================
RCS file: /cvsroot/rails/18xx/rails/game/PublicCompany.java,v
retrieving revision 1.82
retrieving revision 1.83
diff -C2 -d -r1.82 -r1.83
*** PublicCompany.java 4 Feb 2010 21:27:58 -0000 1.82
--- PublicCompany.java 5 Feb 2010 19:56:32 -0000 1.83
***************
*** 294,298 ****
homeHexName = homeBaseTag.getAttributeAsString("hex");
homeCityNumber = homeBaseTag.getAttributeAsInteger("city", 1);
- infoText += "<br>Home=" + homeHexName;
}
--- 294,297 ----
***************
*** 300,304 ****
if (destinationTag != null) {
destinationHexName = destinationTag.getAttributeAsString("hex");
- infoText += " Destination="+destinationHexName;
}
--- 299,302 ----
***************
*** 683,686 ****
--- 681,685 ----
+ " for company " + name);
}
+ infoText += "<br>Home: " + homeHex.getInfo();
}
***************
*** 694,697 ****
--- 693,697 ----
+ " for company " + name);
}
+ infoText += "<br>Destination: "+destinationHex.getInfo();
}
|