Package com.runemate.game.events.common
Class InterfaceCloser
- java.lang.Object
-
- com.runemate.game.events.GameEventHandler
-
- com.runemate.game.events.common.InterfaceCloser
-
- All Implemented Interfaces:
GameEvents.GameEvent
,java.lang.Runnable
- Direct Known Subclasses:
OSRSInterfaceCloser
public abstract class InterfaceCloser extends GameEventHandler
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InterfaceCloser.UnwantedInterface
-
Field Summary
-
Fields inherited from class com.runemate.game.events.GameEventHandler
PRIORITY_HIGH, PRIORITY_LOW, PRIORITY_NORMAL
-
-
Constructor Summary
Constructors Constructor Description InterfaceCloser()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.lang.String
getActivationText()
@NonNull java.util.List<GameEvents.GameEvent>
getChildren(com.runemate.game.api.script.framework.AbstractBot bot)
abstract InterfaceCloser.UnwantedInterface[]
getUnwantedInterfaces()
boolean
isValid()
void
run()
-
Methods inherited from class com.runemate.game.events.GameEventHandler
getAPIEventInstance, getName, getPriority, onStart, toString
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.runemate.game.api.hybrid.GameEvents.GameEvent
areTrayNotificationsEnabled, areTrayNotificationsEnabled, disable, disable, disableTrayNotifications, disableTrayNotifications, enable, enable, enableTrayNotifications, enableTrayNotifications, getChild, getChild, getChildren, isEnabled, isEnabled
-
-
-
-
Method Detail
-
isValid
public boolean isValid()
- Specified by:
isValid
in classGameEventHandler
-
run
public void run()
-
getActivationText
public java.lang.String getActivationText()
- Overrides:
getActivationText
in classGameEventHandler
-
getChildren
@NonNull public @NonNull java.util.List<GameEvents.GameEvent> getChildren(com.runemate.game.api.script.framework.AbstractBot bot)
-
getUnwantedInterfaces
public abstract InterfaceCloser.UnwantedInterface[] getUnwantedInterfaces()
-
-