Class Npc

java.lang.Object
com.valhalla.sdk.api.entities.Npc
All Implemented Interfaces:
Locatable

public final class Npc extends Object implements Locatable
Immutable non-player-character snapshot.
  • Constructor Details

    • Npc

      public Npc(int index, int id, String name, Tile tile)
  • Method Details

    • getIndex

      public int getIndex()
    • getId

      public int getId()
    • getName

      public String getName()
    • getTile

      public Tile getTile()
      Specified by:
      getTile in interface Locatable
    • toString

      public String toString()
      Overrides:
      toString in class Object