Class NpcSpawned


  • public final class NpcSpawned
    extends java.lang.Object
    An event where an NPC has spawned.
    • Constructor Detail

      • NpcSpawned

        public NpcSpawned​(NPC npc)
    • Method Detail

      • getActor

        public Actor getActor()
      • getNpc

        public NPC getNpc()
        The spawned NPC.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object