Enum Class ActorType

java.lang.Object
java.lang.Enum<ActorType>
de.kaiserpfalzedv.rpg.torg.model.actors.ActorType
All Implemented Interfaces:
Serializable, Comparable<ActorType>, Constable

public enum ActorType extends Enum<ActorType>
FoundryItemType -- The different item types as defined by the Foundry VTT Roll20 implementation.
Since:
1.2.0 2021-06-05
Author:
klenkes74 <rlichti@kaiserpfalz-edv.de>
  • Enum Constant Details

    • STORMKNIGHT

      public static final ActorType STORMKNIGHT
    • THREAT

      public static final ActorType THREAT
  • Method Details

    • values

      public static ActorType[] 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 ActorType 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
    • allTypes

      public Set<ActorType> allTypes()
      A set of all possible types.
    • getTitle

      public String getTitle()
      The name of the item type as used within Foundry VTT json.
    • toString

      public String toString()
      Overrides:
      toString in class Enum<ActorType>