Class ObjectVertex
- java.lang.Object
-
- com.runemate.game.api.hybrid.web.vertex.objects.ObjectVertex
-
- Direct Known Subclasses:
BasicObjectVertex
,MushTreeVertex
,SpiritTreeVertex
public abstract class ObjectVertex extends java.lang.Object implements Vertex
-
-
Constructor Summary
Constructors Constructor Description ObjectVertex(Coordinate position, java.util.regex.Pattern action, GameObjectQueryBuilder builder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable GameObject
getObject()
@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
-
ObjectVertex
public ObjectVertex(Coordinate position, java.util.regex.Pattern action, GameObjectQueryBuilder 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)
-
getObject
@Nullable public @Nullable GameObject getObject()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-