From: Martin F. <mar...@us...> - 2008-03-09 18:44:27
|
Update of /cvsroot/arianne/stendhal/src/games/stendhal/server/entity/spell In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv30282/src/games/stendhal/server/entity/spell Modified Files: Spell.java Log Message: code formating Index: Spell.java =================================================================== RCS file: /cvsroot/arianne/stendhal/src/games/stendhal/server/entity/spell/Spell.java,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** Spell.java 20 Jan 2008 16:58:35 -0000 1.18 --- Spell.java 9 Mar 2008 18:44:29 -0000 1.19 *************** *** 45,54 **** RPClass entity = new RPClass("spell"); entity.isA("entity"); - entity.addAttribute("class", Type.STRING); // the spell class (other - // purposes, just to code - // old code for now) - entity.addAttribute(ATTR_NAME, Type.STRING); // name of spell (such - // as "heal") } --- 45,54 ---- RPClass entity = new RPClass("spell"); entity.isA("entity"); + // the spell class (other purposes, just to code old code for now) + entity.addAttribute("class", Type.STRING); + + // name of spell (such as "heal") + entity.addAttribute(ATTR_NAME, Type.STRING); } |