java.lang.Object
net.botwithus.rs3.game.Travel
Deprecated, for removal: This API element is subject to removal in a future version.
A class that provides methods for traveling to different locations.
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanwalkTo(int x, int y) Deprecated, for removal: This API element is subject to removal in a future version.Walks to the specified coordinates.static booleanwalkTo(int x, int y, boolean minimap) Deprecated, for removal: This API element is subject to removal in a future version.Walks to the specified coordinates.static booleanwalkTo(Coordinate coordinate) Deprecated, for removal: This API element is subject to removal in a future version.Walks to the givenCoordinate.static booleanwalkTo(Coordinate coordinate, boolean minimap) Deprecated, for removal: This API element is subject to removal in a future version.Walks to the specifiedCoordinate.
-
Method Details
-
walkTo
Deprecated, for removal: This API element is subject to removal in a future version.Walks to the givenCoordinate.- Parameters:
coordinate- TheCoordinateto walk to.- Returns:
trueif theCoordinatewas successfully reached,falseotherwise.
-
walkTo
Deprecated, for removal: This API element is subject to removal in a future version.Walks to the specifiedCoordinate.- Parameters:
coordinate- TheCoordinateto walk to.minimap- Whether or not to use the minimap.- Returns:
trueif the character successfully walked to the specifiedCoordinate,falseotherwise.
-
walkTo
public static boolean walkTo(int x, int y) Deprecated, for removal: This API element is subject to removal in a future version.Walks to the specified coordinates.- Parameters:
x- The x coordinate to walk to.y- The y coordinate to walk to.- Returns:
- true if the coordinates were reached, false otherwise.
-
walkTo
public static boolean walkTo(int x, int y, boolean minimap) Deprecated, for removal: This API element is subject to removal in a future version.Walks to the specified coordinates.- Parameters:
x- The x coordinate to walk to.y- The y coordinate to walk to.minimap- Whether or not to use the minimap to walk.- Returns:
- Whether or not the action was successful.
-
Movementclass instead.