public enum EShipUpgrade extends java.lang.Enum<EShipUpgrade>
| Enum Constant | Description |
|---|---|
LEVEL1 |
Upgraded once
|
LEVEL2 |
Final upgrade
|
NONE |
No upgrade
|
| Modifier and Type | Method | Description |
|---|---|---|
EShipUpgrade |
nextLevel() |
Retrieve the next level.
|
static EShipUpgrade |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static EShipUpgrade[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EShipUpgrade NONE
public static final EShipUpgrade LEVEL1
public static final EShipUpgrade LEVEL2
public static EShipUpgrade[] values()
for (EShipUpgrade c : EShipUpgrade.values()) System.out.println(c);
public static EShipUpgrade 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 EShipUpgrade nextLevel()
Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.