public enum TileGroupType extends Enum<TileGroupType>
Enum Constant and Description |
---|
CIRCUIT
Circuits tiles.
|
NONE
No type defined.
|
PLAIN
Plain tiles.
|
TRANSITION
Transition tiles.
|
Modifier and Type | Method and Description |
---|---|
static TileGroupType |
from(String name)
Convert circuit part name to its enum value.
|
static TileGroupType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TileGroupType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TileGroupType PLAIN
public static final TileGroupType TRANSITION
public static final TileGroupType CIRCUIT
public static final TileGroupType NONE
public static TileGroupType[] values()
for (TileGroupType c : TileGroupType.values()) System.out.println(c);
public static TileGroupType 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 static TileGroupType from(String name)
name
- The circuit part name.LionEngineException
- If invalid name.Copyright © 2017 Byron 3D Games Studio. All rights reserved.