Skip navigation links
LazyLib
A C D E F G H I J K L M N O R S T U V W 

A

accept(T) - Method in interface CollectionUtils.CollectionFilter
Checks if an object should be allowed past this filter.
addAbility(String) - Method in class FakeToken
 
addDropRandom(String, int) - Method in class FakeToken
 
addDropRandom(String, int, int) - Method in class FakeToken
 
addDropRandom(SalvageEntityGenDataSpec.DropData) - Method in class FakeToken
 
addDropValue(String, int) - Method in class FakeToken
 
addDropValue(SalvageEntityGenDataSpec.DropData) - Method in class FakeToken
 
addFloatingText(String, Color, float) - Method in class FakeToken
 
addFloatingText(String, Color, float, boolean) - Method in class FakeToken
 
addScript(EveryFrameScript) - Method in class FakeToken
 
addShipToFleet(String, FleetMemberType, CampaignFleetAPI) - Static method in class CampaignUtils
Adds a fully crewed, fully combat ready ship to the designated fleet.
addTag(String) - Method in class FakeToken
 
advance(float) - Method in class FakeToken
 
advance(float) - Method in class EllipticalOrbit
Called by Starsector itself - you can ignore this.
advance(float) - Method in class KeplerOrbit
Called by Starsector itself - you can ignore this.
aimTowardsPoint(WeaponAPI, Vector2f, float) - Static method in class WeaponUtils
Manually adjusts a weapon's aim towards a point.
AIUtils - Class in org.lazywizard.lazylib.combat
Contains methods that deal with a single combat entity and how it views the battle map.
anchor - Variable in class AnchoredEntity
 
AnchoredEntity - Class in org.lazywizard.lazylib.combat.entities
An implementation of CombatEntityAPI that follows and rotates with another anchoring CombatEntityAPI.
AnchoredEntity(CombatEntityAPI, Vector2f) - Constructor for class AnchoredEntity
Creates a CombatEntityAPI that follows and rotates with another anchoring CombatEntityAPI.
append(String) - Method in class LazyFont.DrawableString
Adds additional text to the end of the current text.
append(String, Color) - Method in class LazyFont.DrawableString
Adds a colored substring to the end of the current text.
appendIndented(String, int) - Method in class LazyFont.DrawableString
Adds additional text to the end of the current text, with indentation.
appendIndented(String, Color, int) - Method in class LazyFont.DrawableString
Adds a colored substring to the end of the current text, with indentation.
applyForce(CombatEntityAPI, Vector2f, float) - Static method in class CombatUtils
Apply force to an object.
applyForce(CombatEntityAPI, float, float) - Static method in class CombatUtils
Apply force to an object.
areAtRep(SectorEntityToken, SectorEntityToken, CampaignUtils.IncludeRep, RepLevel) - Static method in class CampaignUtils
Checks if two campaign objects have a specific reputation with each other.
areSameFaction(SectorEntityToken, SectorEntityToken) - Static method in class CampaignUtils
Checks if two campaign objects are owned by the same faction.
atan(double) - Static method in class FastTrig
Returns the arc tangent of a value.
atan2(double, double) - Static method in class FastTrig
Returns the angle theta from the conversion of rectangular coordinates (x, y) to polar coordinates (r, theta).
autoUpdateHyperLocationBasedOnInSystemEntityAtRadius(SectorEntityToken, float) - Method in class FakeToken
 

C

calcWidth(String, float) - Method in class LazyFont
Returns the raw width of a String at a specific font size, without taking into account word wrapping.
CampaignUtils - Class in org.lazywizard.lazylib.campaign
Contains methods for working with campaign objects.
CampaignUtils.IncludeRep - Enum in org.lazywizard.lazylib.campaign
Controls what RepLevels will be accepted by methods that check reputation relative to the RepLevel passed in.
canUseSystemThisFrame(ShipAPI) - Static method in class AIUtils
Check if a ship's system can be used/toggled this frame.
CargoUtils - Class in org.lazywizard.lazylib.campaign
Contains methods for working with cargo and item stacks.
centerViewport(Vector2f) - Static method in class CombatUtils
Recenters the viewport at a specific point.
clamp(float, float, float) - Static method in class MathUtils
Clamps a Float, ensuring it falls within a given range.
clamp(int, int, int) - Static method in class MathUtils
Clamps an Integer, ensuring it falls within a given range.
clampAngle(float) - Static method in class MathUtils
Clamps an angle within 360 degrees (ex: 400 degrees becomes 40 degrees).
clampLength(Vector2f, float, Vector2f) - Static method in class VectorUtils
Reduces a vector's length if it is higher than the passed in argument and stores the result in a destination vector.
clampLength(Vector2f, float) - Static method in class VectorUtils
Reduces a vector's length if it is higher than the passed in argument.
clampLength(Vector2f, float, float, Vector2f) - Static method in class VectorUtils
Ensures a vector's length is within the given parameters and stores the result in a destination vector.
clampLength(Vector2f, float, float) - Static method in class VectorUtils
Ensures a vector's length is within the given parameters and stores the result in a destination vector.
clear(JSONObject) - Static method in class JSONUtils
Clears all entries in a JSONObject.
clearAbilities() - Method in class FakeToken
 
clearFloatingText() - Method in class FakeToken
 
clearTags() - Method in class FakeToken
 
close() - Method in class JSONUtils.CommonDataJSONObject
Implemented as part of the AutoCloseable interface.
CollectionUtils - Class in org.lazywizard.lazylib
Contains methods for working with Collections.
CollectionUtils.CollectionFilter<T> - Interface in org.lazywizard.lazylib
CollectionUtils.SortEntitiesByDistance - Class in org.lazywizard.lazylib
A Comparator that sorts CombatEntityAPIs by distance from the Vector2f passed into the constructor.
CollectionUtils.SortTokensByDistance - Class in org.lazywizard.lazylib
A Comparator that sorts SectorEntityTokens by distance the Vector2f passed into the constructor.
CollisionUtils - Class in org.lazywizard.lazylib
Contains methods for line intersection, bounds and collision detection tests.
ColorUtils - Class in org.lazywizard.lazylib.opengl
Contains methods for working with OpenGL and AWT color objects.
ColorUtilsTests - Class in <Unnamed>
 
ColorUtilsTests() - Constructor for class ColorUtilsTests
 
CombatUtils - Class in org.lazywizard.lazylib.combat
Contains methods that deal with the battle map in general.
combinedList(Collection<T>...) - Static method in class CollectionUtils
Returns a combined List from several Collections.
combinedSet(Collection<T>...) - Static method in class CollectionUtils
Returns a combined Set from several Collections.
CommonDataJSONObject(String) - Constructor for class JSONUtils.CommonDataJSONObject
Creates a new JSONObject that will save to the provided filename in the common data folder.
compare(CombatEntityAPI, CombatEntityAPI) - Method in class CollectionUtils.SortEntitiesByDistance
Compares the distances of two CombatEntityAPIs from a central location.
compare(SectorEntityToken, SectorEntityToken) - Method in class CollectionUtils.SortTokensByDistance
Compares the distances of two SectorEntityTokens from a central location.
computeCurrentLocation() - Method in class EllipticalOrbit
 
