LazyLib

Uses of Class
org.lazywizard.lazylib.combat.DefenseType

Packages that use DefenseType
org.lazywizard.lazylib.combat Contains combat helper classes. 
 

Uses of DefenseType in org.lazywizard.lazylib.combat
 

Methods in org.lazywizard.lazylib.combat that return DefenseType
static DefenseType DefenseUtils.getDefenseAtPoint(ShipAPI ship, Vector2f loc)
          Determine what DefenseType is present at a specific location on a ShipAPI.
static DefenseType DefenseType.valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DefenseType[] DefenseType.values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 

Methods in org.lazywizard.lazylib.combat with parameters of type DefenseType
static float WeaponUtils.calculateActualDamage(float baseDamage, WeaponAPI weapon, ShipAPI target, DefenseType defense)
          Calculates the damage done by a weapon to a ship after all MutableShipStats on both sides are applied.
static float WeaponUtils.calculateDamagePerBurst(WeaponAPI weapon, ShipAPI target, DefenseType defense)
          Calculates the damage done per burst by a weapon to a ship after all MutableShipStats on both sides are applied.
static float WeaponUtils.calculateDamagePerSecond(WeaponAPI weapon, ShipAPI target, DefenseType defense)
          Calculates the damage done per second by a weapon to a ship after all MutableShipStats on both sides are applied.
static float WeaponUtils.calculateDamagePerShot(WeaponAPI weapon, ShipAPI target, DefenseType defense)
          Calculates the damage done per shot by a weapon to a ship after all MutableShipStats on both sides are applied.
 


LazyLib