LazyLib
A C F G I L M O S W

G

getAlliedFleetsInSystem(CampaignFleetAPI, boolean) - Static method in class org.lazywizard.lazylib.campaign.FleetUtils
Find all allies of a CampaignFleetAPI present in the system.
getAlliedFleetsInSystem(CampaignFleetAPI) - Static method in class org.lazywizard.lazylib.campaign.FleetUtils
Find all allies of a CampaignFleetAPI present in the system.
getAlliesOnMap(CombatEntityAPI, boolean) - Static method in class org.lazywizard.lazylib.combat.AIUtils
Find all present allies of an entity.
getAlliesOnMap(CombatEntityAPI) - Static method in class org.lazywizard.lazylib.combat.AIUtils
Find all present allies of an entity.
getAngle(Vector2f, Vector2f) - Static method in class org.lazywizard.lazylib.MathUtils
Returns the angle between two Vector2fs.
getAsteroidsWithinRange(Vector2f, float, boolean) - Static method in class org.lazywizard.lazylib.combat.CombatUtils
Returns all asteroids in range of a given location.
getAsteroidsWithinRange(Vector2f, float) - Static method in class org.lazywizard.lazylib.combat.CombatUtils
Returns all asteroids in range of a given location.
getCollides(Vector2f, Vector2f, Vector2f, float) - Static method in class org.lazywizard.lazylib.CollisionUtils
Check if a line connects with a circle.
getCollisionPoint(Vector2f, Vector2f, CombatEntityAPI) - Static method in class org.lazywizard.lazylib.CollisionUtils
Finds the part of the ship that would be intersected by a given path.
getCollisionPoint(Vector2f, Vector2f, Vector2f, Vector2f) - Static method in class org.lazywizard.lazylib.CollisionUtils
Finds the point of intersection between two lines.
getCombatEngine() - Static method in class org.lazywizard.lazylib.combat.CombatUtils
Returns the currently used CombatEngineAPI.
getDirectionalVector(Vector2f, Vector2f) - Static method in class org.lazywizard.lazylib.MathUtils
Returns a normalized Vector2f pointing from source to destination.
getDirectionalVector(CombatEntityAPI, Vector2f) - Static method in class org.lazywizard.lazylib.MathUtils
Returns a normalized Vector2f pointing from source to destination.
getDirectionalVector(CombatEntityAPI, CombatEntityAPI) - Static method in class org.lazywizard.lazylib.MathUtils
Returns a normalized Vector2f pointing from source to destination.
getDistance(SectorEntityToken, SectorEntityToken) - Static method in class org.lazywizard.lazylib.MathUtils
Returns the distance between two SectorEntityTokens.
getDistance(SectorEntityToken, Vector2f) - Static method in class org.lazywizard.lazylib.MathUtils
Returns the distance between a SectorEntityToken and a {@link Vector2f).
getDistance(CombatEntityAPI, CombatEntityAPI) - Static method in class org.lazywizard.lazylib.MathUtils
Returns the distance between two CombatEntityAPIs.
getDistance(CombatEntityAPI, Vector2f) - Static method in class org.lazywizard.lazylib.MathUtils
Returns the distance between a CombatEntityAPI and a Vector2f.
getDistance(Vector2f, Vector2f) - Static method in class org.lazywizard.lazylib.MathUtils
Returns the distance between two Vector2fs.
getDistanceSquared(SectorEntityToken, SectorEntityToken) - Static method in class org.lazywizard.lazylib.MathUtils
Returns the distance squared between two SectorEntityTokens.
getDistanceSquared(SectorEntityToken, Vector2f) - Static method in class org.lazywizard.lazylib.MathUtils
Returns the distance squared between a SectorEntityToken and a {@link Vector2f).
getDistanceSquared(CombatEntityAPI, CombatEntityAPI) - Static method in class org.lazywizard.lazylib.MathUtils
Returns the distance squared between two CombatEntityAPIs.
getDistanceSquared(CombatEntityAPI, Vector2f) - Static method in class org.lazywizard.lazylib.MathUtils
Returns the distance squared between a CombatEntityAPI and a Vector2f.
getDistanceSquared(Vector2f, Vector2f) - Static method in class org.lazywizard.lazylib.MathUtils
Returns the distance squared between two Vector2fs (avoids a costly sqrt()).
getElapsedCombatTime() - Static method in class org.lazywizard.lazylib.combat.CombatUtils
Returns the length of the current battle.
getElapsedCombatTimeIncludingPaused() - Static method in class org.lazywizard.lazylib.combat.CombatUtils
Returns the length of the current battle, including time spent paused.
getEnemiesOnMap(CombatEntityAPI, boolean) - Static method in class org.lazywizard.lazylib.combat.AIUtils
Find all present enemies of an entity.
getEnemiesOnMap(CombatEntityAPI) - Static method in class org.lazywizard.lazylib.combat.AIUtils
Find all present enemies of an entity.
getEnemyFleetsInSystem(CampaignFleetAPI, boolean) - Static method in class org.lazywizard.lazylib.campaign.FleetUtils
Find all enemies of a CampaignFleetAPI present in the system.
getEnemyFleetsInSystem(CampaignFleetAPI) - Static method in class org.lazywizard.lazylib.campaign.FleetUtils
Find all enemies of a CampaignFleetAPI present in the system.
getEntitiesWithinRange(Vector2f, float, boolean) - Static method in class org.lazywizard.lazylib.combat.CombatUtils
Returns all entities in range of a given location.
getEntitiesWithinRange(Vector2f, float) - Static method in class org.lazywizard.lazylib.combat.CombatUtils
Returns all entities in range of a given location.
getFacing(Vector2f) - Static method in class org.lazywizard.lazylib.MathUtils
Returns the facing of a Vector2f.
getInfo() - Static method in class org.lazywizard.lazylib.LazyLib
Get the library information (for startup messages, etc).
getMissilesWithinRange(Vector2f, float, boolean) - Static method in class org.lazywizard.lazylib.combat.CombatUtils
Returns all missiles in range of a given location.
getMissilesWithinRange(Vector2f, float) - Static method in class org.lazywizard.lazylib.combat.CombatUtils
Returns all missiles in range of a given location.
getNearbyAlliedFleets(CampaignFleetAPI, float, boolean) - Static method in class org.lazywizard.lazylib.campaign.FleetUtils
Finds all allied fleets within a certain range around a CampaignFleetAPI.
getNearbyAlliedFleets(CampaignFleetAPI, float) - Static method in class org.lazywizard.lazylib.campaign.FleetUtils
Finds all allied fleets within a certain range around a CampaignFleetAPI.
getNearbyAllies(CombatEntityAPI, float, boolean) - Static method in class org.lazywizard.lazylib.combat.AIUtils
Finds all allies within a certain range around an entity.
getNearbyAllies(CombatEntityAPI, float) - Static method in class org.lazywizard.lazylib.combat.AIUtils
Finds all allies within a certain range around an entity.
getNearbyEnemies(CombatEntityAPI, float, boolean) - Static method in class org.lazywizard.lazylib.combat.AIUtils
Finds all enemies within a certain range around an entity.
getNearbyEnemies(CombatEntityAPI, float) - Static method in class org.lazywizard.lazylib.combat.AIUtils
Finds all enemies within a certain range around an entity.
getNearbyEnemyFleets(CampaignFleetAPI, float, boolean) - Static method in class org.lazywizard.lazylib.campaign.FleetUtils
Finds all enemy fleets within a certain range around a CampaignFleetAPI.
getNearbyEnemyFleets(CampaignFleetAPI, float) - Static method in class org.lazywizard.lazylib.campaign.FleetUtils
Finds all enemy fleets within a certain range around a CampaignFleetAPI.
getNearestAlliedFleet(CampaignFleetAPI) - Static method in class org.lazywizard.lazylib.campaign.FleetUtils
Find the closest allied fleet to a CampaignFleetAPI.
getNearestAlly(CombatEntityAPI) - Static method in class org.lazywizard.lazylib.combat.AIUtils
Find the closest ally of an entity.
getNearestEnemy(CombatEntityAPI) - Static method in class org.lazywizard.lazylib.combat.AIUtils
Find the closest enemy of an entity.
getNearestEnemyFleet(CampaignFleetAPI) - Static method in class org.lazywizard.lazylib.campaign.FleetUtils
Find the closest enemy fleet to a CampaignFleetAPI.
getNearestFleet(SectorEntityToken) - Static method in class org.lazywizard.lazylib.campaign.FleetUtils
Find the closest CampaignFleetAPI near a SectorEntityToken.
getNearestObjective(CombatEntityAPI) - Static method in class org.lazywizard.lazylib.combat.AIUtils
Find the closest BattleObjectiveAPI to an entity.
getNearestShip(CombatEntityAPI) - Static method in class org.lazywizard.lazylib.combat.AIUtils
Find the closest ship near entity.
getNearestStation(SectorEntityToken) - Static method in class org.lazywizard.lazylib.campaign.FleetUtils
Find the closest orbital station to a SectorEntityToken.
getObjectivesWithinRange(Vector2f, float, boolean) - Static method in class org.lazywizard.lazylib.combat.CombatUtils
Returns all objectives in range of a given location.
getObjectivesWithinRange(Vector2f, float) - Static method in class org.lazywizard.lazylib.combat.CombatUtils
Returns all objectives in range of a given location.
getPointOnCircumference(Vector2f, float, float) - Static method in class org.lazywizard.lazylib.MathUtils
Returns a point along the circumference of a circle at the given angle.
getPointsAlongCircumference(Vector2f, float, int, float) - Static method in class org.lazywizard.lazylib.MathUtils
Returns an evenly distributed List of points along a circle's circumference.
getProjectilesWithinRange(Vector2f, float, boolean) - Static method in class org.lazywizard.lazylib.combat.CombatUtils
Returns all projectiles in range of a given location.
getProjectilesWithinRange(Vector2f, float) - Static method in class org.lazywizard.lazylib.combat.CombatUtils
Returns all projectiles in range of a given location.
getRandomPointInCircle(Vector2f, float) - Static method in class org.lazywizard.lazylib.MathUtils
Returns a random point inside of a circle with uniform distribution.
getRandomPointOnCircumference(Vector2f, float) - Static method in class org.lazywizard.lazylib.MathUtils
Returns a random point along the circumference of a circle.
getShipsWithinRange(Vector2f, float, boolean) - Static method in class org.lazywizard.lazylib.combat.CombatUtils
Returns all ships in range of a given location.
getShipsWithinRange(Vector2f, float) - Static method in class org.lazywizard.lazylib.combat.CombatUtils
Returns all ships in range of a given location.
getSpaceTakenByCargo(CargoAPI) - Static method in class org.lazywizard.lazylib.campaign.CargoUtils
Returns the amount of space taken by all cargo types in a CargoAPI.
getSpaceTakenByCrew(CargoAPI) - Static method in class org.lazywizard.lazylib.campaign.CargoUtils
Returns the amount of space taken by crew in a CargoAPI.
getSpaceTakenByFuel(CargoAPI) - Static method in class org.lazywizard.lazylib.campaign.CargoUtils
Returns the amount of space taken by fuel in a CargoAPI.
getSpaceTakenByResources(CargoAPI) - Static method in class org.lazywizard.lazylib.campaign.CargoUtils
Returns the amount of space taken by all resources in a CargoAPI.
getSpaceTakenBySupplies(CargoAPI) - Static method in class org.lazywizard.lazylib.campaign.CargoUtils
Returns the amount of space taken by supplies in a CargoAPI.
getSpaceTakenByWeapons(CargoAPI) - Static method in class org.lazywizard.lazylib.campaign.CargoUtils
Returns the amount of space taken by weapons in a CargoAPI.
getSupportedGameVersion() - Static method in class org.lazywizard.lazylib.LazyLib
Gets the Starsector release this version was coded for.
getTimeToAim(WeaponAPI, Vector2f) - Static method in class org.lazywizard.lazylib.combat.WeaponUtils
Calculate how long it would take to turn a WeaponAPI to aim at a location.
getVersion() - Static method in class org.lazywizard.lazylib.LazyLib
Get the version number of this LazyLib instance.

LazyLib
A C F G I L M O S W