computeCurrentLocation() - Method in class KeplerOrbit
 
cos(double) - Static method in class FastTrig
Get the cosine of an angle.
createText(String, Color, float, float, float) - Method in class LazyFont
Create a LazyFont.DrawableString with the specified initial text, color, and font size, with text wrapping and a max height - any appended text past that limit will be discarded.
createText(String, Color, float, float) - Method in class LazyFont
Create a LazyFont.DrawableString with the specified initial text, color, and font size, with text wrapping.
createText(String, Color, float) - Method in class LazyFont
Create a LazyFont.DrawableString with the specified initial text, color, and font size, with no text wrapping.
createText(String, Color) - Method in class LazyFont
Create a LazyFont.DrawableString with the specified initial text and color.
createText(String) - Method in class LazyFont
Create a LazyFont.DrawableString with the specified initial text.
createText() - Method in class LazyFont
Create a LazyFont.DrawableString with no text, ready for appending.
currentAngle - Variable in class EllipticalOrbit
 

D

DefenseType - Enum in org.lazywizard.lazylib.combat
 
DefenseUtils - Class in org.lazywizard.lazylib.combat
Contains methods to make working with a ship's armor grid and defenses easier.
dispose() - Method in class LazyFont.DrawableString
Cleans up the underlying OpenGL resources of this LazyFont.DrawableString.
draw(float, float) - Method in class LazyFont.DrawableString
Renders the text area at the specified coordinates.
draw(Vector2f) - Method in class LazyFont.DrawableString
Renders the text area at the specified coordinates.
drawArc(float, float, float, float, float, int, boolean) - Static method in class DrawUtils
Draws an arc made up of line segments.
drawAtAngle(float, float, float) - Method in class LazyFont.DrawableString
Renders the text area at the specified coordinates with the specified angle.
drawAtAngle(Vector2f, float) - Method in class LazyFont.DrawableString
Renders the text area at the specified coordinates with the specified angle.
drawCircle(float, float, float, int, boolean) - Static method in class DrawUtils
Draws a simple circle made of line segments, or a filled circle if drawFilled is true.
drawEllipse(float, float, float, float, float, int, boolean) - Static method in class DrawUtils
Draws an elliptical shape made of line segments, or a filled ellipse if drawFilled is true.
drawText(String, float, float, float, float, float) - Method in class LazyFont
Deprecated.
Use LazyFont.createText(String, Color, float, float, float) instead! This will be removed soon.
DrawUtils - Class in org.lazywizard.lazylib.opengl
Contains methods to draw simple 2D shapes using OpenGL primitives.

E

EllipseUtils - Class in org.lazywizard.lazylib
Contains methods for dealing with ellipses.
EllipticalOrbit - Class in org.lazywizard.lazylib.campaign.orbits
Represents an elliptical orbit path.
EllipticalOrbit(SectorEntityToken, float, float, float, float, float) - Constructor for class EllipticalOrbit
Creates an elliptical orbit around a focus object.
engine - Variable in class SimpleEntity
 
entity - Variable in class EllipticalOrbit
 
equals(float, float) - Static method in class MathUtils
Tests for near-equality of floating point numbers.

F

FakeToken - Class in <Unnamed>
 
FakeToken(Vector2f, float) - Constructor for class FakeToken
 
FastTrig - Class in org.lazywizard.lazylib
Math utility class that trades accuracy for speed, often returning several times faster than Math's equivalent functions.
filter(Collection<T>, CollectionUtils.CollectionFilter<T>) - Static method in class CollectionUtils
Filters a Collection and returns a List containing only the entries that the filter accepted.
filter(Collection<T>, List<CollectionUtils.CollectionFilter<T>>) - Static method in class CollectionUtils
Filters a Collection and returns a List containing only the entries that the filters accepted.
focus - Variable in class EllipticalOrbit
 
FontException - Exception in org.lazywizard.lazylib.ui
Thrown if LazyFont.loadFont(String) encounters an error loading or parsing a bitmap font.
FontException(String) - Constructor for exception FontException
 
FontException(String, Throwable) - Constructor for exception FontException
 
FontException(Throwable) - Constructor for exception FontException
 
FontStressTest - Class in org.lazywizard.lazylib.console
 
FontStressTest() - Constructor for class FontStressTest
 
forceSensorContactFaderBrightness(float) - Method in class FakeToken
 
forceSensorFaderBrightness(float) - Method in class FakeToken
 
forceSensorFaderOut() - Method in class FakeToken
 
FPI - Static variable in class MathUtils
 
FTAU - Static variable in class MathUtils
 

G

getAbilities() - Method in class FakeToken
 
getAbility(String) - Method in class FakeToken
 
getActivePerson() - Method in class FakeToken
 
getAdvance() - Method in class LazyFont.LazyChar
 
getAlignment() - Method in class LazyFont.DrawableString
Returns which side of the text area the text will be aligned with.
getAlliesInArc(WeaponAPI) - Static method in class WeaponUtils
Finds all allied ships within range of a WeaponAPI.
getAlliesOnMap(CombatEntityAPI) - Static method in class AIUtils
Find all present allies of an entity.
getAlwaysUseSensorFaderBrightness() - Method in class FakeToken
 
getAnchor() - Method in class AnchoredEntity
Returns the CombatEntityAPI this entity is anchored to.
getAnchor() - Method in class LazyFont.DrawableString
Returns the current anchor (origin when drawing) for this LazyFont.DrawableString.
getAngle() - Method in class EllipticalOrbit
Returns the current angle along the orbital path of the orbiting entity.
getAngle(Vector2f, Vector2f) - Static method in class VectorUtils
Returns the angle between two Vector2fs in degrees.
getAngleStrict(Vector2f, Vector2f) - Static method in class VectorUtils
Returns the angle between two Vector2fs in degrees.
getArmorDamage(ShipAPI, Vector2f) - Static method in class DefenseUtils
Get the total damage taken by a ShipAPI's armor at a location.
getArmorLevel(ShipAPI, Vector2f) - Static method in class DefenseUtils
Get the armor level of a ShipAPI at a location.
getArmorValue(ShipAPI, Vector2f) - Static method in class DefenseUtils
Get the armor value of a ShipAPI at a location.
getAsteroidsWithinRange(Vector2f, float) - Static method in class CombatUtils
Returns all asteroids in range of a given location.
getAutogenJumpPointNameInHyper() - Method in class FakeToken
 
getBaseColor() - Method in class LazyFont.DrawableString
Returns the default color of drawn text.
getBaseHeight() - Method in class LazyFont
Returns the base height of the underlying font.
getBaseSensorRangeToDetect(float) - Method in class FakeToken
 
