All Implemented Interfaces:
UseListener, Killer, Cloneable, Iterable<String>, Serializable

public class Teleporter extends Portal
  • Constructor Details

    • Teleporter

      public Teleporter(Spot spot)
  • Method Details

    • usePortal

      protected boolean usePortal(Player player)
      Use the portal.
      Overrides:
      usePortal in class Portal
      Parameters:
      player - the Player who wants to use this portal
      Returns:
      true if the portal worked, false otherwise.