net.sf.freecol.common.model
Enum HighScore.Level
java.lang.Object
java.lang.Enum<HighScore.Level>
net.sf.freecol.common.model.HighScore.Level
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<HighScore.Level>
- Enclosing class:
- HighScore
public static enum HighScore.Level
- extends java.lang.Enum<HighScore.Level>
On retirement, an object will be named in honour of the
player. The nature of the object depends on the player's score.
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
CONTINENT
public static final HighScore.Level CONTINENT
COUNTRY
public static final HighScore.Level COUNTRY
STATE
public static final HighScore.Level STATE
CITY
public static final HighScore.Level CITY
MOUNTAIN_RANGE
public static final HighScore.Level MOUNTAIN_RANGE
RIVER
public static final HighScore.Level RIVER
INSTITUTE
public static final HighScore.Level INSTITUTE
UNIVERSITY
public static final HighScore.Level UNIVERSITY
STREET
public static final HighScore.Level STREET
SCHOOL
public static final HighScore.Level SCHOOL
BIRD_OF_PREY
public static final HighScore.Level BIRD_OF_PREY
TREE
public static final HighScore.Level TREE
FLOWER
public static final HighScore.Level FLOWER
RODENT
public static final HighScore.Level RODENT
FOUL_SMELLING_PLANT
public static final HighScore.Level FOUL_SMELLING_PLANT
POISONOUS_PLANT
public static final HighScore.Level POISONOUS_PLANT
SLIME_MOLD_BEETLE
public static final HighScore.Level SLIME_MOLD_BEETLE
BLOOD_SUCKING_INSECT
public static final HighScore.Level BLOOD_SUCKING_INSECT
INFECTIOUS_DISEASE
public static final HighScore.Level INFECTIOUS_DISEASE
PARASITIC_WORM
public static final HighScore.Level PARASITIC_WORM
values
public static HighScore.Level[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (HighScore.Level c : HighScore.Level.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static HighScore.Level valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
getMinimumScore
public int getMinimumScore()