Class NpcVertex
- java.lang.Object
-
- com.runemate.game.api.hybrid.web.vertex.npcs.NpcVertex
-
- Direct Known Subclasses:
BasicNpcVertex
public abstract class NpcVertex extends java.lang.Object implements Vertex
-
-
Constructor Summary
Constructors Constructor Description NpcVertex(Coordinate position, java.util.regex.Pattern action, NpcQueryBuilder builder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable Npc
getNpc()
@Nullable Coordinate
getPosition()
The exact coordinate position of this entity on the world-graphScanResult
scan(java.util.Map<java.lang.String,java.lang.Object> cache)
java.lang.String
toString()
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.runemate.game.api.hybrid.entities.details.Locatable
distanceTo, distanceTo, getLocalPosition
-
Methods inherited from interface com.runemate.game.api.hybrid.web.vertex.Vertex
getArea, getHighPrecisionPosition, step
-
-
-
-
Constructor Detail
-
NpcVertex
public NpcVertex(Coordinate position, java.util.regex.Pattern action, NpcQueryBuilder builder)
-
-
Method Detail
-
getPosition
@Nullable public @Nullable Coordinate getPosition()
Description copied from interface:Locatable
The exact coordinate position of this entity on the world-graph- Specified by:
getPosition
in interfaceLocatable
- Returns:
- The coordinate position, or null if unavailable
-
scan
public ScanResult scan(java.util.Map<java.lang.String,java.lang.Object> cache)
-
getNpc
@Nullable public @Nullable Npc getNpc()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-