Class ActorNPC

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

public class ActorNPC extends NPC
Simple entity used in spectacles. Can walk around and say monologues, but cannot speak with players.
Author:
yoriy
  • Constructor Details

    • ActorNPC

      public ActorNPC(boolean attackable)
      Create a new ActorNPC.
      Parameters:
      attackable - true if the entity can be attacked, otherwise false
  • Method Details

    • isAttackable

      public boolean isAttackable()
      Description copied from class: NPC
      Returns true if this RPEntity is attackable.
      Overrides:
      isAttackable in class NPC
      Returns:
      true if this RPEntity is attackable.