Enum Class DamageType

java.lang.Object
java.lang.Enum<DamageType>
com.fs.starfarer.api.combat.DamageType
All Implemented Interfaces:
Serializable, Comparable<DamageType>, Constable

public enum DamageType extends Enum<DamageType>
  • Enum Constant Details

    • KINETIC

      public static final DamageType KINETIC
    • HIGH_EXPLOSIVE

      public static final DamageType HIGH_EXPLOSIVE
    • FRAGMENTATION

      public static final DamageType FRAGMENTATION
    • ENERGY

      public static final DamageType ENERGY
    • OTHER

      public static final DamageType OTHER
  • Method Details

    • values

      public static DamageType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static DamageType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getShieldMult

      public float getShieldMult()
    • getArmorMult

      public float getArmorMult()
    • getHullMult

      public float getHullMult()
    • getDisplayName

      public String getDisplayName()
    • getDescription

      public String getDescription()
    • setDisplayName

      public void setDisplayName(String displayName)
    • setDescription

      public void setDescription(String description)
    • setShieldMult

      public void setShieldMult(float shieldMult)
    • setArmorMult

      public void setArmorMult(float armorMult)
    • setHullMult

      public void setHullMult(float hullMult)