getBestInterceptPoint(Vector2f, float, Vector2f, Vector2f) - Static method in class AIUtils
Returns the best place to aim to hit a target, given its current location and velocity.
getBlendDest() - Method in class LazyFont.DrawableString
Returns the blend destination factor used by glBlendFunc() when rendering this block of text.
getBlendSrc() - Method in class LazyFont.DrawableString
Returns the blend source factor used by glBlendFunc() when rendering this block of text.
getCargo() - Method in class FakeToken
 
getChar(char) - Method in class LazyFont
Returns font metadata for a specific character.
getCircularOrbitAngle() - Method in class FakeToken
 
getCircularOrbitPeriod() - Method in class FakeToken
 
getCircularOrbitRadius() - Method in class FakeToken
 
getCollides(Vector2f, Vector2f, Vector2f, float) - Static method in class CollisionUtils
Checks if a line connects with a circle.
getCollisionPoint(Vector2f, Vector2f, CombatEntityAPI) - Static method in class CollisionUtils
Finds the part of the ship that would be intersected by a given path.
getCollisionPoint(Vector2f, Vector2f, Vector2f, Vector2f) - Static method in class CollisionUtils
Finds the point of intersection between two lines.
getConstellation() - Method in class FakeToken
 
getContainingLocation() - Method in class FakeToken
 
getCrossProduct(Vector2f, Vector2f) - Static method in class VectorUtils
Returns the cross product of two Vector2fs.
getCustomData() - Method in class FakeToken
 
getCustomDescriptionId() - Method in class FakeToken
 
getCustomEntitySpec() - Method in class FakeToken
 
getCustomEntityType() - Method in class FakeToken
 
getCustomInteractionDialogImageVisual() - Method in class FakeToken
 
getCustomPlugin() - Method in class FakeToken
 
getDefenseAtPoint(ShipAPI, Vector2f) - Static method in class DefenseUtils
Determine what DefenseType is present at a specific location on a ShipAPI.
getDetectedRangeMod() - Method in class FakeToken
 
getDetectionRangeDetailsOverrideMult() - Method in class FakeToken
 
getDirectionalVector(Vector2f, Vector2f) - Static method in class VectorUtils
Returns a normalized Vector2f pointing from source to destination.
getDiscoveryXP() - Method in class FakeToken
 
getDistance(SectorEntityToken, SectorEntityToken) - Static method in class MathUtils
Returns the distance between two SectorEntityTokens, taking interaction radii into account.
getDistance(SectorEntityToken, Vector2f) - Static method in class MathUtils
Returns the distance between a SectorEntityToken and a Vector2f, taking interaction radius into account.
getDistance(CombatEntityAPI, CombatEntityAPI) - Static method in class MathUtils
Returns the distance between two CombatEntityAPIs, taking collision radii into account.
getDistance(CombatEntityAPI, Vector2f) - Static method in class MathUtils
Returns the distance between a CombatEntityAPI and a Vector2f, taking collision radius into account.
getDistance(Vector2f, Vector2f) - Static method in class MathUtils
Returns the distance between two Vector2fs.
getDistanceSquared(SectorEntityToken, SectorEntityToken) - Static method in class MathUtils
Returns the distance squared between two SectorEntityTokens, taking interaction radii into account.
getDistanceSquared(SectorEntityToken, Vector2f) - Static method in class MathUtils
Returns the distance squared between a SectorEntityToken and a Vector2f, taking interaction radius into account.
getDistanceSquared(CombatEntityAPI, CombatEntityAPI) - Static method in class MathUtils
Returns the distance squared between two CombatEntityAPIs, taking collision radii into account.
getDistanceSquared(CombatEntityAPI, Vector2f) - Static method in class MathUtils
Returns the distance squared between a CombatEntityAPI and a Vector2f, taking collision radius into account.
getDistanceSquared(Vector2f, Vector2f) - Static method in class MathUtils
Returns the distance squared between two Vector2fs (avoids a costly sqrt()).
getDropRandom() - Method in class FakeToken
 
getDropValue() - Method in class FakeToken
 
getEnabledModIds() - Static method in class ModUtils
Returns the IDs of all currently enabled mods.
getEnemiesInArc(WeaponAPI) - Static method in class WeaponUtils
Finds all enemy ships within range of a WeaponAPI.
getEnemiesOnMap(CombatEntityAPI) - Static method in class AIUtils
Find all present and visible enemies of an entity.
getEnemyMissilesInArc(WeaponAPI) - Static method in class WeaponUtils
Finds all enemy missiles within range of a WeaponAPI.
getEnemyMissilesOnMap(CombatEntityAPI) - Static method in class AIUtils
Find all present visible enemy missiles of an entity.
getEngine() - Method in class SimpleEntity
Returns the ShipEngineControllerAPI.ShipEngineAPI this entity is attached to, if any.
getEntitiesFromFaction(LocationAPI, String, FactionAPI) - Static method in class CampaignUtils
Find all entities with a specific tag and faction within a location.
getEntitiesWithinRange(Vector2f, float) - Static method in class CombatUtils
Returns all entities in range of a given location.
getEntitiesWithRep(SectorEntityToken, String, CampaignUtils.IncludeRep, RepLevel) - Static method in class CampaignUtils
Find all entities with a specific tag and reputation with a SectorEntityToken in that token's location, excluding itself.
getEquidistantPointsInsideCircle(Vector2f, float, float) - Static method in class MathUtils
Returns a List of evenly spaced Vector2fs inside a circle.
getFacing() - Method in class FakeToken
 
getFacing(Vector2f) - Static method in class VectorUtils
Returns the facing (angle) of a Vector2f in degrees.
getFacingStrict(Vector2f) - Static method in class VectorUtils
Returns the facing (angle) of a Vector2f in degrees.
getFaction() - Method in class FakeToken
 
getFleetMember(ShipAPI) - Static method in class CombatUtils
Find a ShipAPI's corresponding FleetMemberAPI.
getFocus() - Method in class EllipticalOrbit
Returns the object we are orbiting.
getFocus() - Method in class KeplerOrbit
 
getFont() - Method in class LazyFont.DrawableString
Returns a reference to the LazyFont used to create this LazyFont.DrawableString.
getFontName() - Method in class LazyFont
Returns the name of the font, as defined in its .fnt file.
getFontSize() - Method in class LazyFont.DrawableString
Returns the font size text will be drawn at.
getFullName() - Method in class FakeToken
 
getHeight() - Method in class LazyFont.DrawableString
Returns the height of the rendered text area.
getHeight() - Method in class LazyFont.LazyChar
 
getHostileFleetsInSystem(SectorEntityToken) - Static method in class CampaignUtils
Find all hostile fleets towards a SectorEntityToken present in that token's location.
getId() - Method in class FakeToken
 
getId() - Method in class LazyFont.LazyChar
 
getIndicatorColor() - Method in class FakeToken
 
getInfo() - Static method in class LazyLib
Gets the library information (for startup messages, etc).
getKerning(int) - Method in class LazyFont.LazyChar
 
