Package org.eu.zajc.akiwrapper
Enum Akiwrapper.Theme
- All Implemented Interfaces:
Serializable,Comparable<Akiwrapper.Theme>
- Enclosing interface:
Akiwrapper
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 Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionintgetId()static Akiwrapper.ThemeReturns the enum constant of this type with the specified name.static Akiwrapper.Theme[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CHARACTER
-
OBJECT
-
ANIMAL
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getId
public int getId()
-