Enum Akiwrapper.Theme

java.lang.Object
java.lang.Enum<Akiwrapper.Theme>
org.eu.zajc.akiwrapper.Akiwrapper.Theme
All Implemented Interfaces:
Serializable, Comparable<Akiwrapper.Theme>
Enclosing interface:
Akiwrapper

public static enum Akiwrapper.Theme extends Enum<Akiwrapper.Theme>
Represents the theme (sometimes called subject) of the game. This determines what kind of Questions and Guesses will be provided. Please note that while all Akiwrapper.Languages support CHARACTER, but other themes might not be supported. Call Akiwrapper.Language.getSupportedThemes() for a list of supported themes.
Author:
Marko Zajc
  • Enum Constant Details

  • Method Details

    • values

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

      public static Akiwrapper.Theme valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • getId

      public int getId()