public static enum StructurePool.Projection extends Enum<StructurePool.Projection>
Enum Constant and Description |
---|
RIGID |
TERRAIN_MATCHING |
Modifier and Type | Field and Description |
---|---|
private String |
id |
private ImmutableList<StructureProcessor> |
processors |
private static Map<String,StructurePool.Projection> |
PROJECTIONS_BY_ID |
Modifier and Type | Method and Description |
---|---|
static StructurePool.Projection |
getById(String id) |
String |
getId() |
ImmutableList<StructureProcessor> |
getProcessors() |
static StructurePool.Projection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StructurePool.Projection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StructurePool.Projection TERRAIN_MATCHING
public static final StructurePool.Projection RIGID
private static final Map<String,StructurePool.Projection> PROJECTIONS_BY_ID
private final String id
private final ImmutableList<StructureProcessor> processors
public static StructurePool.Projection[] values()
for (StructurePool.Projection c : StructurePool.Projection.values()) System.out.println(c);
public static StructurePool.Projection 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 nullpublic String getId()
public static StructurePool.Projection getById(String id)
public ImmutableList<StructureProcessor> getProcessors()