getKerning(char) - Method in class LazyFont.LazyChar
 
getKernings() - Method in class LazyFont.LazyChar
 
getLightColor() - Method in class FakeToken
 
getLightSource() - Method in class FakeToken
 
getLocation() - Method in class FakeToken
 
getLocation() - Method in class AnchoredEntity
Returns the location of this entity, calculated to be relative to its anchor.
getLocation() - Method in class SimpleEntity
Returns the location this SimpleEntity is mimicking.
getLocationInHyperspace() - Method in class FakeToken
 
getLogLevel() - Static method in class LazyLib
Returns the log level used for all other LazyLib classes.
getMarket() - Method in class FakeToken
 
getMaxHeight() - Method in class LazyFont.DrawableString
Returns the maximum height of the area that this text will be rendered within.
getMaxSensorRangeToDetect(SectorEntityToken) - Method in class FakeToken
 
getMaxWidth() - Method in class LazyFont.DrawableString
Returns the maximum width of the area that this text will be rendered within.
getMemory() - Method in class FakeToken
 
getMemoryWithoutUpdate() - Method in class FakeToken
 
getMidpoint(Vector2f, Vector2f) - Static method in class MathUtils
Returns the point exactly between two other points.
getMissilesWithinRange(Vector2f, float) - Static method in class CombatUtils
Returns all missiles in range of a given location.
getMostDamagedArmorCell(ShipAPI) - Static method in class DefenseUtils
Returns the most damaged armor cell on a ShipAPI, or null if the ship hasn't taken any armor damage.
getName() - Method in class FakeToken
 
getNearbyAllies(CombatEntityAPI, float) - Static method in class AIUtils
Finds all allies within a certain range around an entity.
getNearbyEnemies(CombatEntityAPI, float) - Static method in class AIUtils
Finds all visible enemies within a certain range around an entity.
getNearbyEnemyMissiles(CombatEntityAPI, float) - Static method in class AIUtils
Finds all visible enemy missiles within a certain range around an entity.
getNearbyEntitiesFromFaction(SectorEntityToken, float, String, FactionAPI) - Static method in class CampaignUtils
Find entities with a specific tag and from a specific faction near a SectorEntityToken, excluding itself.
getNearbyEntitiesWithRep(SectorEntityToken, float, String, CampaignUtils.IncludeRep, RepLevel) - Static method in class CampaignUtils
Find nearby entities with a specific tag and reputation with a SectorEntityToken, excluding itself.
getNearbyEntitiesWithTag(SectorEntityToken, float, String) - Static method in class CampaignUtils
Find entities with a specific tag near a SectorEntityToken, excluding itself.
getNearbyFleets(SectorEntityToken, float) - Static method in class CampaignUtils
Finds all visible fleets within a certain range around a SectorEntityToken.
getNearbyHostileFleets(SectorEntityToken, float) - Static method in class CampaignUtils
Finds all visible hostile fleets within a certain range around a SectorEntityToken.
getNearestAlly(CombatEntityAPI) - Static method in class AIUtils
Find the closest ally of an entity.
getNearestAllyInArc(WeaponAPI) - Static method in class WeaponUtils
Find the closest ally in range of a WeaponAPI.
getNearestEnemy(CombatEntityAPI) - Static method in class AIUtils
Find the closest visible enemy of an entity.
getNearestEnemyInArc(WeaponAPI) - Static method in class WeaponUtils
Find the closest enemy in range of a WeaponAPI.
getNearestEnemyMissile(CombatEntityAPI) - Static method in class AIUtils
Find the closest visible enemy missile near an entity.
getNearestEnemyMissileInArc(WeaponAPI) - Static method in class WeaponUtils
Find the closest enemy missile in range of a WeaponAPI.
getNearestEntityFromFaction(SectorEntityToken, String, FactionAPI) - Static method in class CampaignUtils
Find the closest entity with a specific tag and faction near a SectorEntityToken, excluding itself.
getNearestEntityWithRep(SectorEntityToken, String, CampaignUtils.IncludeRep, RepLevel) - Static method in class CampaignUtils
Find the closest entity with a specific tag and reputation with a SectorEntityToken, excluding itself.
getNearestEntityWithTag(SectorEntityToken, String) - Static method in class CampaignUtils
Find the closest entity with a specifc tag to a SectorEntityToken, excluding itself.
getNearestHostileFleet(SectorEntityToken) - Static method in class CampaignUtils
Find the closest hostile fleet to a SectorEntityToken.
getNearestMissile(CombatEntityAPI) - Static method in class AIUtils
Find the closest visible missile near entity.
getNearestObjective(CombatEntityAPI) - Static method in class AIUtils
Find the closest BattleObjectiveAPI to an entity.
getNearestPointOnBounds(Vector2f, CombatEntityAPI) - Static method in class CollisionUtils
Returns the closest point on a CombatEntityAPI's collision bounds to a point.
getNearestPointOnLine(Vector2f, Vector2f, Vector2f) - Static method in class MathUtils
Given a point and a line, returns the nearest point on said line to that point.
getNearestShip(CombatEntityAPI) - Static method in class AIUtils
Find the closest visible ship near an entity.
getObjectivesWithinRange(Vector2f, float) - Static method in class CombatUtils
Returns all objectives in range of a given location.
getOrbit() - Method in class FakeToken
 
getOrbitalPeriod() - Method in class EllipticalOrbit
 
getOrbitalPeriod() - Method in class KeplerOrbit
 
getOrbitAngle() - Method in class EllipticalOrbit
Returns the offset angle of the ellipsis used as a path.
getOrbitFocus() - Method in class FakeToken
 
getOrbitHeight() - Method in class EllipticalOrbit
Returns the height of the ellipsis used as a path.
getOrbitWidth() - Method in class EllipticalOrbit
Returns the width of the ellipsis used as a path.
getOverrides() - Static method in class ModUtils
Returns all vanilla files that have been explicitly overridden in a mod's mod_info.json.
getPoint(Vector2f, float, float) - Static method in class MathUtils
Returns a point along the circumference of a circle at the given angle.
getPointOnCircumference(Vector2f, float, float) - Static method in class MathUtils
Returns a point along the circumference of a circle at the given angle.
getPointOnEllipse(Vector2f, float, float, float, float) - Static method in class EllipseUtils
Returns a point along the circumference of an ellipse at the given angle and facing.
getPointsAlongCircumference(Vector2f, float, int, float) - Static method in class MathUtils
Returns an evenly distributed List of points along a circle's circumference.
getProjectilesWithinRange(Vector2f, float) - Static method in class CombatUtils
Returns all projectiles in range of a given location, excluding missiles.
getRadius() - Method in class FakeToken
 
