Class MarketManagerNPC

All Implemented Interfaces:
Killer, Cloneable, Iterable<String>, Serializable

public final class MarketManagerNPC extends SpeakerNPC
  • Method Details

    • createPath

      protected void createPath()
      Description copied from class: PassiveNPC
      Create path for the NPC. Sub classes can implement this method.
      Overrides:
      createPath in class PassiveNPC
    • onGoodbye

      protected void onGoodbye(RPEntity player)
      Description copied from class: SpeakerNPC
      Is called when the NPC stops chatting with a player. Override it if needed.
      Overrides:
      onGoodbye in class SpeakerNPC
      Parameters:
      player - who has been talked to.
    • createDialog

      protected void createDialog()
      Overrides:
      createDialog in class SpeakerNPC
    • getOfferMap

      public Map<String,​Offer> getOfferMap()