public static enum PowerHandler.Type extends java.lang.Enum<PowerHandler.Type>
| Modifier and Type | Method and Description |
|---|---|
boolean |
canReceiveFromPipes() |
boolean |
eatsEngineExcess() |
static PowerHandler.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PowerHandler.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PowerHandler.Type ENGINE
public static final PowerHandler.Type GATE
public static final PowerHandler.Type MACHINE
public static final PowerHandler.Type PIPE
public static final PowerHandler.Type STORAGE
public static PowerHandler.Type[] values()
for (PowerHandler.Type c : PowerHandler.Type.values()) System.out.println(c);
public static PowerHandler.Type 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 nullpublic boolean canReceiveFromPipes()
public boolean eatsEngineExcess()