Class Interaction


  • public class Interaction
    extends java.lang.Object
    The type Interaction.
    • Constructor Summary

      Constructors 
      Constructor Description
      Interaction()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.awt.Point centerPointIn​(@NotNull java.awt.Rectangle bounds)
      Center point in bounds.
      static @Nullable java.lang.String getOptionAvailable()
      Gets option available.
      static java.awt.Point randomPointIn​(@NotNull java.awt.Rectangle bounds)
      Random point in bounds.
      static java.awt.Point randomPointIn​(java.awt.Shape clickbox)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Interaction

        public Interaction()
    • 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)