java.lang.Object
games.stendhal.server.entity.npc.behaviour.adder.BuyerAdder

public class BuyerAdder extends Object
  • Constructor Details

    • BuyerAdder

      public BuyerAdder()
  • Method Details

    • addBuyer

      public void addBuyer(SpeakerNPC npc, BuyerBehaviour buyerBehaviour)
      Configures an NPC to buy items.
      Parameters:
      npc - The NPC that buys.
      buyerBehavior - The BuyerBehaviour.
    • addBuyer

      public void addBuyer(SpeakerNPC npc, BuyerBehaviour buyerBehaviour, boolean offer)
      Configures an NPC to buy items.
      Parameters:
      npc - The NPC that buys.
      buyerBehavior - The BuyerBehaviour.
      offer - If true, adds reply to "offer".