public enum ESeaFightType extends java.lang.Enum<ESeaFightType>
| Enum Constant | 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 | Description |
|---|---|---|
static ESeaFightType |
valueOf(java.lang.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(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 nullCopyright © 2011-2018 Sahits GmbH. All Rights Reserved.