Package rs.kreme.ksbot.api.hooks
Class Teleporter
- java.lang.Object
-
- rs.kreme.ksbot.api.hooks.Teleporter
-
public class Teleporter extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Teleporter.Category
static class
Teleporter.Subcategory
-
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()
void
open()
Opens the teleporter interface if it is not already open.void
teleport(Teleporter.Category category, java.lang.String teleport)
Deprecated.void
teleport(Teleporter.Category category, java.lang.String teleport, Teleporter.Subcategory subcategory)
Deprecated.
-
-
-
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
@Deprecated public void teleport(Teleporter.Category category, java.lang.String teleport)
Deprecated.
-
teleport
@Deprecated public void teleport(Teleporter.Category category, java.lang.String teleport, Teleporter.Subcategory subcategory)
Deprecated.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.subcategory
- the specific subcategory location within the selected category.
-
lastTeleport
public void lastTeleport()
-
-