getRandom() - Static method in class MathUtils
Returns the random number generator used by LazyLib's methods.
getRandomNumberInRange(float, float) - Static method in class MathUtils
Returns a random float within a given range.
getRandomNumberInRange(int, int) - Static method in class MathUtils
Returns a random integer within a given range.
getRandomPointInCircle(Vector2f, float) - Static method in class MathUtils
Returns a random point inside of a circle with uniform distribution.
getRandomPointInCone(Vector2f, float, float, float) - Static method in class MathUtils
Returns a random point inside of a circular sector (2d cone) with uniform distribution.
getRandomPointInEllipse(Vector2f, float, float, float) - Static method in class EllipseUtils
Returns a random point inside of an ellipse with uniform distribution.
getRandomPointOnCircumference(Vector2f, float) - Static method in class MathUtils
Returns a random point along the circumference of a circle.
getRandomPointOnEllipse(Vector2f, float, float, float) - Static method in class EllipseUtils
Returns a random point along the circumference of an ellipse.
getRandomPointOnLine(Vector2f, Vector2f) - Static method in class MathUtils
Returns a random point along the line between two Vector2fs.
getRelation(SectorEntityToken, SectorEntityToken) - Static method in class CampaignUtils
Returns the faction relationship between two campaign objects.
getRenderDebugBounds() - Method in class LazyFont.DrawableString
Returns whether bounds drawing is enabled.
getReputation(SectorEntityToken, SectorEntityToken) - Static method in class CampaignUtils
Returns the faction relationship between two campaign objects.
getSalvageXP() - Method in class FakeToken
 
getScripts() - Method in class FakeToken
 
getSensorContactFaderBrightness() - Method in class FakeToken
 
getSensorFaderBrightness() - Method in class FakeToken
 
getSensorProfile() - Method in class FakeToken
 
getSensorRangeMod() - Method in class FakeToken
 
getSensorStrength() - Method in class FakeToken
 
getShipsWithinRange(Vector2f, float) - Static method in class CombatUtils
Returns all ships in range of a given location, excluding the shuttle pod.
getShortestRotation(float, float) - Static method in class MathUtils
Returns the direction and length of the quickest rotation between two angles.
getSpaceTakenByCargo(CargoAPI) - Static method in class CargoUtils
Returns the amount of space taken by all cargo types in a CargoAPI.
getSpaceTakenByCommodities(CargoAPI) - Static method in class CargoUtils
Returns the amount of space taken by all commodities in a CargoAPI.
getSpaceTakenByCrew(CargoAPI) - Static method in class CargoUtils
Returns the amount of space taken by crew in a CargoAPI.
getSpaceTakenByFuel(CargoAPI) - Static method in class CargoUtils
Returns the amount of space taken by fuel in a CargoAPI.
getSpaceTakenBySupplies(CargoAPI) - Static method in class CargoUtils
Returns the amount of space taken by supplies in a CargoAPI.
getSpaceTakenByWeapons(CargoAPI) - Static method in class CargoUtils
Returns the amount of space taken by weapons in a CargoAPI.
getStarSystem() - Method in class FakeToken
 
getSupportedGameVersion() - Static method in class LazyLib
Returns the Starsector release this version was coded for.
getTags() - Method in class FakeToken
 
getText() - Method in class LazyFont.DrawableString
Returns the raw text of this LazyFont.DrawableString, before any word-wrapping is applied.
getTextureHeight() - Method in class LazyFont
Returns the height of the font's underlying texture atlas.
getTextureId() - Method in class LazyFont
Returns the ID of the font's underlying texture atlas.
getTextureWidth() - Method in class LazyFont
Returns the width of the font's underlying texture atlas.
getTimeToAim(WeaponAPI, Vector2f) - Static method in class WeaponUtils
Calculate how long it would take to turn a WeaponAPI to aim at a location.
getTx1() - Method in class LazyFont.LazyChar
 
getTx2() - Method in class LazyFont.LazyChar
 
getTy1() - Method in class LazyFont.LazyChar
 
getTy2() - Method in class LazyFont.LazyChar
 
getType() - Method in class SimpleEntity
Returns the SimpleEntity.SimpleEntityType corresponding to the constructor used to create this object.
getVelocity() - Method in class FakeToken
 
getVelocity() - Method in class AnchoredEntity
Returns the velocity of this entity's anchor (and by definition this entity's velocity as well).
getVersion() - Static method in class LazyLib
Returns the running version of LazyLib.
getVisibilityLevelOfPlayerFleet() - Method in class FakeToken
 
getVisibilityLevelTo(SectorEntityToken) - Method in class FakeToken
 
getVisibilityLevelToPlayerFleet() - Method in class FakeToken
 
getWeapon() - Method in class SimpleEntity
Returns the WeaponAPI this entity is attached to, if any.
getWidth() - Method in class LazyFont.DrawableString
Returns the width of the rendered text area.
getWidth() - Method in class LazyFont.LazyChar
 
getXOffset() - Method in class LazyFont.LazyChar
 
getYOffset() - Method in class LazyFont.LazyChar
 
glColor(Color, float, boolean) - Static method in class ColorUtils
Sets the OpenGL color using an AWT Color object.
glColor(Color, float) - Static method in class ColorUtils
Sets the OpenGL color using an AWT Color object.
glColor(Color) - Static method in class ColorUtils
Sets the OpenGL color using an AWT Color object.

H

hasAbility(String) - Method in class FakeToken
 
hasArmorDamage(ShipAPI) - Static method in class DefenseUtils
Checks if a ship has taken any armor damage.
hasDiscoveryXP() - Method in class FakeToken
 
hasHullDamage(ShipAPI) - Static method in class DefenseUtils
Checks if a ship has taken any hull damage.
hasSalvageXP() - Method in class FakeToken
 
hasScriptOfClass(Class) - Method in class FakeToken
 
hasSensorProfile() - Method in class FakeToken
 
hasSensorStrength() - Method in class FakeToken
 
hasTag(String) - Method in class FakeToken
 

I

implode(Collection, String) - Static method in class CollectionUtils
Combines and separates a Collection of Strings.
implode(Collection) - Static method in class CollectionUtils
Creates a comma-separated String from a Collection's entries.
implode(Class<? extends Enum>, String) - Static method in class CollectionUtils
Creates a String containing the names of an Enum's entries.
implode(Class<? extends Enum>) - Static method in class CollectionUtils
Creates a comma-separated String containing the names of an Enum's entries.
indent(String, String) - Static method in class StringUtils
Prepends every line of a String with another String.
IOUtils - Class in org.lazywizard.lazylib
Contains classes for reading and writing files within the game's classloader restrictions.
isAlive() - Method in class FakeToken
 
isCachingEnabled() - Static method in class LazyLib
Checks if caching of the results of expensive methods is enabled.
isClassPresent(String) - Static method in class ModUtils
Checks if a class is present within the loaded mods.
isDiscoverable() - Method in class FakeToken
 
isDisposed() - Method in class LazyFont.DrawableString
Whether this object's underlying OpenGL resources have been cleaned up - attempting to render after disposal will cause a RuntimeException!
isExpired() - Method in class FakeToken
 
