LazyLib

Deprecated API


Contents
Deprecated Classes
CollectionUtils.SortObjectivesByDistance
          Use CollectionUtils.SortEntitiesByDistance instead. 
 

Deprecated Methods
org.lazywizard.lazylib.combat.WeaponUtils.calculateActualDamage(float, WeaponAPI)
          Too complicated to test/maintain. These methods will be removed after the next Starsector release. 
org.lazywizard.lazylib.combat.WeaponUtils.calculateActualDamage(float, WeaponAPI, ShipAPI, DefenseType)
          Too complicated to test/maintain. These methods will be removed after the next Starsector release. 
org.lazywizard.lazylib.combat.WeaponUtils.calculateDamagePerBurst(WeaponAPI)
          Too complicated to test/maintain. These methods will be removed after the next Starsector release. 
org.lazywizard.lazylib.combat.WeaponUtils.calculateDamagePerBurst(WeaponAPI, ShipAPI, DefenseType)
          Too complicated to test/maintain. These methods will be removed after the next Starsector release. 
org.lazywizard.lazylib.combat.WeaponUtils.calculateDamagePerSecond(WeaponAPI)
          Too complicated to test/maintain. These methods will be removed after the next Starsector release. 
org.lazywizard.lazylib.combat.WeaponUtils.calculateDamagePerSecond(WeaponAPI, ShipAPI, DefenseType)
          Too complicated to test/maintain. These methods will be removed after the next Starsector release. 
org.lazywizard.lazylib.combat.WeaponUtils.calculateDamagePerShot(WeaponAPI)
          Too complicated to test/maintain. These methods will be removed after the next Starsector release. 
org.lazywizard.lazylib.combat.WeaponUtils.calculateDamagePerShot(WeaponAPI, ShipAPI, DefenseType)
          Too complicated to test/maintain. These methods will be removed after the next Starsector release. 
org.lazywizard.lazylib.combat.DefenseUtils.getArmorCellAtWorldCoord(ShipAPI, Vector2f)
          Use ArmorGridAPI.getCellAtLocation( org.lwjgl.util.vector.Vector2f) instead. 
org.lazywizard.lazylib.combat.CombatUtils.getCombatEngine()
          Use Global.getCombatEngine() instead. 
org.lazywizard.lazylib.combat.CombatUtils.getElapsedCombatTime()
          Use CombatEngineAPI.getTotalElapsedTime(boolean) instead. 
org.lazywizard.lazylib.combat.CombatUtils.getElapsedCombatTimeIncludingPaused()
          Use CombatEngineAPI.getTotalElapsedTime(boolean) instead. 
org.lazywizard.lazylib.combat.CombatUtils.getTimeSinceLastFrame()
          Use CombatEngineAPI.getElapsedInLastFrame() instead. 
org.lazywizard.lazylib.MathUtils.isPointWithinBounds(Vector2f, CombatEntityAPI)
          Use CollisionUtils.isPointWithinBounds(org.lwjgl.util.vector.Vector2f, com.fs.starfarer.api.combat.CombatEntityAPI) instead. 
org.lazywizard.lazylib.CollectionUtils.weightedRandom(Map)
          Use com.fs.starfarer.api.util.WeightedRandomPicker instead. 
org.lazywizard.lazylib.CollectionUtils.weightedRandom(Map, int)
          Use com.fs.starfarer.api.util.WeightedRandomPicker instead (call pick() multiple times). 
 


LazyLib