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 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.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.static boolean
walkTo
(Coordinate coordinate) Deprecated, for removal: This API element is subject to removal in a future version.Walks to the givenCoordinate
.static boolean
walkTo
(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
- TheCoordinate
to walk to.- Returns:
true
if theCoordinate
was successfully reached,false
otherwise.
-
walkTo
Deprecated, for removal: This API element is subject to removal in a future version.Walks to the specifiedCoordinate
.- Parameters:
coordinate
- TheCoordinate
to walk to.minimap
- Whether or not to use the minimap.- Returns:
true
if the character successfully walked to the specifiedCoordinate
,false
otherwise.
-
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.
-
Movement
class instead.