isFreeTransfer() - Method in class FakeToken
 
isInCurrentLocation() - Method in class FakeToken
 
isInHyperspace() - Method in class FakeToken
 
isInOrNearSystem(StarSystemAPI) - Method in class FakeToken
 
isModEnabled(String) - Static method in class ModUtils
Check if a mod is enabled.
isPlayer(CampaignFleetAPI) - Static method in class CampaignUtils
Checks if a fleet is the player fleet.
isPlayerFleet() - Method in class FakeToken
 
isPointOnLine(Vector2f, Vector2f, Vector2f) - Static method in class MathUtils
Check if a point is along the line between two Vector2fs.
isPointOnSegment(Vector2f, BoundsAPI.SegmentAPI) - Static method in class CollisionUtils
Check if a point is along a BoundsAPI.SegmentAPI.
isPointWithinBounds(Vector2f, CombatEntityAPI) - Static method in class CollisionUtils
Checks if a point is inside or on the bounds of a CombatEntityAPI.
isPointWithinCircle(Vector2f, Vector2f, float) - Static method in class MathUtils
Checks whether a point is on or within the bounds of a circle.
isPointWithinCollisionCircle(Vector2f, CombatEntityAPI) - Static method in class CollisionUtils
Checks if a point is inside the collision circle of a CombatEntityAPI.
isPointWithinEllipse(Vector2f, Vector2f, float, float, float) - Static method in class EllipseUtils
Checks whether a point is on or within the bounds of an ellipse.
isRebuildNeeded() - Method in class LazyFont.DrawableString
Returns whether a method has been performed since the last draw call that will trigger a rebuild.
isShipInFleet(String, CampaignFleetAPI) - Static method in class CampaignUtils
Checks if a fleet contains a specific ship in its roster.
isShipInMothballed(String, CargoAPI) - Static method in class CargoUtils
Checks if a cargo contains a specific mothballed ship.
isSkipForJumpPointAutoGen() - Method in class FakeToken
 
isStar() - Method in class FakeToken
 
isSystemCenter() - Method in class FakeToken
 
isTransponderOn() - Method in class FakeToken
 
isVisibleToPlayerFleet() - Method in class FakeToken
 
isVisibleToSensorsOf(SectorEntityToken) - Method in class FakeToken
 
isVisibleToSide(CombatEntityAPI, int) - Static method in class CombatUtils
Checks if a CombatEntityAPI is visible to a side of battle.
isWithinArc(CombatEntityAPI, WeaponAPI) - Static method in class WeaponUtils
Checks if a CombatEntityAPI is within the arc and range of a WeaponAPI.
isWithinRange(SectorEntityToken, SectorEntityToken, float) - Static method in class MathUtils
Check if two SectorEntityTokens are within a certain distance of each other, taking interaction radii into account.
isWithinRange(SectorEntityToken, Vector2f, float) - Static method in class MathUtils
Check if a SectorEntityToken is within a certain distance of a location, taking interaction radius into account.
isWithinRange(CombatEntityAPI, CombatEntityAPI, float) - Static method in class MathUtils
Check if two CombatEntityAPIs are within a certain distance of each other, taking collision radii into account.
isWithinRange(CombatEntityAPI, Vector2f, float) - Static method in class MathUtils
Check if a CombatEntityAPI is within a certain distance of a location, taking collision radius into account.
isWithinRange(Vector2f, Vector2f, float) - Static method in class MathUtils
Check if two objects are within a certain distance of each other.
isZeroVector(Vector2f) - Static method in class VectorUtils
Tests whether a vector is a zero vector (coordinates of {0, 0}).

J

JSONUtils - Class in org.lazywizard.lazylib
Contains methods for dealing with JSON objects.
JSONUtils.CommonDataJSONObject - Class in org.lazywizard.lazylib
Provides a wrapper around JSONObject that allows saving and restoring its values to/from the common data folder (saves/common).

K

KeplerOrbit - Class in org.lazywizard.lazylib.campaign.orbits
Keplerian orbit simulation.
KeplerOrbit(SectorEntityToken, float, float, float, float, boolean) - Constructor for class KeplerOrbit
Elliptical Kepler Orbit of one body around another.

L

LazyFont - Class in org.lazywizard.lazylib.ui
An efficiently drawable bitmap font implementation.
LazyFont.DrawableString - Class in org.lazywizard.lazylib.ui
Represents an efficiently redrawable block of text.
LazyFont.LazyChar - Class in org.lazywizard.lazylib.ui
Keeps track of the metadata for each supported character in a font.
LazyFont.TextAlignment - Enum in org.lazywizard.lazylib.ui
Represents the alignment of text within a LazyFont.DrawableString's render area.
LazyFont.TextAnchor - Enum in org.lazywizard.lazylib.ui
Represents the origin of drawing for LazyFont.DrawableStrings.
LazyLib - Class in org.lazywizard.lazylib
Contains information on the current version of LazyLib.
LazyLib() - Constructor for class LazyLib
 
LINE_LENGTH - Static variable in class MessageUtils
How long a line can be before being split by MessageUtils.showMessage(java.lang.String).
loadClassesIfClassIsPresent(String, List<String>, boolean) - Static method in class ModUtils
Loads a List of classes if a specific class is present, optionally initializing them in the process.
loadCommonJSON(String, String) - Static method in class JSONUtils
Loads a JSON file from common data, or creates it, populates it with default values, and saves it to disk if it does not already exist.
loadCommonJSON(String) - Static method in class JSONUtils
Loads a JSON file from common data, or creates it if it does not already exist.
loadFont(String) - Static method in class LazyFont
Loads a bitmap font and returns the LazyFont representation.
location - Variable in class SimpleEntity
 

M

main(String[]) - Static method in class ModUtilsTests
 
makeCopy() - Method in class EllipticalOrbit
 
makeCopy() - Method in class KeplerOrbit
 
MathUtils - Class in org.lazywizard.lazylib
Contains methods for working with vectors, angles, distances, and circles.
MathUtilsTests - Class in <Unnamed>
 
MathUtilsTests() - Constructor for class MathUtilsTests
 
MAXIMUM_AXIS - Static variable in class KeplerOrbit
 
MAXIMUM_ECCENTRICITY - Static variable in class KeplerOrbit
 
MAXIMUM_PERIOD - Static variable in class KeplerOrbit
 
MessageUtils - Class in org.lazywizard.lazylib.campaign
Allows formatted, multi-line, word-wrapped sector messages
MINIMUM_AXIS - Static variable in class KeplerOrbit
 
MINIMUM_ECCENTRICITY - Static variable in class KeplerOrbit
 
MINIMUM_PERIOD - Static variable in class KeplerOrbit
 
MOD_ID - Static variable in class LazyLib
 
ModUtils - Class in org.lazywizard.lazylib
Contains methods for dealing with mod level (non-gameplay) tasks.
ModUtilsTests - Class in <Unnamed>
 
ModUtilsTests() - Constructor for class ModUtilsTests
 
