From: Erik V. <ev...@us...> - 2008-12-23 19:57:52
|
Update of /cvsroot/rails/18xx/rails/game In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv27148/rails/game Modified Files: StartItem.java Log Message: Added toString(). Index: StartItem.java =================================================================== RCS file: /cvsroot/rails/18xx/rails/game/StartItem.java,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** StartItem.java 20 Nov 2008 21:49:38 -0000 1.13 --- StartItem.java 23 Dec 2008 19:57:47 -0000 1.14 *************** *** 502,505 **** --- 502,509 ---- && this.type.equals(item.getType()); } + + public String toString() { + return ("StartItem "+name+" status="+statusName[status.intValue()]); + } } |