Class TeleportVertex
- java.lang.Object
-
- com.runemate.game.api.hybrid.web.vertex.TeleportVertex
-
- Direct Known Subclasses:
ItemTeleportVertex
,SpellTeleportVertex
public abstract class TeleportVertex extends java.lang.Object implements Vertex
-
-
Constructor Summary
Constructors Constructor Description TeleportVertex(@NonNull Coordinate position)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Area.Rectangular
getArea()
The coordinate area occupied on the world-graphCoordinate.HighPrecision
getHighPrecisionPosition()
The exact coordinate position of this entity on the region-graph (accurate to hundreds of units per tile)@NonNull 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
-
-
-
-
Constructor Detail
-
TeleportVertex
public TeleportVertex(@NonNull @NonNull Coordinate position)
-
-
Method Detail
-
getPosition
@NonNull public @NonNull 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
-
getHighPrecisionPosition
@Nullable public Coordinate.HighPrecision getHighPrecisionPosition()
Description copied from interface:Locatable
The exact coordinate position of this entity on the region-graph (accurate to hundreds of units per tile)- Specified by:
getHighPrecisionPosition
in interfaceLocatable
- Specified by:
getHighPrecisionPosition
in interfaceVertex
-
getArea
@Nullable public Area.Rectangular getArea()
Description copied from interface:Locatable
The coordinate area occupied on the world-graph
-
scan
public ScanResult scan(java.util.Map<java.lang.String,java.lang.Object> cache)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-