Enum Class Banks

java.lang.Object
java.lang.Enum<Banks>
games.stendhal.server.entity.slot.Banks
All Implemented Interfaces:
Serializable, Comparable<Banks>, Constable

public enum Banks extends Enum<Banks>
List of banks.
Author:
hendrik
  • Enum Constant Details

    • SEMOS

      public static final Banks SEMOS
      bank in Semos.
    • ADOS

      public static final Banks ADOS
      bank in Ados.
    • DENIRAN

      public static final Banks DENIRAN
      bank in Deniran
    • FADO

      public static final Banks FADO
      bank in Fado.
    • NALWOR

      public static final Banks NALWOR
      bank in Nalwor.
    • ZARAS

      public static final Banks ZARAS
      mini-bank in zaras house.
  • Method Details

    • values

      public static Banks[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Banks valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getSlotName

      public String getSlotName()
      Gets the slot name.
      Returns:
      slotName
    • getBySlotName

      public static Banks getBySlotName(String slotName)
      Returns the Banks instance for the specified slot name.
      Parameters:
      slotName - name of bank slot
      Returns:
      Banks enum instance or null