Class EmptyScroll

All Implemented Interfaces:
EquipListener, TurnListener, UseListener, Stackable<StackableItem>, Killer, Cloneable, Iterable<String>, Serializable

public class EmptyScroll extends Scroll
Represents an empty/unmarked teleport scroll.
  • Constructor Details

    • EmptyScroll

      public EmptyScroll(String name, String clazz, String subclass, Map<String,​String> attributes)
      Creates a new empty scroll.
      Parameters:
      name -
      clazz -
      subclass -
      attributes -
    • EmptyScroll

      public EmptyScroll(EmptyScroll item)
      Copy constructor.
      Parameters:
      item - item to copy
  • Method Details

    • useScroll

      protected boolean useScroll(Player player)
      Use a [empty] scroll.
      Overrides:
      useScroll in class Scroll
      Parameters:
      player -
      Returns:
      always true