Package rs.kreme.ksbot.api.hooks
Class Teleporter
- java.lang.Object
-
- rs.kreme.ksbot.api.hooks.Teleporter
-
public class Teleporter extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Teleporter()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
isOpen()
Checks if the teleporter interface is open.void
lastTeleport()
Deprecated.void
open()
Opens the teleporter interface if it is not already open.void
teleport(java.lang.String categoryName, java.lang.String teleportName)
Teleports to the specified location via the teleporter interface.
-
-
-
Method Detail
-
isOpen
public boolean isOpen()
Checks if the teleporter interface is open.- Returns:
- true if the teleporter widget is usable (open), false otherwise.
-
open
public void open()
Opens the teleporter interface if it is not already open.
-
teleport
public void teleport(java.lang.String categoryName, java.lang.String teleportName)
Teleports to the specified location via the teleporter interface.- Parameters:
category
- the category in the teleporter menu (e.g., "Cities").teleport
- the specific teleport location within the selected category.
-
lastTeleport
@Deprecated public void lastTeleport()
Deprecated.
-
-