public enum ItemAdvancedResourceType extends java.lang.Enum<ItemAdvancedResourceType> implements IAdvancedResourceType
| Enum Constant and Description |
|---|
SIMPLE |
| Modifier and Type | Method and Description |
|---|---|
com.google.gson.JsonObject |
generate(IResourceType type) |
int |
getColor(ResourceMaterial material,
int tintIndex) |
static ItemAdvancedResourceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ItemAdvancedResourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ItemAdvancedResourceType SIMPLE
public static ItemAdvancedResourceType[] values()
for (ItemAdvancedResourceType c : ItemAdvancedResourceType.values()) System.out.println(c);
public static ItemAdvancedResourceType 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 int getColor(ResourceMaterial material, int tintIndex)
getColor in interface IAdvancedResourceTypepublic com.google.gson.JsonObject generate(IResourceType type)
generate in interface IAdvancedResourceType