Map

public class Map

Represents a mapped area from some source position. This can be used to check if positions are reachable from the source position, generate paths, and get the path distance.

See also

org.tribot.script.sdk.walking.LocalWalking

LocalWalking#createMap(Positionable)

Types

MapBuilder
Link copied to clipboard
public class MapBuilder

Functions

builder
Link copied to clipboard
static LocalWalking.Map.MapBuilder builder()
canReach
Link copied to clipboard
boolean canReach(Positionable position)
Checks if the specified position is reachable from the source position
getDistance
Link copied to clipboard
int getDistance(Positionable position)
Gets the path distance to the specified position
getPath
Link copied to clipboard
List<PositionablegetPath(Positionable position)
Generates a path to the position.