[Megameknet-cvs] MegaMekNET/src/common/visitor XMLLoadVisitor.java,1.9,1.10
Status: Inactive
Brought to you by:
mcwizard
From: Helge R. <mcw...@us...> - 2005-05-07 16:42:50
|
Update of /cvsroot/megameknet/MegaMekNET/src/common/visitor In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv995/src/common/visitor Modified Files: XMLLoadVisitor.java Log Message: Made client capable of supporting latest megamek. One small thing is still missing.. Index: XMLLoadVisitor.java =================================================================== RCS file: /cvsroot/megameknet/MegaMekNET/src/common/visitor/XMLLoadVisitor.java,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** XMLLoadVisitor.java 9 Apr 2005 12:56:38 -0000 1.9 --- XMLLoadVisitor.java 7 May 2005 16:42:40 -0000 1.10 *************** *** 26,30 **** import java.util.Map; import java.util.StringTokenizer; ! import megamek.common.options.GameOption; import org.jdom.Attribute; import org.jdom.Element; --- 26,30 ---- import java.util.Map; import java.util.StringTokenizer; ! import megamek.common.options.IOption; import org.jdom.Attribute; import org.jdom.Element; *************** *** 415,419 **** Map options = new HashMap(); ! for (Iterator it = toVisitorable("gameOption", e, GameOption.class).iterator(); it.hasNext();) { PlayerOption po = (PlayerOption)it.next(); options.put(po.getDescription(), po); --- 415,419 ---- Map options = new HashMap(); ! for (Iterator it = toVisitorable("gameOption", e, IOption.class).iterator(); it.hasNext();) { PlayerOption po = (PlayerOption)it.next(); options.put(po.getDescription(), po); |