Package games.stendhal.server.entity.npc.behaviour.impl.prices

Examples of games.stendhal.server.entity.npc.behaviour.impl.prices.FixedPricePriceCalculationStrategy


    this(new HashMap<String, Integer>());
  }

  public MerchantBehaviour(final Map<String, Integer> priceList) {
    super(priceList.keySet());
    priceCalculator = new FixedPricePriceCalculationStrategy(priceList);
    for (final String itemName : priceList.keySet()) {
      WordList.getInstance().registerName(itemName, ExpressionType.OBJECT);
    }
  }
View Full Code Here

TOP

Related Classes of games.stendhal.server.entity.npc.behaviour.impl.prices.FixedPricePriceCalculationStrategy

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.