Class NPCCollisionEvent


public class NPCCollisionEvent extends NPCEvent
  • Constructor Details

    • NPCCollisionEvent

      public NPCCollisionEvent(NPC npc, Entity entity)
  • Method Details

    • getCollidedWith

      public Entity getCollidedWith()
      Returns the Entity that collided with the NPC.
      Returns:
      The collided entity
    • getHandlers

      public HandlerList getHandlers()
      Specified by:
      getHandlers in class Event
    • getHandlerList

      public static HandlerList getHandlerList()