Enum Class CarryMode

java.lang.Object
java.lang.Enum<CarryMode>
de.rpgframework.genericrpg.items.CarryMode
All Implemented Interfaces:
Serializable, Comparable<CarryMode>, java.lang.constant.Constable

public enum CarryMode extends Enum<CarryMode>
  • Enum Constant Details

    • CARRIED

      public static final CarryMode CARRIED
      A piece somewhere in the inventory of the character
    • EMBEDDED

      public static final CarryMode EMBEDDED
      It is used as an accessory of a larger container and might be removed rather easily
    • IMPLANTED

      public static final CarryMode IMPLANTED
      It is put inside the body of the user, like Cyberware or a modification of a vehilce
    • VIRTUAL

      public static final CarryMode VIRTUAL
      To be used in a temporary virtual item, like 'Software library'
  • Method Details

    • values

      public static CarryMode[] 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 CarryMode 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