Class ViewportPath
- java.lang.Object
-
- com.runemate.game.api.hybrid.location.navigation.Path
-
- com.runemate.game.api.hybrid.location.navigation.basic.ViewportPath
-
- All Implemented Interfaces:
Renderable
@Deprecated public final class ViewportPath extends Path
Deprecated.Use Path.TraversalOption#PREFER_VIEWPORT insteadWraps around a CoordinatePath such as aRegionPath
or aBresenhamPath
and attempts to walk it via the viewport
-
-
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 Deprecated Methods Modifier and Type Method Description static ViewportPath
convert(CoordinatePath path)
Deprecated.Converts the provided CoordinatePath into a ViewportPathCoordinate
getNext()
Deprecated.Locatable
getNext(boolean preferViewportTraversal)
Deprecated.java.util.List<Coordinate>
getVertices()
Deprecated.Gets a list of the vertices in this pathboolean
step(@NonNull Path.TraversalOption... options)
Deprecated.
-
-
-
Method Detail
-
convert
@Nullable public static ViewportPath convert(CoordinatePath path)
Deprecated.Converts the provided CoordinatePath into a ViewportPath- Parameters:
path
- a preferably non-null CoordinatePath- Returns:
- A ViewportPath as long as path is not null
-
step
public boolean step(@NonNull @NonNull Path.TraversalOption... options)
Deprecated.
-
getVertices
public java.util.List<Coordinate> getVertices()
Deprecated.Description copied from class:Path
Gets a list of the vertices in this path- Specified by:
getVertices
in classPath
- Returns:
- A List
-
getNext
@Nullable public Coordinate getNext()
Deprecated.
-
-