public static enum WeaponAPI.WeaponSize extends java.lang.Enum<WeaponAPI.WeaponSize>
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDisplayName() |
static WeaponAPI.WeaponSize |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WeaponAPI.WeaponSize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WeaponAPI.WeaponSize SMALL
public static final WeaponAPI.WeaponSize MEDIUM
public static final WeaponAPI.WeaponSize LARGE
public static WeaponAPI.WeaponSize[] values()
for (WeaponAPI.WeaponSize c : WeaponAPI.WeaponSize.values()) System.out.println(c);
public static WeaponAPI.WeaponSize 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 java.lang.String getDisplayName()
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.