Class LocalPath
java.lang.Object
com.epicbot.api.shared.model.path.Path
com.epicbot.api.shared.model.path.LocalPath
A path calculated using the current available collision region/scene data.
-
Constructor Summary
ConstructorsConstructorDescriptionLocalPath(Locatable end, double precision, APIContext ctx) Construct a new path.LocalPath(Locatable end, APIContext ctx) Construct a new path.LocalPath(Locatable start, Locatable end, double precision, APIContext ctx) Construct a new path.LocalPath(Locatable start, Locatable end, APIContext ctx) Construct a new path. -
Method Summary
Modifier and TypeMethodDescriptiongetEnd()Gets the end tile of this path.getNext(APIContext ctx) Gets the next available tile in this path.getStart()Gets the start tile of this path.Tile[]getTiles()voidbooleantraverse(APIContext ctx) Takes a step along this path if appropriate.booleantraverse(APIContext ctx, boolean run) Takes a step along this path if appropriate.booleanvalidate(APIContext ctx) Checks whether or not this path can be traversed by the player.Methods inherited from class com.epicbot.api.shared.model.path.Path
enableRun, getPrecision