Class CameraAdjustingPath
- java.lang.Object
-
- com.runemate.game.api.hybrid.location.navigation.Path
-
- com.runemate.game.api.hybrid.location.navigation.basic.CameraAdjustingPath
-
- All Implemented Interfaces:
Renderable
public class CameraAdjustingPath extends Path
TODO deprecate
-
-
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 CameraAdjustingPath
convert(Path path)
Converts the provided Path into a CameraAdjustingPathLocatable
getNext()
Locatable
getNext(boolean preferViewportTraversal)
java.util.List<? extends Locatable>
getVertices()
Gets a list of the vertices in this pathboolean
step(@NonNull Path.TraversalOption... traversalOptions)
-
-
-
Method Detail
-
convert
@Nullable public static CameraAdjustingPath convert(Path path)
Converts the provided Path into a CameraAdjustingPath- Parameters:
path
- a preferably non-null Path- Returns:
- A CameraAdjustingPath as long as path is not null
-
getVertices
public java.util.List<? extends Locatable> getVertices()
Description copied from class:Path
Gets a list of the vertices in this path- Specified by:
getVertices
in classPath
- Returns:
- A List
-
getNext
public Locatable getNext()
-
getNext
public Locatable getNext(boolean preferViewportTraversal)
-
step
public boolean step(@NonNull @NonNull Path.TraversalOption... traversalOptions)
-
-