public enum DependencyProgress extends Enum<DependencyProgress>
NONE if no barracks exists and none are currently being constructed.
INPROGRESS if a barracks is currently being constructed but is not complete.
DONE if there is a barracks that has been fully constructed.
Note that a tank factory cannot be built unless the dependency progress is DONE.
| Enum Constant and Description |
|---|
DONE |
INPROGRESS |
NONE |
| Modifier and Type | Method and Description |
|---|---|
static DependencyProgress |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DependencyProgress[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DependencyProgress NONE
public static final DependencyProgress INPROGRESS
public static final DependencyProgress DONE
public static DependencyProgress[] values()
for (DependencyProgress c : DependencyProgress.values()) System.out.println(c);
public static DependencyProgress 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 null