public enum ECityWall extends Enum<ECityWall>
| Enum Constant and Description |
|---|
EXTENDED_ONCE |
EXTENDED_TWICE |
NOT_EXTENDED |
| Modifier and Type | Field and Description |
|---|---|
private int |
requiredBricks |
| Modifier and Type | Method and Description |
|---|---|
static ECityWall |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ECityWall[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ECityWall NOT_EXTENDED
public static final ECityWall EXTENDED_ONCE
public static final ECityWall EXTENDED_TWICE
public static ECityWall[] values()
for (ECityWall c : ECityWall.values()) System.out.println(c);
public static ECityWall 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-2018 Sahits GmbH. All Rights Reserved.