Class Travel

java.lang.Object
net.botwithus.rs3.game.Travel

@Deprecated(forRemoval=true) public final class Travel extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
This class is deprecated and will be removed in a future release. Use the Movement class instead.
A class that provides methods for traveling to different locations.
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
    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 given Coordinate.
    static boolean
    walkTo(Coordinate coordinate, boolean minimap)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Walks to the specified Coordinate.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • walkTo

      public static boolean walkTo(Coordinate coordinate)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Walks to the given Coordinate.
      Parameters:
      coordinate - The Coordinate to walk to.
      Returns:
      true if the Coordinate was successfully reached, false otherwise.
    • walkTo

      public static boolean walkTo(Coordinate coordinate, boolean minimap)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Walks to the specified Coordinate.
      Parameters:
      coordinate - The Coordinate to walk to.
      minimap - Whether or not to use the minimap.
      Returns:
      true if the character successfully walked to the specified Coordinate, 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.