public enum EShipUpgrade extends Enum<EShipUpgrade>
| Enum Constant and Description |
|---|
LEVEL1
Upgraded once
|
LEVEL2
Final upgrade
|
NONE
No upgrade
|
| Modifier and Type | Method and Description |
|---|---|
EShipUpgrade |
nextLevel()
Retrieve the next level.
|
static EShipUpgrade |
valueOf(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(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 EShipUpgrade nextLevel()
Copyright © 2011-2017 Sahits GmbH. All Rights Reserved.