moveCargo(CargoAPI, CargoAPI) - Static method in class CargoUtils
Moves all CargoStackAPIs from one CargoAPI to another.
moveMothballedShips(CargoAPI, CargoAPI) - Static method in class CargoUtils
Moves all mothballed FleetMemberAPIs from one CargoAPI to another.
moveStack(CargoStackAPI, CargoAPI) - Static method in class CargoUtils
Moves an entire CargoStackAPI from its current location to another CargoAPI.
moveStack(CargoStackAPI, SectorEntityToken) - Static method in class CargoUtils
Moves an entire CargoStackAPI from its current location to the CargoAPI of another SectorEntityToken.

N

NOT_IN_GRID - Static variable in class DefenseUtils
A constant that represents a point not in a ship's armor grid.

O

offsetCos - Variable in class EllipticalOrbit
 
offsetSin - Variable in class EllipticalOrbit
 
onApplicationLoad() - Method in class LazyLib
 
onDeprecatedMethodUsage() - Static method in class LazyLib
Called internally by LazyLib when a deprecated method is used.
orbitAngle - Variable in class EllipticalOrbit
 
orbitHeight - Variable in class EllipticalOrbit
 
orbitSpeed - Variable in class EllipticalOrbit
 
orbitWidth - Variable in class EllipticalOrbit
 
org.lazywizard.lazylib - package org.lazywizard.lazylib
Contains general methods that mostly help with non-API data types.
org.lazywizard.lazylib.campaign - package org.lazywizard.lazylib.campaign
Contains campaign helper classes.
org.lazywizard.lazylib.campaign.orbits - package org.lazywizard.lazylib.campaign.orbits
Contains implementations of OrbitAPI.
org.lazywizard.lazylib.combat - package org.lazywizard.lazylib.combat
Contains combat helper classes.
org.lazywizard.lazylib.combat.entities - package org.lazywizard.lazylib.combat.entities
Contains instantiable combat entities.
org.lazywizard.lazylib.console - package org.lazywizard.lazylib.console
 
org.lazywizard.lazylib.opengl - package org.lazywizard.lazylib.opengl
Contains classes to help with drawing OpenGL primitives.
org.lazywizard.lazylib.ui - package org.lazywizard.lazylib.ui
Contains classes and methods for rendering text and simple GUI elements.

R

readAllBytes(String) - Static method in class IOUtils
This is a port of Files.readAllBytes(Path) that has been modified to work within the game's classloader restrictions.
reanchor(CombatEntityAPI, Vector2f) - Method in class AnchoredEntity
Reorient this entity around a new anchor.
relativeAngle - Variable in class AnchoredEntity
 
relativeDistance - Variable in class AnchoredEntity
 
removeAbility(String) - Method in class FakeToken
 
removeScript(EveryFrameScript) - Method in class FakeToken
 
removeScriptsOfClass(Class) - Method in class FakeToken
 
removeTag(String) - Method in class FakeToken
 
resize(Vector2f, float, Vector2f) - Static method in class VectorUtils
Scales a vector to the requested length and stores the result in a destination vector.
resize(Vector2f, float) - Static method in class VectorUtils
Scales a vector to the requested length.
rotate(Vector2f, float, Vector2f) - Static method in class VectorUtils
Rotates a Vector2f by a specified amount and stores the result in a destination vector.
rotate(Vector2f, float) - Static method in class VectorUtils
Rotates a Vector2f by a specified amount.
rotate(List<Vector2f>, float) - Static method in class VectorUtils
Rotates a List of Vector2fs by a specified amount.
rotateAroundPivot(Vector2f, Vector2f, float, Vector2f) - Static method in class VectorUtils
Rotates a Vector2f by a specified amount around a pivot point and stores the result in a destination vector.
rotateAroundPivot(Vector2f, Vector2f, float) - Static method in class VectorUtils
Rotates a Vector2f by a specified amount around a pivot point.
rotateAroundPivot(List<Vector2f>, Vector2f, float) - Static method in class VectorUtils
Rotates a List of Vector2fs by a specified amount around a pivot point.
runCommand(String, BaseCommand.CommandContext) - Method in class FontStressTest
 

S

save() - Method in class JSONUtils.CommonDataJSONObject
Saves this JSONObject's contents to common data.
setActivePerson(PersonAPI) - Method in class FakeToken
 
setAlignment(LazyFont.TextAlignment) - Method in class LazyFont.DrawableString
Sets which side of the text area the text will be aligned with.
setAlwaysUseSensorFaderBrightness(Boolean) - Method in class FakeToken
 
setAnchor(LazyFont.TextAnchor) - Method in class LazyFont.DrawableString
Sets the anchor (origin when drawing) for this LazyFont.DrawableString.
setAngle(float) - Method in class EllipticalOrbit
Explicitly sets where along our orbital path we should be.
setAutogenJumpPointNameInHyper(String) - Method in class FakeToken
 
setBaseColor(Color) - Method in class LazyFont.DrawableString
Sets the default color of drawn text.
setBlendDest(int) - Method in class LazyFont.DrawableString
Sets the blend destination factor used by glBlendFunc() when rendering this block of text.
setBlendSrc(int) - Method in class LazyFont.DrawableString
Sets the blend source factor used by glBlendFunc() when rendering this block of text.
setCircularOrbit(SectorEntityToken, float, float, float) - Method in class FakeToken
 
setCircularOrbitAngle(float) - Method in class FakeToken
 
setCircularOrbitPointingDown(SectorEntityToken, float, float, float) - Method in class FakeToken
 
setCircularOrbitWithSpin(SectorEntityToken, float, float, float, float, float) - Method in class FakeToken
 
setContainingLocation(LocationAPI) - Method in class FakeToken
 
setCustomDescriptionId(String) - Method in class FakeToken
 
setCustomInteractionDialogImageVisual(InteractionDialogImageVisual) - Method in class FakeToken
 
setDetectionRangeDetailsOverrideMult(Float) - Method in class FakeToken
 
setDiscoverable(Boolean) - Method in class FakeToken
 
setDiscoveryXP(Float) - Method in class FakeToken
 
setEntity(SectorEntityToken) - Method in class EllipticalOrbit
Called by Starsector itself - you can ignore this.
setEntity(SectorEntityToken) - Method in class KeplerOrbit
Called by Starsector itself - you can ignore this.
setExpired(boolean) - Method in class FakeToken
 
setFacing(float) - Method in class FakeToken
 
setFaction(String) - Method in class FakeToken
 
setFixedLocation(float, float) - Method in class FakeToken
 
setFontSize(float) - Method in class LazyFont.DrawableString
Changes the font size that this text will be rendered at.
setFreeTransfer(boolean) - Method in class FakeToken
 
setId(String) - Method in class FakeToken
 
setInteractionImage(String, String) - Method in class FakeToken
 
setKerning(int, int) - Method in class LazyFont.LazyChar
 
setKerning(char, int) - Method in class LazyFont.LazyChar
 
