From: <aki...@us...> - 2008-08-21 22:07:12
|
Revision: 4970 http://gridarta.svn.sourceforge.net/gridarta/?rev=4970&view=rev Author: akirschbaum Date: 2008-08-21 22:07:18 +0000 (Thu, 21 Aug 2008) Log Message: ----------- Remove empty classes Spells. Modified Paths: -------------- trunk/daimonin/src/daieditor/CMainControl.java trunk/src/app/net/sf/gridarta/spells/Spells.java Removed Paths: ------------- trunk/crossfire/src/cfeditor/spells/Spells.java trunk/daimonin/src/daieditor/spells/Spells.java Deleted: trunk/crossfire/src/cfeditor/spells/Spells.java =================================================================== --- trunk/crossfire/src/cfeditor/spells/Spells.java 2008-08-21 22:03:05 UTC (rev 4969) +++ trunk/crossfire/src/cfeditor/spells/Spells.java 2008-08-21 22:07:18 UTC (rev 4970) @@ -1,34 +0,0 @@ -/* - * Gridarta MMORPG map editor for Crossfire, Daimonin and similar games. - * Copyright (C) 2000-2007 The Gridarta Developers. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ - -package cfeditor.spells; - -import cfeditor.gameobject.Archetype; -import cfeditor.gameobject.GameObject; -import cfeditor.map.MapArchObject; -import net.sf.gridarta.spells.GameObjectSpell; - -/** - * This class manages the spells and spell lists. - * @author <a href="mailto:ch...@ri...">Christian Hujer</a> - * @todo move spell related stuff from CFArchTypeList to this class. - */ -public final class Spells extends net.sf.gridarta.spells.Spells<GameObjectSpell<GameObject, MapArchObject, Archetype>> { - -} // class Spells Modified: trunk/daimonin/src/daieditor/CMainControl.java =================================================================== --- trunk/daimonin/src/daieditor/CMainControl.java 2008-08-21 22:03:05 UTC (rev 4969) +++ trunk/daimonin/src/daieditor/CMainControl.java 2008-08-21 22:07:18 UTC (rev 4970) @@ -39,7 +39,6 @@ import daieditor.map.validation.checks.ExitChecker; import daieditor.map.validation.checks.SlayingChecker; import daieditor.map.validation.checks.TilePathsChecker; -import net.sf.gridarta.spells.SpellsUtils; import java.awt.Point; import java.io.BufferedReader; import java.io.File; @@ -111,6 +110,9 @@ import net.sf.gridarta.map.validation.checks.SysObjectNotOnLayerZeroChecker; import net.sf.gridarta.map.validation.checks.UndefinedArchetypeChecker; import net.sf.gridarta.map.validation.checks.UnsetSlayingChecker; +import net.sf.gridarta.spells.NumberSpell; +import net.sf.gridarta.spells.Spells; +import net.sf.gridarta.spells.SpellsUtils; import net.sf.gridarta.spells.XMLSpellLoader; import net.sf.gridarta.textedit.scripteditor.ScriptEditControlInstance; import net.sf.gridarta.treasurelist.CFTreasureListTree; @@ -175,7 +177,7 @@ private int alphaType; /** The Spells. */ - private final daieditor.spells.Spells numberSpells = new daieditor.spells.Spells(); + private final Spells<NumberSpell> numberSpells = new Spells<NumberSpell>(); /** Whether to display double arches like stacked walls in stacked version. */ private boolean drawDouble; Deleted: trunk/daimonin/src/daieditor/spells/Spells.java =================================================================== --- trunk/daimonin/src/daieditor/spells/Spells.java 2008-08-21 22:03:05 UTC (rev 4969) +++ trunk/daimonin/src/daieditor/spells/Spells.java 2008-08-21 22:07:18 UTC (rev 4970) @@ -1,31 +0,0 @@ -/* - * Gridarta MMORPG map editor for Crossfire, Daimonin and similar games. - * Copyright (C) 2000-2007 The Gridarta Developers. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ - -package daieditor.spells; - -import net.sf.gridarta.spells.NumberSpell; - -/** - * This class manages the spells and spell lists. - * @author <a href="mailto:ch...@ri...">Christian Hujer</a> - * @todo move spell related stuff from CFArchTypeList to this class. - */ -public final class Spells extends net.sf.gridarta.spells.Spells<NumberSpell> { - -} // class Spells Modified: trunk/src/app/net/sf/gridarta/spells/Spells.java =================================================================== --- trunk/src/app/net/sf/gridarta/spells/Spells.java 2008-08-21 22:03:05 UTC (rev 4969) +++ trunk/src/app/net/sf/gridarta/spells/Spells.java 2008-08-21 22:07:18 UTC (rev 4970) @@ -29,6 +29,7 @@ /** * Common base class for spells and spell lists. * @author <a href="mailto:ch...@ri...">Christian Hujer</a> + * @todo move spell related stuff from CFArchTypeList to this class. */ public class Spells<S extends Spell> implements Iterable<S> { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |