Package games.stendhal.server.core.config

Examples of games.stendhal.server.core.config.SpellGroupsXMLLoader


  /**
   * builds the spell tables
   */
  private void buildSpellTables() {
    try {
      final SpellGroupsXMLLoader loader = new SpellGroupsXMLLoader(new URI("/data/conf/spells.xml"));
      List<DefaultSpell> loadedDefaultSpells = loader.load();
      for (DefaultSpell defaultSpell : loadedDefaultSpells) {
        addSpell(defaultSpell);
      }
    } catch (Exception e) {
      LOGGER.error("spells.xml could not be loaded", e);
View Full Code Here

TOP

Related Classes of games.stendhal.server.core.config.SpellGroupsXMLLoader

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.