public enum ESeaFightType extends Enum<ESeaFightType>
| Enum Constant and Description |
|---|
BLOCKADE
Fight of a fleet blockadeing a port against another fleet
|
OUTRIGGER
Fight of an outrigger against an attacking fleet.
|
STANDARD
Standard sea fight between two fleets.
|
| Modifier and Type | Method and Description |
|---|---|
static ESeaFightType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ESeaFightType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ESeaFightType STANDARD
public static final ESeaFightType BLOCKADE
public static final ESeaFightType OUTRIGGER
public static ESeaFightType[] values()
for (ESeaFightType c : ESeaFightType.values()) System.out.println(c);
public static ESeaFightType 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 nullCopyright © 2011-2017 Sahits GmbH. All Rights Reserved.