Class PredefinedPath
- java.lang.Object
-
- com.runemate.game.api.hybrid.location.navigation.Path
-
- com.runemate.game.api.hybrid.location.navigation.basic.CoordinatePath
-
- com.runemate.game.api.hybrid.location.navigation.basic.PredefinedPath
-
- All Implemented Interfaces:
Renderable
public final class PredefinedPath extends CoordinatePath
A predefined list of coordinates to take steps on (the direct equivalent to the "TilePath" class of some other APIs)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.runemate.game.api.hybrid.location.navigation.Path
Path.TraversalOption
-
-
Field Summary
-
Fields inherited from class com.runemate.game.api.hybrid.location.navigation.Path
DEFAULT_TRAVERSAL_OPTIONS
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PredefinedPath
create(@NonNull Coordinate... coordinates)
static PredefinedPath
create(@NonNull java.util.List<Coordinate> coordinates)
java.util.List<Coordinate>
getVertices()
Gets a list of the vertices in this path-
Methods inherited from class com.runemate.game.api.hybrid.location.navigation.basic.CoordinatePath
getMaxMinimapStepDistance, getMaxStepDistance, getMaxViewportStepDistance, getNext, getNext, reverse, setMaxMinimapStepDistance, setMaxStepDistance, setMaxViewportStepDistance, setStepDeviation, step
-
-
-
-
Method Detail
-
create
public static PredefinedPath create(@NonNull @NonNull Coordinate... coordinates)
-
create
public static PredefinedPath create(@NonNull @NonNull java.util.List<Coordinate> coordinates)
-
getVertices
public java.util.List<Coordinate> getVertices()
Description copied from class:Path
Gets a list of the vertices in this path- Specified by:
getVertices
in classCoordinatePath
- Returns:
- A List
-
-