Package games.stendhal.common

Examples of games.stendhal.common.FeatureList


  public void convertOldfeaturesList(final Player player) {
    if (player.has("features")) {
      logger.info("Converting features for " + player.getName() + ": "
          + player.get("features"));

      final FeatureList features = new FeatureList();
      features.decode(player.get("features"));

      for (final String name : features) {
        player.setFeature(name, features.get(name));
      }

      player.remove("features");
    }
  }
View Full Code Here

TOP

Related Classes of games.stendhal.common.FeatureList

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.