Package rs.kreme.ksbot.api.hooks
Class Teleporter
- java.lang.Object
-
- rs.kreme.ksbot.api.hooks.Teleporter
-
public final class Teleporter extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Teleporter(KSContext ctx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isOpen()
Checks if the teleporter panel is open and visible.void
lastTeleport()
boolean
open()
boolean
teleport(java.lang.String option)
-
-
-
Constructor Detail
-
Teleporter
public Teleporter(KSContext ctx)
-
-
Method Detail
-
open
public boolean open()
- Returns:
- true if the teleporter appears open after the attempt
-
isOpen
public boolean isOpen()
Checks if the teleporter panel is open and visible.- Returns:
- true if the title widget is usable and contains "Ferox Teleporter"
-
lastTeleport
public void lastTeleport()
-
teleport
public boolean teleport(java.lang.String option)
-
-