java.lang.Object
net.botwithus.rs3.game.hud.interfaces.Interfaces
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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.
-
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
-