Package com.osrsbots.orb.api.interact
Class Interaction
- java.lang.Object
-
- com.osrsbots.orb.api.interact.Interaction
-
public class Interaction extends java.lang.ObjectThe type Interaction.
-
-
Constructor Summary
Constructors Constructor Description Interaction()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.awt.PointcenterPointIn(@NotNull java.awt.Rectangle bounds)Center point in bounds.static @Nullable java.lang.StringgetOptionAvailable()Gets option available.static java.awt.PointrandomPointIn(@NotNull java.awt.Rectangle bounds)Random point in bounds.static java.awt.PointrandomPointIn(java.awt.Shape clickbox)
-
-
-
Method Detail
-
randomPointIn
@Nonnull public static java.awt.Point randomPointIn(@NotNull @NotNull java.awt.Rectangle bounds)Random point in bounds.- Parameters:
bounds- Target- Returns:
- Random java.awt.Point within target bounds
-
centerPointIn
@Nonnull public static java.awt.Point centerPointIn(@NotNull @NotNull java.awt.Rectangle bounds)Center point in bounds.- Parameters:
bounds- Target- Returns:
- Center java.awt.Point within target bounds
-
getOptionAvailable
@Nullable public static @Nullable java.lang.String getOptionAvailable()
Gets option available.- Returns:
- the current MenuAction option available, Eg; Cancel
- See Also:
- RuneLite - MenuAction
-
randomPointIn
public static java.awt.Point randomPointIn(@Nonnull java.awt.Shape clickbox)
-
-