Class AssassinRepairerAdder.AssassinRepairer

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

public class AssassinRepairerAdder.AssassinRepairer extends SpeakerNPC
  • Constructor Details

  • Method Details

    • onGoodbye

      public void onGoodbye(RPEntity attending)
      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:
      attending - who has been talked to.
    • getNumberOfRepairables

      public int getNumberOfRepairables()
      Retrieves number of item types that can be repaired by this NPC.
      Returns:
      Number of repairable item types.
    • getFirstRepairable

      public String getFirstRepairable()
      Retrieves the first item name from repair list.
      Returns:
      First item.