public enum ESocialRank extends Enum<ESocialRank>
| Enum Constant and Description |
|---|
ALDERMAN |
BARGAINER |
CHANDLER |
COUNCILMAN |
MAYOR |
MERCHANT |
PATRICIAN |
TRADESMAN |
| Modifier and Type | Field and Description |
|---|---|
private int |
careerLowerOffset |
private int |
careerUpperOffset |
private int |
companyValue |
private double |
socialRank |
| Modifier and Type | Method and Description |
|---|---|
ESocialRank |
getNextRank() |
static ESocialRank |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ESocialRank[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ESocialRank CHANDLER
public static final ESocialRank BARGAINER
public static final ESocialRank MERCHANT
public static final ESocialRank TRADESMAN
public static final ESocialRank COUNCILMAN
public static final ESocialRank PATRICIAN
public static final ESocialRank MAYOR
public static final ESocialRank ALDERMAN
private final int companyValue
private final double socialRank
private final int careerLowerOffset
private final int careerUpperOffset
public static ESocialRank[] values()
for (ESocialRank c : ESocialRank.values()) System.out.println(c);
public static ESocialRank valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic ESocialRank getNextRank()
Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.