JavaScript is disabled on your browser.
Enum Constant Summary
Enum Constants
Field Summary
Fields
final int
final int
final int
Constructor Summary
Constructors
private
Character (int characterId,
int initialCost,
String effect,
int studentsNumberOnCharacter)
Method Summary
All Methods Static Methods Concrete Methods
Returns the enum constant of this class with the specified name.
Returns an array containing the constants of this enum class, in
the order they are declared.
Methods inherited from class java.lang.Enum
clone , compareTo , describeConstable , equals , finalize , getDeclaringClass , hashCode , name , ordinal , toString , valueOf
Enum Constant Details
PUT_ONE_STUDENT_FROM_CHARACTER_TO_ARCHIPELAGO
public static final Character PUT_ONE_STUDENT_FROM_CHARACTER_TO_ARCHIPELAGO
GET_PROFESSORS_WITH_SAME_STUDENTS
public static final Character GET_PROFESSORS_WITH_SAME_STUDENTS
MOVE_MOTHER_NATURE_TO_ANY_ARCHIPELAGO
public static final Character MOVE_MOTHER_NATURE_TO_ANY_ARCHIPELAGO
TWO_ADDITIONAL_STEPS
public static final Character TWO_ADDITIONAL_STEPS
LOCK_ARCHIPELAGO
public static final Character LOCK_ARCHIPELAGO
TOWERS_DONT_COUNT
public static final Character TOWERS_DONT_COUNT
SWAP_THREE_STUDENTS_BETWEEN_CHARACTER_AND_ENTRANCE
public static final Character SWAP_THREE_STUDENTS_BETWEEN_CHARACTER_AND_ENTRANCE
TWO_ADDITIONAL_INFLUENCE
public static final Character TWO_ADDITIONAL_INFLUENCE
COLOR_DOESNT_COUNT
public static final Character COLOR_DOESNT_COUNT
SWAP_TWO_STUDENTS_BETWEEN_ENTRANCE_AND_DINING_ROOM
public static final Character SWAP_TWO_STUDENTS_BETWEEN_ENTRANCE_AND_DINING_ROOM
PUT_ONE_STUDENT_FROM_CHARACTER_INTO_DINING_ROOM
public static final Character PUT_ONE_STUDENT_FROM_CHARACTER_INTO_DINING_ROOM
PUT_THREE_STUDENTS_IN_THE_BAG
public static final Character PUT_THREE_STUDENTS_IN_THE_BAG
Field Details
characterId
public final int characterId
initialCost
public final int initialCost
studentsNumberOnCharacter
public final int studentsNumberOnCharacter
Constructor Details
Character
private Character (int characterId,
int initialCost,
String effect,
int studentsNumberOnCharacter)
Method Details
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
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