public static enum Constants.Tunnel extends Enum<Constants.Tunnel>
| Enum Constant and Description |
|---|
ARCADE
a more specific variant of
COVERED |
AVALANCHE_PROTECTOR
a more specific variant of
TUNNEL |
BUILDING_PASSAGE
a more specific variant of
TUNNEL |
COLONNADE
a more specific variant of
COVERED |
COVERED
only covered, not a real tunnel
|
NO
neither a tunnel nor covered
|
TUNNEL
classic tunnel
|
| Modifier and Type | Method and Description |
|---|---|
static Constants.Tunnel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Constants.Tunnel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.Tunnel NO
public static final Constants.Tunnel TUNNEL
public static final Constants.Tunnel BUILDING_PASSAGE
TUNNELpublic static final Constants.Tunnel AVALANCHE_PROTECTOR
TUNNELpublic static final Constants.Tunnel COVERED
public static final Constants.Tunnel ARCADE
COVEREDpublic static final Constants.Tunnel COLONNADE
COVEREDpublic static Constants.Tunnel[] values()
for (Constants.Tunnel c : Constants.Tunnel.values()) System.out.println(c);
public static Constants.Tunnel 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 © 2018. All rights reserved.