Examples of FixedPricePriceCalculationStrategy


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
Copyright © 2018 www.massapi.com. 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.