Class Interfaces

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

public final class Interfaces extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    areAllOpen(int... interfaceIds)
    Checks whether all the specified interfaces are opened.
    static boolean
    areAnyOpen(int... interfaceIds)
    Checks whether any of the specified interfaces are opened.
    static boolean
    isOpen(int interfaceId)
    Checks if the specified interface is open.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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
    • 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