public static enum PlayerFleetPersonnelTracker.PersonnelRank extends java.lang.Enum<PlayerFleetPersonnelTracker.PersonnelRank>
Enum Constant and Description |
---|
ELITE |
EXPERIENCED |
REGULAR |
VETERAN |
Modifier and Type | Field and Description |
---|---|
java.lang.String |
iconKey |
java.lang.String |
name |
float |
threshold |
Modifier and Type | Method and Description |
---|---|
static PlayerFleetPersonnelTracker.PersonnelRank |
getRankForXP(float xp) |
static PlayerFleetPersonnelTracker.PersonnelRank |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PlayerFleetPersonnelTracker.PersonnelRank[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlayerFleetPersonnelTracker.PersonnelRank REGULAR
public static final PlayerFleetPersonnelTracker.PersonnelRank EXPERIENCED
public static final PlayerFleetPersonnelTracker.PersonnelRank VETERAN
public static final PlayerFleetPersonnelTracker.PersonnelRank ELITE
public java.lang.String name
public java.lang.String iconKey
public float threshold
public static PlayerFleetPersonnelTracker.PersonnelRank[] values()
for (PlayerFleetPersonnelTracker.PersonnelRank c : PlayerFleetPersonnelTracker.PersonnelRank.values()) System.out.println(c);
public static PlayerFleetPersonnelTracker.PersonnelRank valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static PlayerFleetPersonnelTracker.PersonnelRank getRankForXP(float xp)
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.