Class Traverse
- java.lang.Object
-
- com.osrsbots.orb.api.interactables.world.Traverse
-
public class Traverse extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTraverse.Option
-
Field Summary
Fields Modifier and Type Field Description static java.util.concurrent.atomic.AtomicBooleandrawPathstatic intGROUPING_TELEPORT_BUTTON_IDstatic intMAX_STEP_DISstatic intMIN_STEP_DISstatic intVIEWPORT_WALK_DIS_PREF
-
Constructor Summary
Constructors Constructor Description Traverse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static @Nullable PathbuildPathTo(net.runelite.api.coords.WorldPoint pos)static @Nullable PathbuildPathTo(net.runelite.api.coords.WorldPoint pos, @Nullable java.util.List<Traverse.Option> options)static net.runelite.api.coords.WorldPointgetPointFromWorldMap(net.runelite.api.Point point)static @Nullable java.util.List<net.runelite.api.coords.WorldPoint>getTargetPath()static @Nullable TransportgetTargetTransport()static booleanhasPath()static booleanhasUsedDoorOrGate()static booleanhasUsedElevator()static booleanhasUsedTeleport()static booleanhasUsedTransport()voidinitStepSeeds()static booleanisUsingElevator()static booleanisUsingTeleport()static booleanisUsingTransport()static booleanpathHasTransport()static voidreset()static voidsetPath(Path path, net.runelite.api.coords.WorldPoint to)static @Nullable java.lang.Booleanto(net.runelite.api.coords.WorldArea area)static @Nullable java.lang.Booleanto(net.runelite.api.coords.WorldArea area, @Nullable Traverse.Option... options)static @Nullable java.lang.Booleanto(net.runelite.api.coords.WorldPoint to)static @Nullable java.lang.Booleanto(net.runelite.api.coords.WorldPoint to, @Nullable Traverse.Option... options)
-
-
-
Field Detail
-
GROUPING_TELEPORT_BUTTON_ID
public static final int GROUPING_TELEPORT_BUTTON_ID
- See Also:
- Constant Field Values
-
VIEWPORT_WALK_DIS_PREF
public static int VIEWPORT_WALK_DIS_PREF
-
MIN_STEP_DIS
public static int MIN_STEP_DIS
-
MAX_STEP_DIS
public static int MAX_STEP_DIS
-
drawPath
public static final java.util.concurrent.atomic.AtomicBoolean drawPath
-
-
Method Detail
-
initStepSeeds
public void initStepSeeds()
-
getTargetPath
@Nullable public static @Nullable java.util.List<net.runelite.api.coords.WorldPoint> getTargetPath()
-
reset
public static void reset()
-
hasPath
public static boolean hasPath()
-
pathHasTransport
public static boolean pathHasTransport()
-
getTargetTransport
@Nullable public static @Nullable Transport getTargetTransport()
-
isUsingTransport
public static boolean isUsingTransport()
-
isUsingElevator
public static boolean isUsingElevator()
-
isUsingTeleport
public static boolean isUsingTeleport()
-
hasUsedTransport
public static boolean hasUsedTransport()
-
hasUsedTeleport
public static boolean hasUsedTeleport()
-
hasUsedElevator
public static boolean hasUsedElevator()
-
hasUsedDoorOrGate
public static boolean hasUsedDoorOrGate()
-
to
@Nullable public static @Nullable java.lang.Boolean to(@Nonnull net.runelite.api.coords.WorldArea area, @Nullable @Nullable Traverse.Option... options)
-
to
@Nullable public static @Nullable java.lang.Boolean to(@Nonnull net.runelite.api.coords.WorldArea area)
-
to
@Nullable public static @Nullable java.lang.Boolean to(@Nonnull net.runelite.api.coords.WorldPoint to, @Nullable @Nullable Traverse.Option... options)
-
to
@Nullable public static @Nullable java.lang.Boolean to(@Nonnull net.runelite.api.coords.WorldPoint to)
-
setPath
public static void setPath(@Nonnull Path path, @Nonnull net.runelite.api.coords.WorldPoint to)
-
buildPathTo
@Nullable public static @Nullable Path buildPathTo(net.runelite.api.coords.WorldPoint pos)
-
buildPathTo
@Nullable public static @Nullable Path buildPathTo(net.runelite.api.coords.WorldPoint pos, @Nullable @Nullable java.util.List<Traverse.Option> options)
-
getPointFromWorldMap
@Nonnull public static net.runelite.api.coords.WorldPoint getPointFromWorldMap(@Nonnull net.runelite.api.Point point)
-
-