public enum ClassType extends Enum<ClassType>
| Enum Constant and Description |
|---|
CUSTOM
Used for everything else.
|
MAPPER
Used for (sub)classes of
ComponentMapper |
SYSTEM
Used for (sub)classes of
BaseSystem |
WORLD
Used for (sub)classes of
World |
| Modifier and Type | Method and Description |
|---|---|
static ClassType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClassType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClassType MAPPER
ComponentMapperpublic static final ClassType SYSTEM
BaseSystempublic static final ClassType CUSTOM
public static ClassType[] values()
for (ClassType c : ClassType.values()) System.out.println(c);
public static ClassType 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 © 2019. All rights reserved.