Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- accept(T) - Method in interface CollectionUtils.CollectionFilter
-
Checks if an object should be allowed past this filter.
- addShipToFleet(String, FleetMemberType, CampaignFleetAPI) - Static method in class CampaignUtils
-
Adds a fully crewed, fully combat ready ship to the designated fleet.
- advance(float) - Method in class EllipticalOrbit
-
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 anchoringCombatEntityAPI
. - AnchoredEntity(CombatEntityAPI, Vector2f) - Constructor for class AnchoredEntity
-
Creates a
CombatEntityAPI
that follows and rotates with another anchoringCombatEntityAPI
. - 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, float, float) - Static method in class CombatUtils
-
Apply force to an object.
- applyForce(CombatEntityAPI, Vector2f, 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.
- ARMOR - Enum constant in enum class DefenseType
- AT - Enum constant in enum class CampaignUtils.IncludeRep
-
Equivalent to
==
. - AT_OR_HIGHER - Enum constant in enum class CampaignUtils.IncludeRep
-
Equivalent to
>=
. - AT_OR_LOWER - Enum constant in enum class CampaignUtils.IncludeRep
-
Equivalent to
<=
. - 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).
B
- BOTTOM_CENTER - Enum constant in enum class LazyFont.TextAnchor
-
Text will be drawn centered above the origin.
- BOTTOM_LEFT - Enum constant in enum class LazyFont.TextAnchor
-
Text will be drawn above and to the right of the origin.
- BOTTOM_RIGHT - Enum constant in enum class LazyFont.TextAnchor
-
Text will be drawn below and to the left of the origin.
- buildUntilLimit(String, float, float) - Method in class LazyFont
-
Returns the longest
String
that will fit within a single line, given the space limits passed in.
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 Class in org.lazywizard.lazylib.campaign
- 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.
- CENTER - Enum constant in enum class LazyFont.TextAlignment
-
Text will be drawn centered within the text area.
- CENTER - Enum constant in enum class LazyFont.TextAnchor
-
Text will be drawn centered around the origin.
- CENTER_LEFT - Enum constant in enum class LazyFont.TextAnchor
-
Text will be drawn centered to the right of the origin.
- CENTER_RIGHT - Enum constant in enum class LazyFont.TextAnchor
-
Text will be drawn centered to the left of the origin.
- 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) - Static method in class VectorUtils
-
Reduces a vector's length if it is higher than the passed in argument.
- 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.
- 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, 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.
- clear(JSONObject) - Static method in class JSONUtils
-
Clears all entries in a
JSONObject
. - 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
-
Used with
CollectionUtils.filter(Collection, CollectionUtils.CollectionFilter)
to filter out unwanted entries in aCollection
. - CollectionUtils.SortEntitiesByDistance - Class in org.lazywizard.lazylib
- CollectionUtils.SortTokensByDistance - Class in org.lazywizard.lazylib
- 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.
- 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 severalCollection
s. - combinedSet(Collection<T>...) - Static method in class CollectionUtils
-
Returns a combined
Set
from severalCollection
s. - CommonDataJSONObject(String) - Constructor for class JSONUtils.CommonDataJSONObject
-
Creates a new
JSONObject
that will save to the provided filename in the common data folder. - compare(SectorEntityToken, SectorEntityToken) - Method in class CollectionUtils.SortTokensByDistance
-
Compares the distances of two
SectorEntityToken
s from a central location. - compare(CombatEntityAPI, CombatEntityAPI) - Method in class CollectionUtils.SortEntitiesByDistance
-
Compares the distances of two
CombatEntityAPI
s from a central location. - computeCurrentLocation() - Method in class EllipticalOrbit
- cos(double) - Static method in class FastTrig
-
Get the cosine of an angle.
- createArc(float, float, float, float, float, int) - Static method in class ShapeUtils
-
Creates the vertices for an arc shape.
- createCircle(float, float, float, int) - Static method in class ShapeUtils
-
Creates the vertices for a simple circle.
- createEllipse(float, float, float, float, float, int) - Static method in class ShapeUtils
-
Creates the vertices for an elliptical shape.
- createText() - Method in class LazyFont
-
Create a
LazyFont.DrawableString
with no text, ready for appending. - createText(String) - Method in class LazyFont
-
Create a
LazyFont.DrawableString
with the specified initial text. - createText(String, Color) - Method in class LazyFont
-
Create a
LazyFont.DrawableString
with the specified initial text and color. - 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, 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, 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. - currentAngle - Variable in class EllipticalOrbit
D
- DefenseType - Enum Class 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. - 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
- ENGINE - Enum constant in enum class SimpleEntity.SimpleEntityType
- entity - Variable in class EllipticalOrbit
- equals(float, float) - Static method in class MathUtils
-
Tests for near-equality of floating point numbers.
F
- 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>, List<CollectionUtils.CollectionFilter<T>>) - Static method in class CollectionUtils
-
Filters a
Collection
and returns aList
containing only the entries that the filters accepted. - filter(Collection<T>, CollectionUtils.CollectionFilter<T>) - Static method in class CollectionUtils
-
Filters a
Collection
and returns aList
containing only the entries that the filter 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
- FPI - Static variable in class MathUtils
- FTAU - Static variable in class MathUtils
G
- genRandomColor() - Static method in class ColorUtils
-
Generates a
Color
with randomized RGB components. - getAdvance() - Method in class LazyFont.LazyChar
-
Returns the total amount of horizontal space this character takes up at base font size.
- getAI() - Method in class AnchoredEntity
-
NONFUNCTIONAL/PLACEHOLDER
- 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.
- 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
Vector2f
s in degrees. - getAngleStrict(Vector2f, Vector2f) - Static method in class VectorUtils
-
Returns the angle between two
Vector2f
s in degrees. - getAngularVelocity() - Method in class AnchoredEntity
-
NONFUNCTIONAL/PLACEHOLDER
- 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.
- 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.
- 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.
- getChar(char) - Method in class LazyFont
-
Returns font metadata for a specific character.
- getCollides(Vector2f, Vector2f, Vector2f, float) - Static method in class CollisionUtils
-
Checks if a line connects with a circle.
- getCollisionClass() - Method in class AnchoredEntity
-
NONFUNCTIONAL/PLACEHOLDER
- 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.
- getCollisionRadius() - Method in class AnchoredEntity
-
NONFUNCTIONAL/PLACEHOLDER
- getCrossProduct(Vector2f, Vector2f) - Static method in class VectorUtils
-
Returns the cross product of two
Vector2f
s. - getCustomData() - Method in class AnchoredEntity
-
NONFUNCTIONAL/PLACEHOLDER
- getDefenseAtPoint(ShipAPI, Vector2f) - Static method in class DefenseUtils
-
Determine what
DefenseType
is present at a specific location on aShipAPI
. - getDirectionalVector(Vector2f, Vector2f) - Static method in class VectorUtils
- getDistance(SectorEntityToken, SectorEntityToken) - Static method in class MathUtils
-
Returns the distance between two
SectorEntityToken
s, taking interaction radii into account. - getDistance(SectorEntityToken, Vector2f) - Static method in class MathUtils
-
Returns the distance between a
SectorEntityToken
and aVector2f
, taking interaction radius into account. - getDistance(CombatEntityAPI, CombatEntityAPI) - Static method in class MathUtils
-
Returns the distance between two
CombatEntityAPI
s, taking collision radii into account. - getDistance(CombatEntityAPI, Vector2f) - Static method in class MathUtils
-
Returns the distance between a
CombatEntityAPI
and aVector2f
, taking collision radius into account. - getDistance(Vector2f, Vector2f) - Static method in class MathUtils
-
Returns the distance between two
Vector2f
s. - getDistanceSquared(SectorEntityToken, SectorEntityToken) - Static method in class MathUtils
-
Returns the distance squared between two
SectorEntityToken
s, taking interaction radii into account. - getDistanceSquared(SectorEntityToken, Vector2f) - Static method in class MathUtils
-
Returns the distance squared between a
SectorEntityToken
and aVector2f
, taking interaction radius into account. - getDistanceSquared(CombatEntityAPI, CombatEntityAPI) - Static method in class MathUtils
-
Returns the distance squared between two
CombatEntityAPI
s, taking collision radii into account. - getDistanceSquared(CombatEntityAPI, Vector2f) - Static method in class MathUtils
-
Returns the distance squared between a
CombatEntityAPI
and aVector2f
, taking collision radius into account. - getDistanceSquared(Vector2f, Vector2f) - Static method in class MathUtils
-
Returns the distance squared between two
Vector2f
s (avoids a costly sqrt()). - 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
- getExactBounds() - Method in class AnchoredEntity
-
NONFUNCTIONAL/PLACEHOLDER
- getFacing() - Method in class AnchoredEntity
-
NONFUNCTIONAL/PLACEHOLDER
- 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. - getFleetMember(ShipAPI) - Static method in class CombatUtils
-
Find a
ShipAPI
's correspondingFleetMemberAPI
. - getFocus() - Method in class EllipticalOrbit
-
Returns the object we are orbiting.
- getFont() - Method in class LazyFont.DrawableString
-
Returns a reference to the
LazyFont
used to create thisLazyFont.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.
- getHeight() - Method in class LazyFont.DrawableString
-
Returns the height of the rendered text area.
- getHeight() - Method in class LazyFont.LazyChar
-
Returns the height of the character in the underlying texture atlas.
- getHitpoints() - Method in class AnchoredEntity
-
NONFUNCTIONAL/PLACEHOLDER
- getHostileFleetsInSystem(SectorEntityToken) - Static method in class CampaignUtils
-
Find all hostile fleets towards a
SectorEntityToken
present in that token's location. - getHullLevel() - Method in class AnchoredEntity
-
NONFUNCTIONAL/PLACEHOLDER
- getId() - Method in class LazyFont.LazyChar
-
Returns the Unicode character code matching this character.
- getInfo() - Static method in class LazyLib
-
Gets the library information (for startup messages, etc).
- getKerning(char) - Method in class LazyFont.LazyChar
-
Returns the amount of kerning (extra padding) to add before drawing this character immmediately after the other.
- getKerning(int) - Method in class LazyFont.LazyChar
-
Returns the amount of kerning (extra padding) to add before drawing this character immmediately after the other.
- getKernings() - Method in class LazyFont.LazyChar
-
Returns a map containing the amount of kerning (extra padding) to add before drawing this character immmediately after various others.
- 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. - getLogLevel() - Static method in class LazyLib
-
Returns the log level used for all other LazyLib classes.
- getMass() - Method in class AnchoredEntity
-
NONFUNCTIONAL/PLACEHOLDER
- getMaxHeight() - Method in class LazyFont.DrawableString
-
Returns the maximum height of the area that this text will be rendered within.
- getMaxHitpoints() - Method in class AnchoredEntity
-
NONFUNCTIONAL/PLACEHOLDER
- getMaxWidth() - Method in class LazyFont.DrawableString
-
Returns the maximum width of the area that this text will be rendered within.
- 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
, ornull
if the ship hasn't taken any armor damage. - 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.
- getOrbitalPeriod() - Method in class EllipticalOrbit
- getOrbitAngle() - Method in class EllipticalOrbit
-
Returns the offset angle of the ellipsis used as a path.
- 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.
- getOwner() - Method in class AnchoredEntity
-
NONFUNCTIONAL/PLACEHOLDER
- 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.
- 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
Vector2f
s. - 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.
- getShield() - Method in class AnchoredEntity
-
NONFUNCTIONAL/PLACEHOLDER
- 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
. - getSupportedGameVersion() - Static method in class LazyLib
-
Returns the Starsector release this version was coded for.
- 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
-
The leftmost position of the character in the underlying texture, as a ratio of its total width.
- getTx2() - Method in class LazyFont.LazyChar
-
The rightmost position of the character in the underlying texture, as a ratio of its total width.
- getTy1() - Method in class LazyFont.LazyChar
-
The topmost position of the character in the underlying texture, as a ratio of its total width.
- getTy2() - Method in class LazyFont.LazyChar
-
The bottom-most position of the character in the underlying texture, as a ratio of its total width.
- getType() - Method in class SimpleEntity
-
Returns the
SimpleEntity.SimpleEntityType
corresponding to the constructor used to create this object. - getVelocity() - Method in class AnchoredEntity
-
Returns the velocity of this entity's anchor (and by definition this entity's velocity as well).
- getVelocity() - Method in class SimpleEntity
-
NONFUNCTIONAL/PLACEHOLDER
- getVersion() - Static method in class LazyLib
-
Returns the running version of LazyLib.
- 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
-
Returns the width of the character in the underlying texture atlas.
- getXOffset() - Method in class LazyFont.LazyChar
-
Returns how much extra empty space to add to the left of this character before drawing it.
- getYOffset() - Method in class LazyFont.LazyChar
-
Returns how much extra empty space to add to the top of this character before drawing it.
- glColor(Color) - 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, float, boolean) - Static method in class ColorUtils
-
Sets the OpenGL color using an AWT
Color
object.
H
- hasArmorDamage(ShipAPI) - Static method in class DefenseUtils
-
Checks if a ship has taken any armor damage.
- hasHullDamage(ShipAPI) - Static method in class DefenseUtils
-
Checks if a ship has taken any hull damage.
- HIGHER - Enum constant in enum class CampaignUtils.IncludeRep
-
Equivalent to
>
. - HULL - Enum constant in enum class DefenseType
I
- implode(Class<? extends Enum>) - Static method in class CollectionUtils
- implode(Class<? extends Enum>, String) - Static method in class CollectionUtils
- implode(Collection) - Static method in class CollectionUtils
-
Creates a comma-separated
String
from aCollection
's entries. - implode(Collection, String) - Static method in class CollectionUtils
-
Combines and separates a
Collection
ofString
s. - indent(String, String) - Static method in class StringUtils
- IOUtils - Class in org.lazywizard.lazylib
-
Contains classes for reading and writing files within the game's classloader restrictions.
- 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.
- 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 AnchoredEntity
-
NONFUNCTIONAL/PLACEHOLDER
- 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.
- isPointInBounds(Vector2f) - Method in class AnchoredEntity
-
NONFUNCTIONAL/PLACEHOLDER
- isPointOnLine(Vector2f, Vector2f, Vector2f) - Static method in class MathUtils
-
Check if a point is along the line between two
Vector2f
s. - 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.
- 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 aWeaponAPI
. - isWithinRange(SectorEntityToken, SectorEntityToken, float) - Static method in class MathUtils
-
Check if two
SectorEntityToken
s 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
CombatEntityAPI
s 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).
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 Class in org.lazywizard.lazylib.ui
-
Represents the alignment of text within a
LazyFont.DrawableString
's render area. - LazyFont.TextAnchor - Enum Class in org.lazywizard.lazylib.ui
-
Represents the origin of drawing for
LazyFont.DrawableString
s. - LazyLib - Class in org.lazywizard.lazylib
-
Contains information on the current version of LazyLib.
- LazyLib() - Constructor for class LazyLib
- LEFT - Enum constant in enum class LazyFont.TextAlignment
-
Text will align with the left side of the text area.
- LINE_LENGTH - Static variable in class MessageUtils
-
How long a line can be before being split by
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) - Static method in class JSONUtils
-
Loads a JSON file from common data, or creates it if it does not already exist.
- 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.
- loadFont(String) - Static method in class LazyFont
-
Loads a bitmap font and returns the
LazyFont
representation. - location - Variable in class SimpleEntity
- LOWER - Enum constant in enum class CampaignUtils.IncludeRep
-
Equivalent to
<
.
M
- makeCopy() - Method in class EllipticalOrbit
- MathUtils - Class in org.lazywizard.lazylib
-
Contains methods for working with vectors, angles, distances, and circles.
- MessageUtils - Class in org.lazywizard.lazylib.campaign
-
Allows formatted, multi-line, word-wrapped sector messages
- MOD_ID - Static variable in class LazyLib
- ModUtils - Class in org.lazywizard.lazylib
-
Contains methods for dealing with mod level (non-gameplay) tasks.
- moveCargo(CargoAPI, CargoAPI) - Static method in class CargoUtils
-
Moves all
CargoStackAPI
s from oneCargoAPI
to another. - moveMothballedShips(CargoAPI, CargoAPI) - Static method in class CargoUtils
-
Moves all mothballed
FleetMemberAPI
s from oneCargoAPI
to another. - moveStack(CargoStackAPI, CargoAPI) - Static method in class CargoUtils
-
Moves an entire
CargoStackAPI
from its current location to anotherCargoAPI
. - moveStack(CargoStackAPI, SectorEntityToken) - Static method in class CargoUtils
-
Moves an entire
CargoStackAPI
from its current location to theCargoAPI
of anotherSectorEntityToken
.
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.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.
P
- PHASE_OR_MISS - Enum constant in enum class DefenseType
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
- removeCustomData(String) - Method in class AnchoredEntity
-
NONFUNCTIONAL/PLACEHOLDER
- resize(Vector2f, float) - Static method in class VectorUtils
-
Scales a vector to the requested length.
- resize(Vector2f, float, Vector2f) - Static method in class VectorUtils
-
Scales a vector to the requested length and stores the result in a destination vector.
- RIGHT - Enum constant in enum class LazyFont.TextAlignment
-
Text will align with the right of the text area.
- rotate(List<Vector2f>, float) - Static method in class VectorUtils
- rotate(Vector2f, float) - Static method in class VectorUtils
-
Rotates a
Vector2f
by a specified amount. - rotate(Vector2f, float, Vector2f) - Static method in class VectorUtils
-
Rotates a
Vector2f
by a specified amount and stores the result in a destination vector. - rotateAroundPivot(List<Vector2f>, Vector2f, float) - Static method in class VectorUtils
- rotateAroundPivot(Vector2f, Vector2f, float) - Static method in class VectorUtils
-
Rotates a
Vector2f
by a specified amount around a pivot point. - 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.
S
- save() - Method in class JSONUtils.CommonDataJSONObject
-
Saves this
JSONObject
's contents to common data. - setAlignment(LazyFont.TextAlignment) - Method in class LazyFont.DrawableString
-
Sets which side of the text area the text will be aligned with.
- 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.
- setAngularVelocity(float) - Method in class AnchoredEntity
-
NONFUNCTIONAL/PLACEHOLDER
- 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.
- setCollisionClass(CollisionClass) - Method in class AnchoredEntity
-
NONFUNCTIONAL/PLACEHOLDER
- setCollisionRadius(float) - Method in class AnchoredEntity
-
NONFUNCTIONAL/PLACEHOLDER
- setCustomData(String, Object) - Method in class AnchoredEntity
-
NONFUNCTIONAL/PLACEHOLDER
- setEntity(SectorEntityToken) - Method in class EllipticalOrbit
-
Called by Starsector itself - you can ignore this.
- setFacing(float) - Method in class AnchoredEntity
-
NONFUNCTIONAL/PLACEHOLDER
- setFontSize(float) - Method in class LazyFont.DrawableString
-
Changes the font size that this text will be rendered at.
- setHitpoints(float) - Method in class AnchoredEntity
-
NONFUNCTIONAL/PLACEHOLDER
- setKerning(char, int) - Method in class LazyFont.LazyChar
-
Sets the amount of kerning (extra padding) to add before drawing this character immmediately after the other.
- setKerning(int, int) - Method in class LazyFont.LazyChar
-
Sets the amount of kerning (extra padding) to add before drawing this character immmediately after the other.
- setLogLevel(Level) - Static method in class LazyLib
-
Sets the log level used for all other LazyLib classes.
- setMass(float) - Method in class AnchoredEntity
-
NONFUNCTIONAL/PLACEHOLDER
- 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.
- setOwner(int) - Method in class AnchoredEntity
-
NONFUNCTIONAL/PLACEHOLDER
- setRenderDebugBounds(boolean) - Method in class LazyFont.DrawableString
-
Sets whether bounds drawing is enabled.
- setText(String) - Method in class LazyFont.DrawableString
-
Replaces all text in the
LazyFont.DrawableString
with the enteredString
. - ShapeUtils - Class in org.lazywizard.lazylib
-
Provides methods to calculate vertices of common shapes.
- SHIELD - Enum constant in enum class DefenseType
- showMessage(String) - Static method in class MessageUtils
-
Formats and word-wraps the supplied text, then outputs it as a sector message.
- showMessage(String, String, boolean) - 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(ShipEngineControllerAPI.ShipEngineAPI) - Constructor for class SimpleEntity
-
Creates a
CombatEntityAPI
that mimics the location of aShipEngineControllerAPI.ShipEngineAPI
. - SimpleEntity(WeaponAPI) - Constructor for class SimpleEntity
-
Creates a
CombatEntityAPI
that mimics the location of aWeaponAPI
. - SimpleEntity(Vector2f) - Constructor for class SimpleEntity
-
Creates a
CombatEntityAPI
that stays in a single, predefined location. - SimpleEntity.SimpleEntityType - Enum Class in org.lazywizard.lazylib.combat.entities
- sin(double) - Static method in class FastTrig
-
Get the sine of an angle.
- SortEntitiesByDistance(Vector2f) - Constructor for class CollectionUtils.SortEntitiesByDistance
- SortEntitiesByDistance(Vector2f, boolean) - Constructor for class CollectionUtils.SortEntitiesByDistance
- SortTokensByDistance(Vector2f) - Constructor for class CollectionUtils.SortTokensByDistance
- SortTokensByDistance(Vector2f, boolean) - 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
String
s.
T
- toColor(JSONArray) - Static method in class JSONUtils
- toFloatArray(List<Vector2f>) - Static method in class VectorUtils
- TOP_CENTER - Enum constant in enum class LazyFont.TextAnchor
-
Text will be drawn centered below the origin.
- TOP_LEFT - Enum constant in enum class LazyFont.TextAnchor
-
Text will be drawn below and to the right of the origin.
- TOP_RIGHT - Enum constant in enum class LazyFont.TextAnchor
-
Text will be drawn below and to the left of the origin.
- 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.
- toVectorList(float[]) - Static method in class VectorUtils
- 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
V
- valueOf(String) - Static method in enum class CampaignUtils.IncludeRep
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class DefenseType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class SimpleEntity.SimpleEntityType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class LazyFont.TextAlignment
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class LazyFont.TextAnchor
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class CampaignUtils.IncludeRep
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class DefenseType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class SimpleEntity.SimpleEntityType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class LazyFont.TextAlignment
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class LazyFont.TextAnchor
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VECTOR - Enum constant in enum class SimpleEntity.SimpleEntityType
- VectorUtils - Class in org.lazywizard.lazylib
-
Contains methods for manipulating
Vector2f
s.
W
- wasRemoved() - Method in class AnchoredEntity
-
NONFUNCTIONAL/PLACEHOLDER
- weapon - Variable in class SimpleEntity
- WEAPON - Enum constant in enum class SimpleEntity.SimpleEntityType
- WeaponUtils - Class in org.lazywizard.lazylib.combat
-
Contains methods that deal with weapons and weapon arcs.
- 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.
- 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, 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, int) - Static method in class StringUtils
-
Word-wraps a
String
(ensures it fits within a certain width).
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form