Class Teleporter


  • public class Teleporter
    extends java.lang.Object
    • Constructor Detail

      • Teleporter

        public Teleporter()
    • 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()