public enum DamageType extends java.lang.Enum<DamageType>
Enum Constant and Description |
---|
ENERGY |
FRAGMENTATION |
HIGH_EXPLOSIVE |
KINETIC |
OTHER |
Modifier and Type | Method and Description |
---|---|
float |
getArmorMult() |
java.lang.String |
getDescription() |
java.lang.String |
getDisplayName() |
float |
getHullMult() |
float |
getShieldMult() |
void |
setArmorMult(float armorMult) |
void |
setDescription(java.lang.String description) |
void |
setDisplayName(java.lang.String displayName) |
void |
setHullMult(float hullMult) |
void |
setShieldMult(float shieldMult) |
static DamageType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DamageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DamageType KINETIC
public static final DamageType HIGH_EXPLOSIVE
public static final DamageType FRAGMENTATION
public static final DamageType ENERGY
public static final DamageType OTHER
public static DamageType[] values()
for (DamageType c : DamageType.values()) System.out.println(c);
public static DamageType 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 float getShieldMult()
public float getArmorMult()
public float getHullMult()
public java.lang.String getDisplayName()
public java.lang.String getDescription()
public void setDisplayName(java.lang.String displayName)
public void setDescription(java.lang.String description)
public void setShieldMult(float shieldMult)
public void setArmorMult(float armorMult)
public void setHullMult(float hullMult)
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.