public enum UnitSizeType extends Enum<UnitSizeType>
This corresponds with DamageType
for several different damage reduction
applications.
Enum Constant and Description |
---|
Independent |
Large |
Medium |
None |
Small |
Unknown |
Modifier and Type | Method and Description |
---|---|
static UnitSizeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnitSizeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnitSizeType Independent
public static final UnitSizeType Small
public static final UnitSizeType Medium
public static final UnitSizeType Large
public static final UnitSizeType None
public static final UnitSizeType Unknown
public static UnitSizeType[] values()
for (UnitSizeType c : UnitSizeType.values()) System.out.println(c);
public static UnitSizeType 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 © 2022. All rights reserved.