Class Interfaces

java.lang.Object
net.botwithus.rs3.game.hud.interfaces.Interfaces

public final class Interfaces extends Object
  • Method Details

    • isOpen

      public static boolean isOpen(int interfaceId)
      Checks if the specified interface is open.
      Parameters:
      interfaceId - the interface Id to check
      Returns:
      true if the interface is open, false otherwise
    • isTargetModeActive

      public static boolean isTargetModeActive()
    • dragComponents

      public static boolean dragComponents(Component from, Component to)
    • areAnyOpen

      public static boolean areAnyOpen(int... interfaceIds)
      Checks whether any of the specified interfaces are opened.
      Parameters:
      interfaceIds - the interface ids to check against
      Returns:
      true if any of the interfaces are open, false otherwise
    • areAllOpen

      public static boolean areAllOpen(int... interfaceIds)
      Checks whether all the specified interfaces are opened.
      Parameters:
      interfaceIds - the interface ids to check against
      Returns:
      true if all the interfaces are open, false otherwise