setLightSource(SectorEntityToken, Color) - Method in class FakeToken
 
setLocation(float, float) - Method in class FakeToken
 
setLogLevel(Level) - Static method in class LazyLib
Sets the log level used for all other LazyLib classes.
setMarket(MarketAPI) - Method in class FakeToken
 
setMaxHeight(float) - Method in class LazyFont.DrawableString
Changes the maximum height of the area that this text will be rendered within.
setMaxWidth(float) - Method in class LazyFont.DrawableString
Changes the maximum width of the area that this text will be rendered within.
setMemory(MemoryAPI) - Method in class FakeToken
 
setName(String) - Method in class FakeToken
 
setOrbit(OrbitAPI) - Method in class FakeToken
 
setRenderDebugBounds(boolean) - Method in class LazyFont.DrawableString
Sets whether bounds drawing is enabled.
setSalvageXP(Float) - Method in class FakeToken
 
setSensorProfile(Float) - Method in class FakeToken
 
setSensorStrength(Float) - Method in class FakeToken
 
setSkipForJumpPointAutoGen(boolean) - Method in class FakeToken
 
setText(String) - Method in class LazyFont.DrawableString
Replaces all text in the LazyFont.DrawableString with the entered String.
setTransponderOn(boolean) - Method in class FakeToken
 
showMessage(String, String, boolean) - Static method in class MessageUtils
Formats and word-wraps the supplied text, then outputs it as a sector message.
showMessage(String) - Static method in class MessageUtils
Formats and word-wraps the supplied text, then outputs it as a sector message.
SimpleEntity - Class in org.lazywizard.lazylib.combat.entities
A bare-bones implementation of CombatEntityAPI, mostly useful for decorative EMP arc targeting.
SimpleEntity(Vector2f) - Constructor for class SimpleEntity
Creates a CombatEntityAPI that stays in a single, predefined location.
SimpleEntity(WeaponAPI) - Constructor for class SimpleEntity
Creates a CombatEntityAPI that mimics the location of a WeaponAPI.
SimpleEntity(ShipEngineControllerAPI.ShipEngineAPI) - Constructor for class SimpleEntity
Creates a CombatEntityAPI that mimics the location of a ShipEngineControllerAPI.ShipEngineAPI.
SimpleEntity.SimpleEntityType - Enum in org.lazywizard.lazylib.combat.entities
 
sin(double) - Static method in class FastTrig
Get the sine of an angle.
SortEntitiesByDistance(Vector2f, boolean) - Constructor for class CollectionUtils.SortEntitiesByDistance
 
SortEntitiesByDistance(Vector2f) - Constructor for class CollectionUtils.SortEntitiesByDistance
 
SortTokensByDistance(Vector2f, boolean) - Constructor for class CollectionUtils.SortTokensByDistance
 
SortTokensByDistance(Vector2f) - Constructor for class CollectionUtils.SortTokensByDistance
 
spawnShipOrWingDirectly(String, FleetMemberType, FleetSide, float, Vector2f, float) - Static method in class CombatUtils
Spawns a ship directly onto the battle map, bypassing the fleet reserves.
StringUtils - Class in org.lazywizard.lazylib
Contains methods for working with Strings.

T

testClamp() - Method in class MathUtilsTests
 
testClampAngle() - Method in class MathUtilsTests
 
testClampLength() - Method in class VectorUtilsTests
 
testFastTrig() - Method in class MathUtilsTests
 
testGenRandomColor() - Method in class ColorUtilsTests
 
testGetAngle() - Method in class VectorUtilsTests
 
testGetCallerClass() - Method in class ModUtilsTests
 
testGetCrossProduct() - Method in class VectorUtilsTests
 
testGetDirectionalVector() - Method in class VectorUtilsTests
 
testGetDistance() - Method in class MathUtilsTests
 
testGetDistanceSquared() - Method in class MathUtilsTests
 
testGetFacing() - Method in class VectorUtilsTests
 
testGetMidpoint() - Method in class MathUtilsTests
 
testGetPoint() - Method in class MathUtilsTests
 
testGetRandomNumberInRange() - Method in class MathUtilsTests
 
testGetRandomPointOnLine() - Method in class MathUtilsTests
 
testGetShortestRotation() - Method in class MathUtilsTests
 
testIsPointOnLine() - Method in class MathUtilsTests
 
testIsPointWithinCircle() - Method in class MathUtilsTests
 
testResize() - Method in class VectorUtilsTests
 
testRotate() - Method in class VectorUtilsTests
 
toColor(JSONArray) - Static method in class JSONUtils
Transform a JSONArray of ints into a Color.
toScreenCoordinates(Vector2f) - Static method in class CampaignUtils
Converts worldspace coordinates to screen coordinates.
toScreenCoordinates(Vector2f) - Static method in class CombatUtils
Converts worldspace coordinates to screen coordinates.
toWorldCoordinates(Vector2f) - Static method in class CampaignUtils
Converts screenspace coordinates to world coordinates.
toWorldCoordinates(Vector2f) - Static method in class CombatUtils
Converts screenspace coordinates to world coordinates.
triggerRebuildIfNeeded() - Method in class LazyFont.DrawableString
Triggers a rebuild of the native GPU buffers if needed.
type - Variable in class SimpleEntity
 

U

updateLocation() - Method in class EllipticalOrbit
 
updateLocation() - Method in class KeplerOrbit
 

V

valueOf(String) - Static method in enum CampaignUtils.IncludeRep
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum DefenseType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum SimpleEntity.SimpleEntityType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum LazyFont.TextAlignment
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum LazyFont.TextAnchor
Returns the enum constant of this type with the specified name.
values() - Static method in enum CampaignUtils.IncludeRep
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum DefenseType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum SimpleEntity.SimpleEntityType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum LazyFont.TextAlignment
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum LazyFont.TextAnchor
Returns an array containing the constants of this enum type, in the order they are declared.
VectorUtils - Class in org.lazywizard.lazylib
Contains methods for manipulating Vector2fs.
VectorUtilsTests - Class in <Unnamed>
 
VectorUtilsTests() - Constructor for class VectorUtilsTests
 

W

weapon - Variable in class SimpleEntity
 
WeaponUtils - Class in org.lazywizard.lazylib.combat
Contains methods that deal with weapons and weapon arcs.
wrapString(String, int) - Static method in class StringUtils
Word-wraps a String (ensures it fits within a certain width).
wrapString(String, float, float, float, int) - Method in class LazyFont
Returns the word-wrapping that would be done to a block of text to fit it within a specific area at a specific font size.
wrapString(String, float, float, float) - Method in class LazyFont
Returns the word-wrapping that would be done to a block of text to fit it within a specific area at a specific font size.
wrapString(String, float, float) - Method in class LazyFont
Returns the word-wrapping that would be done to a block of text to fit it within a specific area at a specific font size.
A C D E F G H I J K L M N O R S T U V W 
Skip navigation links
LazyLib