public interface SimpleLocatable
Modifier and Type | Method and Description |
---|---|
default void |
clickOnMinimap() |
default int |
distanceTo(SimpleLocatable to)
Distance to object {to}
|
net.runelite.api.coords.WorldPoint |
getLocation()
Position in world of object
|
default boolean |
within(WorldArea area)
If object is inside an area
|
default boolean |
withinRange(SimpleLocatable to,
int range)
If object is within {range} of {to}
|
net.runelite.api.coords.WorldPoint getLocation()
default boolean within(WorldArea area)
area
- - area to checkdefault boolean withinRange(SimpleLocatable to, int range)
to
- - object to checkrange
- - range to check withindefault int distanceTo(SimpleLocatable to)
to
- - object to check againstdefault void clickOnMinimap()