public enum BackpackTypes extends java.lang.Enum<BackpackTypes>
| Modifier and Type | Method and Description |
|---|---|
int |
getId() |
java.lang.String |
getName() |
int |
getRowCount() |
int |
getRowLength() |
int |
getSize() |
int |
getUpgradePoints() |
static BackpackTypes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BackpackTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BackpackTypes BASIC
public static final BackpackTypes IRON
public static final BackpackTypes GOLD
public static final BackpackTypes DIAMOND
public static BackpackTypes[] values()
for (BackpackTypes c : BackpackTypes.values()) System.out.println(c);
public static BackpackTypes 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 int getRowCount()
public int getRowLength()
public int getSize()
public java.lang.String getName()
public int getId()
public int getUpgradePoints()