Class BuyerAdder
java.lang.Object
games.stendhal.server.entity.npc.behaviour.adder.BuyerAdder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddBuyer(SpeakerNPC npc, BuyerBehaviour buyerBehaviour) Configures an NPC to buy items.voidaddBuyer(SpeakerNPC npc, BuyerBehaviour buyerBehaviour, boolean offer) Configures an NPC to buy items.
-
Constructor Details
-
BuyerAdder
public BuyerAdder()
-
-
Method Details
-
addBuyer
Configures an NPC to buy items.- Parameters:
npc- The NPC that buys.buyerBehavior- TheBuyerBehaviour.
-
addBuyer
Configures an NPC to buy items.- Parameters:
npc- The NPC that buys.buyerBehavior- TheBuyerBehaviour.offer- Iftrue, adds reply to "offer".
-