[Megameknet-cvs] MegaMekNET/src/common/visitor XMLSaveVisitor.java,1.10,1.11 XMLLoadVisitor.java,1.7
Status: Inactive
Brought to you by:
mcwizard
From: Immanuel S. <im...@us...> - 2005-04-09 09:47:58
|
Update of /cvsroot/megameknet/MegaMekNET/src/common/visitor In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5552/src/common/visitor Modified Files: XMLSaveVisitor.java XMLLoadVisitor.java Log Message: Cyclops changes and some minor corrections to the xml loading Index: XMLSaveVisitor.java =================================================================== RCS file: /cvsroot/megameknet/MegaMekNET/src/common/visitor/XMLSaveVisitor.java,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** XMLSaveVisitor.java 26 Mar 2005 17:44:27 -0000 1.10 --- XMLSaveVisitor.java 9 Apr 2005 09:47:45 -0000 1.11 *************** *** 322,326 **** public Object visitPlayer(Player data) { Element e = start("player", data, Player.class); - attr(e, "id", data.getId()); attr(e, "name", data.getName()); attr(e, "money", data.getMoney()); --- 322,325 ---- Index: XMLLoadVisitor.java =================================================================== RCS file: /cvsroot/megameknet/MegaMekNET/src/common/visitor/XMLLoadVisitor.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** XMLLoadVisitor.java 26 Mar 2005 17:44:27 -0000 1.7 --- XMLLoadVisitor.java 9 Apr 2005 09:47:45 -0000 1.8 *************** *** 384,388 **** public Object visitPlayer(Player data) { - data.setId(toInt("id", e)); data.setName(toString("name", e)); data.setMoney(toInt("money", e)); --- 384,387 ---- |