Index

A C D E F G H I J K L M N O P Q R S T U W X Y Z 
All Classes and Interfaces|All Packages|Constant Field Values

A

add(Animatable<?>) - Method in class nl.saxion.gameapp.animation.Timeline
Add an Animatable sequentially: it starts after the previous animations finish.
add(Animatable<?>, float) - Method in class nl.saxion.gameapp.animation.Timeline
Add an Animatable with a specific delay.
addAnimation(String, TextureRegion[], float, boolean) - Static method in class nl.saxion.gameapp.GameApp
Adds a new animation using manually specified frames.
addAnimationFrameFromAtlas(String, String, String) - Static method in class nl.saxion.gameapp.GameApp
Adds a single region from an atlas to an existing animation.
addAnimationFrameFromSpritesheet(String, String, int, int) - Static method in class nl.saxion.gameapp.GameApp
Adds a single frame from a spritesheet (by row and column) to an existing animation.
addAnimationFromAtlas(String, String, String, float, boolean) - Static method in class nl.saxion.gameapp.GameApp
Creates a new animation using all regions in a given atlas that match a prefix.
addAnimationFromSpritesheet(String, String, float, boolean) - Static method in class nl.saxion.gameapp.GameApp
Adds a new animation using all frames from the specified spritesheet.
addButton(String, String, float, float, float, float, String) - Static method in class nl.saxion.gameapp.GameApp
Adds a TextButton to the currently active HUD.
addCheckBox(String, String, float, float, String, boolean) - Static method in class nl.saxion.gameapp.GameApp
Adds a CheckBox to the currently active HUD.
addCircleHitbox(float, float, float) - Method in class nl.saxion.gameapp.gameobject.GameObject
Adds a circular hitbox defined in relative percentages.
addColor(String, int, int, int) - Static method in class nl.saxion.gameapp.GameApp
Adds a named color to the global registry using RGB components (0-255) with full opacity.
addColor(String, int, int, int, int) - Static method in class nl.saxion.gameapp.GameApp
Adds a named color to the global registry using RGBA components (0-255).
addColor(String, Color) - Static method in class nl.saxion.gameapp.GameApp
Adds a named Color to the global color registry.
addCustomUIComponent(String, Actor) - Static method in class nl.saxion.gameapp.GameApp
Adds a custom LibGDX Actor to the currently active HUD.
addEmptyAnimation(String, float, boolean) - Static method in class nl.saxion.gameapp.GameApp
Creates an empty animation with a given frame duration and loop flag.
addFont(String, BitmapFont) - Static method in class nl.saxion.gameapp.GameApp
Registers an already created BitmapFont under a given name.
addFont(String, String, float) - Static method in class nl.saxion.gameapp.GameApp
Overload: Adds a font that scales to world height by default.
addFont(String, String, float, boolean) - Static method in class nl.saxion.gameapp.GameApp
Loads a TTF or OTF font, optionally scaling it to world height or keeping pixel size.
addFrame(TextureRegion) - Method in class nl.saxion.gameapp.animation.SpriteAnimation
Adds a single frame to the animation.
addHitbox(float, float, float, float) - Method in class nl.saxion.gameapp.gameobject.GameObject
Adds a rectangular hitbox defined in relative percentages (0–1).
addHitbox(float, float, float, float) - Method in class nl.saxion.gameapp.gameobject.RotatableGameObject
Adds a rectangular hitbox in relative percentages.
addHitbox(Hitbox) - Method in class nl.saxion.gameapp.gameobject.GameObject
Adds a custom hitbox to this GameObject.
addHitbox(Hitbox) - Method in class nl.saxion.gameapp.gameobject.RotatableGameObject
Adds a hitbox to this RotatableGameObject.
addInterpolator(String, float, float, float, Interpolation) - Static method in class nl.saxion.gameapp.GameApp
Creates a new interpolator with the given name.
addInterpolator(String, float, float, float, String) - Static method in class nl.saxion.gameapp.GameApp
Creates a new interpolator with the given name.
addItemToStore(String, Object) - Static method in class nl.saxion.gameapp.GameApp
Add item to the application store, so that it can be used in multiple screens.
addLabel(String, String, float, float, String) - Static method in class nl.saxion.gameapp.GameApp
Adds a static Label to the currently active HUD.
addMusic(String, String) - Static method in class nl.saxion.gameapp.GameApp
Loads and stores a music track from a file path under the given name.
addParticleEffect(String, String) - Static method in class nl.saxion.gameapp.GameApp
Load a particle effect and create a pool for it.
addPolygonHitbox(float[]) - Method in class nl.saxion.gameapp.gameobject.GameObject
Adds a polygon hitbox defined in relative percentages.
addProgressBar(String, String, float, float, float, float, float, float, boolean, float) - Static method in class nl.saxion.gameapp.GameApp
Adds a ProgressBar to the currently active HUD.
addScreen(String, Screen) - Static method in class nl.saxion.gameapp.GameApp
Register a screen with a unique name.
addSelectBox(String, String, float, float, float, float, String...) - Static method in class nl.saxion.gameapp.GameApp
Adds a SelectBox (drop-down menu) to the currently active HUD.
addSkin(String, String) - Static method in class nl.saxion.gameapp.GameApp
Adds a skin to the internal skin registry by loading it from a JSON file.
addSlider(String, String, float, float, float, float, float, float, float, boolean) - Static method in class nl.saxion.gameapp.GameApp
Adds a Slider to the currently active HUD.
addSound(String, String) - Static method in class nl.saxion.gameapp.GameApp
Loads and stores a sound effect from a file path under the given name.
addSpriteSheet(String, String, int, int) - Static method in class nl.saxion.gameapp.GameApp
Loads a spritesheet from a file, slices it into frames, and stores the frames.
addStyledFont(String, String, int, Color, float, Color, int, int, Color, boolean) - Static method in class nl.saxion.gameapp.GameApp
Loads a styled TTF font with optional border and shadow, with world-scaling or pixel-perfect option.
addStyledFont(String, String, int, String, float, String, int, int, String, boolean) - Static method in class nl.saxion.gameapp.GameApp
Styled font with named colors (throws if color names not found).
addTextField(String, String, float, float, float, float, String) - Static method in class nl.saxion.gameapp.GameApp
Adds a TextField (input box) to the currently active HUD.
addTexture(String, String) - Static method in class nl.saxion.gameapp.GameApp
Loads a texture from a file path and stores it in the global texture registry.
addTexture(String, String, Texture.TextureFilter) - Static method in class nl.saxion.gameapp.GameApp
Loads a texture from a file path and stores it in the global texture registry.
addTexture(String, String, Texture.TextureFilter, Texture.TextureFilter) - Static method in class nl.saxion.gameapp.GameApp
Loads a texture from a file path and stores it in the global texture registry.
addTextureAtlas(String, String) - Static method in class nl.saxion.gameapp.GameApp
Loads a texture atlas and stores it in the internal atlas map.
addTimer(String, float, boolean) - Static method in class nl.saxion.gameapp.GameApp
Add a timer with simple looping boolean.
addTimer(String, float, int) - Static method in class nl.saxion.gameapp.GameApp
Add a timer.
angleBetween(float, float, float, float) - Static method in class nl.saxion.gameapp.GameApp
Calculates the angle in degrees from the first point to the second point.
Animatable<T> - Class in nl.saxion.gameapp.animation
Represents any object that can be animated or interpolated over time.
Animatable() - Constructor for class nl.saxion.gameapp.animation.Animatable
 
assertCondition(boolean, String) - Static method in class nl.saxion.gameapp.GameApp
Checks a condition and prints a message if it fails.

C

CameraControlledGameScreen - Class in nl.saxion.gameapp.screens
A CameraControlledGameScreen is a GameScreen with a camera that follows a dynamic target.
CameraControlledGameScreen(int, int, float, float) - Constructor for class nl.saxion.gameapp.screens.CameraControlledGameScreen
 
centerOn(float, float) - Method in class nl.saxion.gameapp.gameobject.GameObject
Centers the object on the specified coordinates.
CIRCLE_NUM_SEGMENTS - Static variable in class nl.saxion.gameapp.gameobject.hitbox.PolygonHitbox
 
CircleHitbox - Class in nl.saxion.gameapp.gameobject.hitbox
Represents a circular hitbox defined relative to the size of its parent GameObject.
CircleHitbox(GameObject, float, float, float) - Constructor for class nl.saxion.gameapp.gameobject.hitbox.CircleHitbox
Creates a new circular hitbox relative to the parent GameObject.
circleOverlap(float, float, float, float, float, float) - Static method in class nl.saxion.gameapp.GameApp
Checks if two circles overlap.
circleOverlap(Circle, Circle) - Static method in class nl.saxion.gameapp.GameApp
 
clamp(float, float, float) - Static method in class nl.saxion.gameapp.GameApp
Clamps a value to be within the specified minimum and maximum range.
clearMask() - Static method in class nl.saxion.gameapp.GameApp
Clears the mask completely.
clearScreen() - Static method in class nl.saxion.gameapp.GameApp
Clears the screen to black (0, 0, 0).
clearScreen(int, int, int) - Static method in class nl.saxion.gameapp.GameApp
Clears the screen to the specified RGB color.
clearScreen(Color) - Static method in class nl.saxion.gameapp.GameApp
Clears the screen using the specified Color.
clearScreen(String) - Static method in class nl.saxion.gameapp.GameApp
Clears the screen using a named color from the color registry.
collidesWith(GameObject) - Method in class nl.saxion.gameapp.gameobject.GameObject
Checks if this GameObject collides with another GameObject, considering all hitboxes.
contains(Vector2) - Method in class nl.saxion.gameapp.gameobject.GameObject
Checks if a given point is inside this GameObject's bounding rectangle.
create() - Static method in class nl.saxion.gameapp.animation.Timeline
 
create() - Method in class nl.saxion.gameapp.GameApp.GameImpl
 
createCrossPlatformGame(String) - Static method in class nl.saxion.gameapp.GameApp
Creates a new GameImpl instance for cross-platform backends (Android, iOS, WebGL).

D

debug(Object...) - Static method in class nl.saxion.gameapp.GameApp
Prints multiple values in a single line.
delay(float) - Method in class nl.saxion.gameapp.animation.Tween
Set a delay before starting.
directionTo(GameObject) - Method in class nl.saxion.gameapp.gameobject.GameObject
Returns a normalized direction vector from this GameObject to another.
disableTransparency() - Static method in class nl.saxion.gameapp.GameApp
Disable transparency for shape render and sprite batch.
dispose() - Method in class nl.saxion.gameapp.GameApp.GameImpl
 
dispose() - Method in class nl.saxion.gameapp.screens.GameScreen
Called when the screen is disposed of and its resources should be released.
disposeAnimation(String) - Static method in class nl.saxion.gameapp.GameApp
Removes an animation.
disposeAtlas(String) - Static method in class nl.saxion.gameapp.GameApp
Removes the atlas and disposes it from memory.
disposeFont(String) - Static method in class nl.saxion.gameapp.GameApp
Remove the font and unload it from the memory.
disposeInterpolator(String) - Static method in class nl.saxion.gameapp.GameApp
Removes an interpolator from the internal registry.
disposeMusic(String) - Static method in class nl.saxion.gameapp.GameApp
Remove the music and unload it from the memory.
disposeParticleEffect(String) - Static method in class nl.saxion.gameapp.GameApp
Remove the particle effect by name.
disposeSkin(String) - Static method in class nl.saxion.gameapp.GameApp
Disposes of a skin in the registry.
disposeSound(String) - Static method in class nl.saxion.gameapp.GameApp
Remove the sound and unload it from the memory.
disposeSpritesheet(String) - Static method in class nl.saxion.gameapp.GameApp
Removes the spritesheet and disposes its underlying Texture.
disposeTexture(String) - Static method in class nl.saxion.gameapp.GameApp
Remove the texture and unload it from the memory.
disposeTimer(String) - Static method in class nl.saxion.gameapp.GameApp
Dispose of timer.
disposeUIElements() - Static method in class nl.saxion.gameapp.GameApp
Removes all UI elements from the current HUD stage.
distance(float, float, float, float) - Static method in class nl.saxion.gameapp.GameApp
Calculates the distance between two points.
distanceTo(GameObject) - Method in class nl.saxion.gameapp.gameobject.GameObject
Calculates the Euclidean distance from this GameObject to another.
drawAnimation(String, float, float) - Static method in class nl.saxion.gameapp.GameApp
Draws the current frame of the animation at the specified bottom-left position.
drawAnimation(String, float, float, float, float) - Static method in class nl.saxion.gameapp.GameApp
Draws the current frame of the animation at the specified position and size.
drawAnimation(String, float, float, float, float, float, boolean, boolean) - Static method in class nl.saxion.gameapp.GameApp
Draws the current frame of the animation at the specified position, size, rotation, and flipping.
drawAnimationCentered(String, float, float) - Static method in class nl.saxion.gameapp.GameApp
Draws the current frame of the animation centered at the specified position.
drawAnimationCentered(String, float, float, float, float) - Static method in class nl.saxion.gameapp.GameApp
Draws the current frame of the animation centered at the specified position with the given size.
drawAnimationCentered(String, float, float, float, float, float, boolean, boolean) - Static method in class nl.saxion.gameapp.GameApp
Draws the current frame of the animation centered at the specified position with size, rotation, and flipping.
drawAtlasRegion(String, String, float, float) - Static method in class nl.saxion.gameapp.GameApp
Draws a region from an atlas at the specified position.
drawAtlasRegion(String, String, float, float, float, float) - Static method in class nl.saxion.gameapp.GameApp
Draws a region from an atlas at the specified position with scaling.
drawAtlasRegion(String, String, float, float, float, float, float, boolean, boolean) - Static method in class nl.saxion.gameapp.GameApp
Draws a region from an atlas at the specified position with scaling, rotation, and flipping.
drawAtlasRegionCentered(String, String, float, float) - Static method in class nl.saxion.gameapp.GameApp
Draws a region from an atlas centered at a given position.
drawAtlasRegionCentered(String, String, float, float, float, float) - Static method in class nl.saxion.gameapp.GameApp
Draws a region from an atlas centered with scaling.
drawAtlasRegionCentered(String, String, float, float, float, float, float, boolean, boolean) - Static method in class nl.saxion.gameapp.GameApp
Draws a region from an atlas centered with scaling, rotation, and flipping.
drawCircle(float, float, float) - Static method in class nl.saxion.gameapp.GameApp
Draws a circle.
drawCircle(float, float, float, int) - Static method in class nl.saxion.gameapp.GameApp
Draws a circle with a specified number of segments.
drawCircle(float, float, float, int, Color) - Static method in class nl.saxion.gameapp.GameApp
Draws a circle in a specific color with a specified number of segments.
drawCircle(float, float, float, int, String) - Static method in class nl.saxion.gameapp.GameApp
Draws a circle in a specific color with a specified number of segments.
drawCircle(float, float, float, Color) - Static method in class nl.saxion.gameapp.GameApp
Draws a circle in a specific color.
drawCircle(float, float, float, String) - Static method in class nl.saxion.gameapp.GameApp
Draws a circle in a specific color.
drawEllipse(float, float, float, float) - Static method in class nl.saxion.gameapp.GameApp
Draws an ellipse.
drawEllipse(float, float, float, float, Color) - Static method in class nl.saxion.gameapp.GameApp
Draws an ellipse in a specific color.
drawEllipse(float, float, float, float, String) - Static method in class nl.saxion.gameapp.GameApp
Draws an ellipse in a specific color.
drawEllipseCentered(float, float, float, float) - Static method in class nl.saxion.gameapp.GameApp
Draws an ellipse centered on a specified point.
drawEllipseCentered(float, float, float, float, Color) - Static method in class nl.saxion.gameapp.GameApp
Draws an ellipse centered on a specified point with a Color object.
drawEllipseCentered(float, float, float, float, String) - Static method in class nl.saxion.gameapp.GameApp
Draws an ellipse centered on a specified point with a color name.
drawHitboxes(String) - Method in class nl.saxion.gameapp.gameobject.GameObject
Draws all hitboxes of this GameObject using the given color.
drawLine(float, float, float, float) - Static method in class nl.saxion.gameapp.GameApp
Draws a line.
drawLine(float, float, float, float, Color) - Static method in class nl.saxion.gameapp.GameApp
Draws a line in a specific color.
drawLine(float, float, float, float, String) - Static method in class nl.saxion.gameapp.GameApp
Draws a line in a specific color.
drawPolygon(float[]) - Static method in class nl.saxion.gameapp.GameApp
Draws a polygon.
drawPolygon(float[], Color) - Static method in class nl.saxion.gameapp.GameApp
Draws a polygon in a specific color.
drawPolygon(float[], String) - Static method in class nl.saxion.gameapp.GameApp
Draws a polygon in a specific color.
drawRect(float, float, float, float) - Static method in class nl.saxion.gameapp.GameApp
Draws a rectangle.
drawRect(float, float, float, float, Color) - Static method in class nl.saxion.gameapp.GameApp
Draws a rectangle in a specific color.
drawRect(float, float, float, float, String) - Static method in class nl.saxion.gameapp.GameApp
Draws a rectangle in a specific color.
drawRectCentered(float, float, float, float) - Static method in class nl.saxion.gameapp.GameApp
Draws a rectangle centered on a specified point.
drawRectCentered(float, float, float, float, Color) - Static method in class nl.saxion.gameapp.GameApp
Draws a rectangle centered on a specified point with a Color object.
drawRectCentered(float, float, float, float, String) - Static method in class nl.saxion.gameapp.GameApp
Draws a rectangle centered on a specified point with a color name.
drawRoundedRect(float, float, float, float, float) - Static method in class nl.saxion.gameapp.GameApp
Draws a rounded rectangle using the class's ShapeRenderer.
drawRoundedRect(float, float, float, float, float, Color) - Static method in class nl.saxion.gameapp.GameApp
Draws a rounded rectangle with a specified Color object.
drawRoundedRect(float, float, float, float, float, String) - Static method in class nl.saxion.gameapp.GameApp
Draws a rounded rectangle with a specified color name.
drawRoundedRectCentered(float, float, float, float, float) - Static method in class nl.saxion.gameapp.GameApp
Draws a rounded rectangle centered on a specified point.
drawRoundedRectCentered(float, float, float, float, float, Color) - Static method in class nl.saxion.gameapp.GameApp
Draws a rounded rectangle centered on a specified point with a Color object.
drawRoundedRectCentered(float, float, float, float, float, String) - Static method in class nl.saxion.gameapp.GameApp
Draws a rounded rectangle centered on a specified point with a color name.
drawSpritesheetFrame(String, int, int, float, float) - Static method in class nl.saxion.gameapp.GameApp
Draw a specific frame from a spritesheet at the given position.
drawSpritesheetFrame(String, int, int, float, float, float, float) - Static method in class nl.saxion.gameapp.GameApp
Draw a specific frame with scaling.
drawSpritesheetFrame(String, int, int, float, float, float, float, float, boolean, boolean) - Static method in class nl.saxion.gameapp.GameApp
Draw a specific frame with scaling, rotation, and flipping.
drawSpritesheetFrameCentered(String, int, int, float, float) - Static method in class nl.saxion.gameapp.GameApp
Draw a frame centered at a given position.
drawSpritesheetFrameCentered(String, int, int, float, float, float, float) - Static method in class nl.saxion.gameapp.GameApp
Draw a frame centered with scaling.
drawSpritesheetFrameCentered(String, int, int, float, float, float, float, float, boolean, boolean) - Static method in class nl.saxion.gameapp.GameApp
Draw a frame centered with scaling, rotation, and flipping.
drawText(String, String, float, float, Color) - Static method in class nl.saxion.gameapp.GameApp
Draws text left-bottom aligned at the specified position with a given color.
drawText(String, String, float, float, String) - Static method in class nl.saxion.gameapp.GameApp
Draws text left-bottom aligned at the specified position with a given color.
drawTextCentered(String, String, float, float, Color) - Static method in class nl.saxion.gameapp.GameApp
Draws text centered on a specified point with a given color.
drawTextCentered(String, String, float, float, String) - Static method in class nl.saxion.gameapp.GameApp
Draws text centered on a specified point with a given color.
drawTextHorizontallyCentered(String, String, float, float, Color) - Static method in class nl.saxion.gameapp.GameApp
Draws text horizontally centered at a given X-coordinate with a given Y-coordinate and color.
drawTextHorizontallyCentered(String, String, float, float, String) - Static method in class nl.saxion.gameapp.GameApp
Overload with color as string.
drawTexture(String, float, float) - Static method in class nl.saxion.gameapp.GameApp
Draws a texture at the specified position using the current sprite batch.
drawTexture(String, float, float, float, float) - Static method in class nl.saxion.gameapp.GameApp
Draws a texture at the specified position and size using the current sprite batch.
drawTexture(String, float, float, float, float, float, boolean, boolean) - Static method in class nl.saxion.gameapp.GameApp
Draws a texture at the specified position, size, rotation, and flipping using the current sprite batch.
drawTextureCentered(String, float, float) - Static method in class nl.saxion.gameapp.GameApp
Draws a texture centered at the specified position using the current sprite batch.
drawTextureCentered(String, float, float, float, float) - Static method in class nl.saxion.gameapp.GameApp
Draws a texture centered at the specified position with size using the current sprite batch.
drawTextureCentered(String, float, float, float, float, float, boolean, boolean) - Static method in class nl.saxion.gameapp.GameApp
Draws a texture centered at the specified position with size, rotation, and flipping using the current sprite batch.
drawTextVerticallyCentered(String, String, float, float, Color) - Static method in class nl.saxion.gameapp.GameApp
Draws text vertically centered at a given Y-coordinate with a given X-coordinate and color.
drawTextVerticallyCentered(String, String, float, float, String) - Static method in class nl.saxion.gameapp.GameApp
Overload with color as string.
duration(float) - Method in class nl.saxion.gameapp.animation.Tween
Set the duration of this Tween (for all steps).

E

ease(Interpolation) - Method in class nl.saxion.gameapp.animation.Tween
Set the easing interpolation for this Tween.
enableHUD(int, int) - Method in interface nl.saxion.gameapp.screens.extensions.HUD
Initializes or recreates the HUD with the specified dimensions.
enableHUD(int, int) - Method in class nl.saxion.gameapp.screens.GameScreenWithHUD
Initializes the HUD with a fixed size.
enableTransparency() - Static method in class nl.saxion.gameapp.GameApp
Enable transparency for shape render and sprite batch.
endMask() - Static method in class nl.saxion.gameapp.GameApp
Ends the mask definition and applies it to subsequent drawing.
endShapeRendering() - Static method in class nl.saxion.gameapp.GameApp
Ends the current shape rendering batch.
endSpriteRendering() - Static method in class nl.saxion.gameapp.GameApp
Ends the current sprite rendering batch.
error(String) - Static method in class nl.saxion.gameapp.GameApp
Prints an error message in red.

F

fileExists(String) - Static method in class nl.saxion.gameapp.GameApp
Checks if the save file exists.

G

GameApp - Class in nl.saxion.gameapp
A static utility wrapper around the LibGDX framework that simplifies game development and screen management.
GameApp() - Constructor for class nl.saxion.gameapp.GameApp
 
GameApp.GameImpl - Class in nl.saxion.gameapp
Inner class that extends the Game object of LibGDX Used for initializing the game and loading the first screen.
GameImpl(String) - Constructor for class nl.saxion.gameapp.GameApp.GameImpl
 
GameObject - Class in nl.saxion.gameapp.gameobject
Represents a generic game object in a 2D world.
GameObject(float, float, float, float) - Constructor for class nl.saxion.gameapp.gameobject.GameObject
Creates a new game object with the specified position and size.
GameScreen - Class in nl.saxion.gameapp.screens
An abstract base class representing a single screen in the game.
GameScreen() - Constructor for class nl.saxion.gameapp.screens.GameScreen
 
GameScreenWithHUD - Class in nl.saxion.gameapp.screens
A base game screen that provides a fully functional HUD implementation.
GameScreenWithHUD() - Constructor for class nl.saxion.gameapp.screens.GameScreenWithHUD
 
getAbsoluteBounds() - Method in class nl.saxion.gameapp.gameobject.hitbox.RectangleHitbox
Returns the rectangle in absolute world coordinates, calculated using the parent GameObject's position and size.
getAbsoluteCircle() - Method in class nl.saxion.gameapp.gameobject.hitbox.CircleHitbox
Returns the circle in absolute world coordinates, calculated from the parent GameObject's position and size.
getAbsolutePolygon() - Method in class nl.saxion.gameapp.gameobject.hitbox.PolygonHitbox
Returns the polygon in absolute world coordinates, taking into account the parent GameObject's position and size.
getActiveParticleEffects() - Static method in class nl.saxion.gameapp.GameApp
Get a list with all active particle id's
getAllColors() - Static method in class nl.saxion.gameapp.GameApp
Get the names of all registered colors.
getAllInterpolationNames() - Static method in class nl.saxion.gameapp.animation.Interpolator
Returns all valid string names for interpolation strategies that are supported.
getAnimation(String) - Static method in class nl.saxion.gameapp.GameApp
Retrieves an animation by name.
getAnimationCurrentFrameIndex(String) - Static method in class nl.saxion.gameapp.GameApp
Returns the index of the current frame of the named animation.
getAnimationFrameCount(String) - Static method in class nl.saxion.gameapp.GameApp
Returns the total number of frames in the named animation.
getAtlas(String) - Static method in class nl.saxion.gameapp.GameApp
Get the texture atlas object.
getAtlasRegion(String, String) - Static method in class nl.saxion.gameapp.GameApp
Retrieves a TextureRegion from a loaded texture atlas.
getBottomLeft() - Method in class nl.saxion.gameapp.gameobject.GameObject
Returns the bottom-left corner of the GameObject as a Vector2.
getBottomRight() - Method in class nl.saxion.gameapp.gameobject.GameObject
Returns the bottom-right corner of the GameObject as a Vector2.
getBounds() - Method in class nl.saxion.gameapp.gameobject.GameObject
Returns the bounding rectangle of the GameObject.
getCamera() - Method in class nl.saxion.gameapp.screens.CameraControlledGameScreen
 
getCameraLerp() - Method in class nl.saxion.gameapp.screens.CameraControlledGameScreen
 
getCenterPoint() - Method in class nl.saxion.gameapp.gameobject.GameObject
Returns the center point of the GameObject.
getCenterX() - Method in class nl.saxion.gameapp.gameobject.GameObject
Returns the center x-coordinate of the GameObject.
getCenterY() - Method in class nl.saxion.gameapp.gameobject.GameObject
Returns the center y-coordinate of the GameObject.
getCheckBoxValue(String) - Static method in class nl.saxion.gameapp.GameApp
Returns whether a CheckBox is currently checked.
getColor(String) - Static method in class nl.saxion.gameapp.GameApp
Retrieves a named Color from the global color registry.
getCurrentFrame() - Method in class nl.saxion.gameapp.animation.SpriteAnimation
Returns the current frame of the animation based on elapsed time.
getCurrentFrameIndex() - Method in class nl.saxion.gameapp.animation.SpriteAnimation
Returns the 0-based index of the current frame based on elapsed time.
getCurrentScreen() - Static method in class nl.saxion.gameapp.GameApp
Returns the currently active Screen of the game.
getCurrentScreenName() - Static method in class nl.saxion.gameapp.GameApp
Get the name of the current screen.
getDeltaTime() - Static method in class nl.saxion.gameapp.GameApp
Returns the time elapsed since the last frame, in seconds.
getDuration() - Method in class nl.saxion.gameapp.animation.Interpolator
 
getDuration() - Method in class nl.saxion.gameapp.utils.Timer
Returns timer duration of one cycle.
getElapsed() - Method in class nl.saxion.gameapp.animation.Interpolator
 
getEnd() - Method in class nl.saxion.gameapp.animation.Interpolator
 
getFont(String) - Static method in class nl.saxion.gameapp.GameApp
Retrieves a loaded font by its name.
getFrameCount() - Method in class nl.saxion.gameapp.animation.SpriteAnimation
Returns the total number of frames in this animation.
getFramesPerSecond() - Static method in class nl.saxion.gameapp.GameApp
Returns the current frame rate of the application, in frames per second (FPS).
getHeight() - Method in class nl.saxion.gameapp.gameobject.GameObject
 
getHitboxes() - Method in class nl.saxion.gameapp.gameobject.GameObject
Returns the list of all hitboxes attached to this GameObject.
getHUDCamera() - Method in interface nl.saxion.gameapp.screens.extensions.HUD
Returns the OrthographicCamera used for rendering the HUD.
getHUDCamera() - Method in class nl.saxion.gameapp.screens.GameScreenWithHUD
 
getHUDHeight() - Method in interface nl.saxion.gameapp.screens.extensions.HUD
Returns the height of the HUD in world units or pixels, depending on the implementation.
getHUDHeight() - Method in class nl.saxion.gameapp.screens.GameScreenWithHUD
 
getHUDViewport() - Method in interface nl.saxion.gameapp.screens.extensions.HUD
Returns the FitViewport used by the HUD.
getHUDViewport() - Method in class nl.saxion.gameapp.screens.GameScreenWithHUD
 
getHUDWidth() - Method in interface nl.saxion.gameapp.screens.extensions.HUD
Returns the width of the HUD in world units or pixels, depending on the implementation.
getHUDWidth() - Method in class nl.saxion.gameapp.screens.GameScreenWithHUD
 
getInitialLoops() - Method in class nl.saxion.gameapp.utils.Timer
Returns initial loops (-1 = infinite).
getInterpolationStrategies() - Static method in class nl.saxion.gameapp.GameApp
Get a list of all the possible interpolation strategies available
getInterpolator(String) - Static method in class nl.saxion.gameapp.GameApp
Retrieves an existing interpolator by name.
getItemFromStore(String) - Static method in class nl.saxion.gameapp.GameApp
Get an item from the application store by name.
getLabelValue(String) - Static method in class nl.saxion.gameapp.GameApp
Returns the text of a Label.
getLibGDXGame() - Static method in class nl.saxion.gameapp.GameApp
WARNING: using this object can heavily influence the behaviour of the GameApp.
getMouseHUDPosition() - Method in interface nl.saxion.gameapp.screens.extensions.HUD
Returns the current mouse position in HUD coordinates.
getMouseHUDPosition() - Method in class nl.saxion.gameapp.screens.GameScreenWithHUD
 
getMouseHUDX() - Method in interface nl.saxion.gameapp.screens.extensions.HUD
Returns the mouse's X coordinate in HUD space.
getMouseHUDX() - Method in class nl.saxion.gameapp.screens.GameScreenWithHUD
 
getMouseHUDY() - Method in interface nl.saxion.gameapp.screens.extensions.HUD
Returns the mouse's Y coordinate in HUD space.
getMouseHUDY() - Method in class nl.saxion.gameapp.screens.GameScreenWithHUD
 
getMousePositionInWindow() - Static method in class nl.saxion.gameapp.GameApp
Returns the current position of the mouse in screen coordinates as a Vector2.
getMousePositionInWindowX() - Static method in class nl.saxion.gameapp.GameApp
Returns the current X-coordinate of the mouse cursor in screen coordinates.
getMousePositionInWindowY() - Static method in class nl.saxion.gameapp.GameApp
Returns the current Y-coordinate of the mouse cursor in screen coordinates.
getMouseWorldPosition() - Method in class nl.saxion.gameapp.screens.CameraControlledGameScreen
Convert current mouse position to world coordinates.
getMouseWorldPosition() - Method in interface nl.saxion.gameapp.screens.extensions.WorldSize
Converts the current mouse or touch position from screen coordinates into world coordinates.
getMouseWorldPosition() - Method in class nl.saxion.gameapp.screens.ScalableGameScreen
Converts the current mouse or touch position from screen coordinates into world coordinates.
getMouseX() - Method in class nl.saxion.gameapp.screens.CameraControlledGameScreen
Get the current mouse x position in the world
getMouseX() - Method in interface nl.saxion.gameapp.screens.extensions.WorldSize
Returns the current mouse X position in world coordinates.
getMouseX() - Method in class nl.saxion.gameapp.screens.ScalableGameScreen
Returns the current mouse X position in world coordinates.
getMouseY() - Method in class nl.saxion.gameapp.screens.CameraControlledGameScreen
Get the current mouse y position in the world
getMouseY() - Method in interface nl.saxion.gameapp.screens.extensions.WorldSize
Returns the current mouse Y position in world coordinates.
getMouseY() - Method in class nl.saxion.gameapp.screens.ScalableGameScreen
Returns the current mouse Y position in world coordinates.
getMusic(String) - Static method in class nl.saxion.gameapp.GameApp
 
getName() - Method in class nl.saxion.gameapp.utils.Timer
Returns the timer name.
getParent() - Method in class nl.saxion.gameapp.gameobject.hitbox.Hitbox
Returns the parent GameObject this hitbox belongs to.
getParticleEffectPool(String) - Static method in class nl.saxion.gameapp.GameApp
Only for advanced users: get the particle pool object from the app directly.
getPolygon() - Method in class nl.saxion.gameapp.gameobject.hitbox.PolygonHitbox
 
getProgress() - Method in class nl.saxion.gameapp.utils.Timer
Returns the progress of the current cycle from 0 to 1.
getProgressBarValue(String) - Static method in class nl.saxion.gameapp.GameApp
Retrieves the current value of a ProgressBar on the active HUD.
getRelCenterX() - Method in class nl.saxion.gameapp.gameobject.hitbox.CircleHitbox
 
getRelCenterY() - Method in class nl.saxion.gameapp.gameobject.hitbox.CircleHitbox
 
getRelHeight() - Method in class nl.saxion.gameapp.gameobject.hitbox.RectangleHitbox
 
getRelOffsetX() - Method in class nl.saxion.gameapp.gameobject.hitbox.RectangleHitbox
 
getRelOffsetY() - Method in class nl.saxion.gameapp.gameobject.hitbox.RectangleHitbox
 
getRelRadius() - Method in class nl.saxion.gameapp.gameobject.hitbox.CircleHitbox
 
getRelVertices() - Method in class nl.saxion.gameapp.gameobject.hitbox.PolygonHitbox
 
getRelWidth() - Method in class nl.saxion.gameapp.gameobject.hitbox.RectangleHitbox
 
getRemaining() - Method in class nl.saxion.gameapp.utils.Timer
Remaining time until next trigger.
getRemainingLoops() - Method in class nl.saxion.gameapp.utils.Timer
Returns remaining loops (-1 = infinite).
getRotation() - Method in class nl.saxion.gameapp.gameobject.RotatableGameObject
Returns the current rotation of the object in degrees.
getScreenNames() - Static method in class nl.saxion.gameapp.GameApp
Get a list with all screen names that are defined
getSelectBoxValue(String) - Static method in class nl.saxion.gameapp.GameApp
Returns the currently selected item of a SelectBox.
getShapeRenderer() - Static method in class nl.saxion.gameapp.GameApp
Returns the shared ShapeRenderer instance used for rendering shapes.
getSkin(String) - Static method in class nl.saxion.gameapp.GameApp
Retrieves a skin from the registry by its key.
getSliderValue(String) - Static method in class nl.saxion.gameapp.GameApp
Returns the current value of a Slider.
getSound(String) - Static method in class nl.saxion.gameapp.GameApp
 
getSpriteBatch() - Static method in class nl.saxion.gameapp.GameApp
Returns the shared SpriteBatch instance used for rendering sprites.
getSpritesheetFrame(String, int, int) - Static method in class nl.saxion.gameapp.GameApp
Retrieve a specific frame from a spritesheet.
getSpritesheetNumberOfCols(String) - Static method in class nl.saxion.gameapp.GameApp
Returns the number of columns in the specified spritesheet.
getSpritesheetNumberOfRows(String) - Static method in class nl.saxion.gameapp.GameApp
Returns the number of rows in the specified spritesheet.
getStart() - Method in class nl.saxion.gameapp.animation.Interpolator
 
getStartOffset() - Method in class nl.saxion.gameapp.animation.Tween
 
getTextFieldValue(String) - Static method in class nl.saxion.gameapp.GameApp
Returns the current text of a TextField.
getTextHeight(String, String) - Static method in class nl.saxion.gameapp.GameApp
Returns the height of a given text in pixels when rendered with the specified font.
getTexture(String) - Static method in class nl.saxion.gameapp.GameApp
Retrieves a texture from the global texture registry by name.
getTextureHeight(String) - Static method in class nl.saxion.gameapp.GameApp
Returns the height in pixels of the texture with the given name.
getTextureWidth(String) - Static method in class nl.saxion.gameapp.GameApp
Returns the width in pixels of the texture with the given name.
getTextWidth(String, String) - Static method in class nl.saxion.gameapp.GameApp
Returns the width of a given text in pixels when rendered with the specified font.
getTimer(String) - Static method in class nl.saxion.gameapp.GameApp
Retrieve timer object.
getTimerRemaining(String) - Static method in class nl.saxion.gameapp.GameApp
Get remaining time until next trigger.
getTopLeft() - Method in class nl.saxion.gameapp.gameobject.GameObject
Returns the top-left corner of the GameObject as a Vector2.
getTopRight() - Method in class nl.saxion.gameapp.gameobject.GameObject
Returns the top-right corner of the GameObject as a Vector2.
getTotalDuration() - Method in class nl.saxion.gameapp.animation.Timeline
Returns the total duration of the timeline (last animation's end time)
getTotalDuration() - Method in class nl.saxion.gameapp.animation.Tween
Returns the total duration including all steps and the start delay.
getUIElement(String) - Static method in class nl.saxion.gameapp.GameApp
Retrieves the raw LibGDX Actor for a given UI element key.
getUIStage() - Method in interface nl.saxion.gameapp.screens.extensions.HUD
Get the UI stage for adding UI elements
getUIStage() - Method in class nl.saxion.gameapp.screens.GameScreenWithHUD
 
getViewport() - Method in class nl.saxion.gameapp.screens.CameraControlledGameScreen
 
getViewport() - Method in class nl.saxion.gameapp.screens.ScalableGameScreen
Returns the FitViewport used by this screen.
getViewportBottom() - Method in class nl.saxion.gameapp.screens.CameraControlledGameScreen
Returns the Y-coordinate of the bottom edge of the viewport in world units.
getViewportBounds() - Method in class nl.saxion.gameapp.screens.CameraControlledGameScreen
Returns the current visible bounds of the viewport as a rectangle in world coordinates.
getViewportHeight() - Method in class nl.saxion.gameapp.screens.CameraControlledGameScreen
Returns the height of the viewport in world units.
getViewportLeft() - Method in class nl.saxion.gameapp.screens.CameraControlledGameScreen
Returns the X-coordinate of the left edge of the viewport in world units.
getViewportRight() - Method in class nl.saxion.gameapp.screens.CameraControlledGameScreen
Returns the X-coordinate of the right edge of the viewport in world units.
getViewportTop() - Method in class nl.saxion.gameapp.screens.CameraControlledGameScreen
Returns the Y-coordinate of the top edge of the viewport in world units.
getViewportWidth() - Method in class nl.saxion.gameapp.screens.CameraControlledGameScreen
Returns the width of the viewport in world units.
getWidth() - Method in class nl.saxion.gameapp.gameobject.GameObject
 
getWindowHeight() - Static method in class nl.saxion.gameapp.GameApp
Returns the current height of the game window in pixels.
getWindowWidth() - Static method in class nl.saxion.gameapp.GameApp
Returns the current width of the game window in pixels.
getWorldCamera() - Method in class nl.saxion.gameapp.screens.CameraControlledGameScreen
 
getWorldCamera() - Method in interface nl.saxion.gameapp.screens.extensions.WorldSize
Returns the combined matrix of the world camera.
getWorldCamera() - Method in class nl.saxion.gameapp.screens.ScalableGameScreen
 
getWorldHeight() - Static method in class nl.saxion.gameapp.GameApp
Get the height of the world (this method is identical to calling getWorldWidth() in your own screen object)
getWorldHeight() - Method in class nl.saxion.gameapp.screens.CameraControlledGameScreen
Returns total world height
getWorldHeight() - Method in interface nl.saxion.gameapp.screens.extensions.WorldSize
Returns the height of the virtual game world in world units.
getWorldHeight() - Method in class nl.saxion.gameapp.screens.ScalableGameScreen
Returns the height of the virtual game world in world units.
getWorldWidth() - Static method in class nl.saxion.gameapp.GameApp
Get the width of the world (this method is identical to calling getWorldWidth() in your own screen object)
getWorldWidth() - Method in class nl.saxion.gameapp.screens.CameraControlledGameScreen
Returns total world width
getWorldWidth() - Method in interface nl.saxion.gameapp.screens.extensions.WorldSize
Returns the width of the virtual game world in world units.
getWorldWidth() - Method in class nl.saxion.gameapp.screens.ScalableGameScreen
Returns the width of the virtual game world in world units.
getX() - Method in class nl.saxion.gameapp.gameobject.GameObject
 
getY() - Method in class nl.saxion.gameapp.gameobject.GameObject
 
getZoom() - Method in class nl.saxion.gameapp.screens.CameraControlledGameScreen
 

H

hasAnimation(String) - Static method in class nl.saxion.gameapp.GameApp
Checks if an animation exists.
hasAtlas(String) - Static method in class nl.saxion.gameapp.GameApp
Returns if an atlas is available with the given name
hasColor(String) - Static method in class nl.saxion.gameapp.GameApp
Checks whether a color with the given name exists in the global registry.
hasFont(String) - Static method in class nl.saxion.gameapp.GameApp
Returns if font is available with the given name
hasInterpolator(String) - Static method in class nl.saxion.gameapp.GameApp
Checks whether an interpolator with the given name exists.
hasItemInStore(String) - Static method in class nl.saxion.gameapp.GameApp
Check if an item exists with the given name
hasMusic(String) - Static method in class nl.saxion.gameapp.GameApp
Returns if music is available with the given name
hasParticleEffect(String) - Static method in class nl.saxion.gameapp.GameApp
Checks whether a particle effect pool exists for the given name.
hasSkin(String) - Static method in class nl.saxion.gameapp.GameApp
Checks whether a skin exists in the registry.
hasSound(String) - Static method in class nl.saxion.gameapp.GameApp
Returns if a sound is available with the given name
hasSpritesheet(String) - Static method in class nl.saxion.gameapp.GameApp
Returns if a spritesheet is available with the given name.
hasTexture(String) - Static method in class nl.saxion.gameapp.GameApp
Returns if texture is available with the given name
hasTimer(String) - Static method in class nl.saxion.gameapp.GameApp
Returns true if a timer exists.
hasUIElement(String) - Static method in class nl.saxion.gameapp.GameApp
Checks whether a UI element with the given key exists in the currently active HUD.
height - Variable in class nl.saxion.gameapp.gameobject.GameObject
The height of the object.
hideCursor() - Static method in class nl.saxion.gameapp.GameApp
Hides the system mouse cursor.
Hitbox - Class in nl.saxion.gameapp.gameobject.hitbox
Represents a generic hitbox attached to a GameObject.
Hitbox(GameObject) - Constructor for class nl.saxion.gameapp.gameobject.hitbox.Hitbox
Creates a new hitbox for the given parent GameObject.
hitboxes - Variable in class nl.saxion.gameapp.gameobject.GameObject
The list of hitboxes attached to this object.
HUD - Interface in nl.saxion.gameapp.screens.extensions
Represents a Heads-Up Display (HUD) system for rendering overlay elements such as UI components, score counters, or health bars on top of the main game view.
hudToWorld(Vector2) - Method in interface nl.saxion.gameapp.screens.extensions.HUD
Converts a position in HUD coordinates to world coordinates.
hudToWorld(Vector2) - Method in class nl.saxion.gameapp.screens.GameScreenWithHUD
 
hudXtoWorldX(float) - Method in interface nl.saxion.gameapp.screens.extensions.HUD
Converts a HUD X coordinate to world X coordinate.
hudXtoWorldX(float) - Method in class nl.saxion.gameapp.screens.GameScreenWithHUD
 
hudYtoWorldY(float) - Method in interface nl.saxion.gameapp.screens.extensions.HUD
Converts a HUD Y coordinate to world Y coordinate.
hudYtoWorldY(float) - Method in class nl.saxion.gameapp.screens.GameScreenWithHUD
 

I

Interpolator - Class in nl.saxion.gameapp.animation
Interpolates between two values over time using a specified strategy.
Interpolator(float, float, float, Interpolation) - Constructor for class nl.saxion.gameapp.animation.Interpolator
Creates an interpolator with a specific strategy.
Interpolator(float, float, float, String) - Constructor for class nl.saxion.gameapp.animation.Interpolator
Creates an interpolator using a strategy name as a string.
invertMask() - Static method in class nl.saxion.gameapp.GameApp
Inverts the mask effect.
isAnimationFinished(String) - Static method in class nl.saxion.gameapp.GameApp
Checks if the animation has finished.
isButtonJustPressed(int) - Static method in class nl.saxion.gameapp.GameApp
Returns true if the specified mouse button was just pressed this frame.
isButtonPressed(int) - Static method in class nl.saxion.gameapp.GameApp
Returns true if the specified mouse button is currently held down.
isFinished() - Method in class nl.saxion.gameapp.animation.Animatable
Checks whether the animation or interpolation has finished.
isFinished() - Method in class nl.saxion.gameapp.animation.Interpolator
Find out if the interpolation has finished.
isFinished() - Method in class nl.saxion.gameapp.animation.SpriteAnimation
Checks whether the animation has finished.
isFinished() - Method in class nl.saxion.gameapp.animation.Timeline
Returns true if all animations have finished.
isFinished() - Method in class nl.saxion.gameapp.animation.Tween
 
isFinished() - Method in class nl.saxion.gameapp.utils.Timer
Returns whether timer is finished (limited loops only).
isFullscreen() - Static method in class nl.saxion.gameapp.GameApp
Checks if the game is currently in fullscreen mode.
isHUDEnabled() - Method in interface nl.saxion.gameapp.screens.extensions.HUD
Returns true if the HUD is currently enabled.
isHUDEnabled() - Method in class nl.saxion.gameapp.screens.GameScreenWithHUD
 
isInterpolatorFinished(String) - Static method in class nl.saxion.gameapp.GameApp
Checks whether the interpolator has finished its animation.
isKeyJustPressed(int) - Static method in class nl.saxion.gameapp.GameApp
Returns true if the specified key was just pressed this frame.
isKeyPressed(int) - Static method in class nl.saxion.gameapp.GameApp
Returns true if the specified key is currently held down.
isParticleEffectFinished(Long) - Static method in class nl.saxion.gameapp.GameApp
Checks if the particle effect instance has finished
isPaused() - Method in class nl.saxion.gameapp.utils.Timer
Returns whether timer is paused.
isTimerFinished(String) - Static method in class nl.saxion.gameapp.GameApp
Checks whether a timer has finished all its loops.

J

jumpAnimationToFrame(String, int) - Static method in class nl.saxion.gameapp.GameApp
Jumps the named animation to a specific frame.
jumpToFrame(int) - Method in class nl.saxion.gameapp.animation.SpriteAnimation
Jumps the animation to a specific frame.

K

keyDown(int) - Method in class nl.saxion.gameapp.screens.GameScreen
Called when a key is pressed.
keyTyped(char) - Method in class nl.saxion.gameapp.screens.GameScreen
Called when a key is typed (pressed and released).
keyUp(int) - Method in class nl.saxion.gameapp.screens.GameScreen
Called when a key is released.

L

loadFromBinary(String) - Static method in class nl.saxion.gameapp.GameApp
Loads any object from a binary file.
loadFromJson(String, Class<T>) - Static method in class nl.saxion.gameapp.GameApp
Load an object from a JSON file.
log(String) - Static method in class nl.saxion.gameapp.GameApp
Prints a simple message to the console.
log(String, Object) - Static method in class nl.saxion.gameapp.GameApp
Prints a variable with its name for easier debugging.

M

mouseMoved(int, int) - Method in class nl.saxion.gameapp.screens.GameScreen
Called when the mouse is moved without any buttons being pressed.
moveBy(float, float) - Method in class nl.saxion.gameapp.gameobject.GameObject
Moves the object by the specified offsets.
moveInDirection(float, float, float, float) - Static method in class nl.saxion.gameapp.GameApp
Computes new coordinates by moving from a starting point in a specified direction and distance.
moveTo(float, float) - Method in class nl.saxion.gameapp.gameobject.GameObject
Moves the object to the specified coordinates.

N

nl.saxion.gameapp - package nl.saxion.gameapp
 
nl.saxion.gameapp.animation - package nl.saxion.gameapp.animation
 
nl.saxion.gameapp.gameobject - package nl.saxion.gameapp.gameobject
 
nl.saxion.gameapp.gameobject.hitbox - package nl.saxion.gameapp.gameobject.hitbox
 
nl.saxion.gameapp.screens - package nl.saxion.gameapp.screens
 
nl.saxion.gameapp.screens.extensions - package nl.saxion.gameapp.screens.extensions
 
nl.saxion.gameapp.utils - package nl.saxion.gameapp.utils
 

O

on(Object) - Static method in class nl.saxion.gameapp.animation.Tween
Start tweening a specific object.
onComplete(Runnable) - Method in class nl.saxion.gameapp.animation.Tween
Callback when this tween finishes.
onUIInteraction(String, Object) - Method in interface nl.saxion.gameapp.screens.extensions.HUD
Called when there is interaction with one of the UI elements on the screen
onUIInteraction(String, Object) - Method in class nl.saxion.gameapp.screens.GameScreenWithHUD
Called by GameApp when a UI element is interacted with.
overlaps(Hitbox) - Method in class nl.saxion.gameapp.gameobject.hitbox.CircleHitbox
Checks if this hitbox overlaps another hitbox.
overlaps(Hitbox) - Method in class nl.saxion.gameapp.gameobject.hitbox.Hitbox
Checks if this hitbox overlaps with another hitbox.
overlaps(Hitbox) - Method in class nl.saxion.gameapp.gameobject.hitbox.PolygonHitbox
Checks if this hitbox overlaps another hitbox.
overlaps(Hitbox) - Method in class nl.saxion.gameapp.gameobject.hitbox.RectangleHitbox
Checks if this hitbox overlaps another hitbox.

P

parent - Variable in class nl.saxion.gameapp.gameobject.hitbox.Hitbox
The GameObject this hitbox belongs to.
pause() - Method in class nl.saxion.gameapp.screens.GameScreen
Called when the game is paused.
pause() - Method in class nl.saxion.gameapp.utils.Timer
Pauses the timer.
pauseTimer(String) - Static method in class nl.saxion.gameapp.GameApp
Pause timer.
playMusic(String, boolean) - Static method in class nl.saxion.gameapp.GameApp
Plays a music track, optionally looping.
playMusic(String, boolean, float) - Static method in class nl.saxion.gameapp.GameApp
Plays a music track, optionally looping with a specific volume.
playSound(String) - Static method in class nl.saxion.gameapp.GameApp
Plays a sound effect at full volume (1.0).
playSound(String, float) - Static method in class nl.saxion.gameapp.GameApp
Plays a sound effect at the specified volume.
pointInCircle(float, float, float, float, float) - Static method in class nl.saxion.gameapp.GameApp
Checks if a point is inside a circle.
pointInCircle(Vector2, Circle) - Static method in class nl.saxion.gameapp.GameApp
 
pointInRect(float, float, float, float, float, float) - Static method in class nl.saxion.gameapp.GameApp
Checks if a point is inside a rectangle.
pointInRect(Vector2, Rectangle) - Static method in class nl.saxion.gameapp.GameApp
 
PolygonHitbox - Class in nl.saxion.gameapp.gameobject.hitbox
Represents a polygon hitbox defined relative to the parent GameObject's size.
PolygonHitbox(GameObject, float[]) - Constructor for class nl.saxion.gameapp.gameobject.hitbox.PolygonHitbox
Creates a new polygon hitbox relative to the parent GameObject.

Q

quit() - Static method in class nl.saxion.gameapp.GameApp
Exits the game application.

R

random(float, float) - Static method in class nl.saxion.gameapp.GameApp
Returns a random float value within the specified range.
random(List<T>) - Static method in class nl.saxion.gameapp.GameApp
Returns a random element from a List of any type.
random(T[]) - Static method in class nl.saxion.gameapp.GameApp
Returns a random element from an array.
randomInt(int, int) - Static method in class nl.saxion.gameapp.GameApp
Returns a random int value within the specified range.
RectangleHitbox - Class in nl.saxion.gameapp.gameobject.hitbox
Represents an axis-aligned rectangular hitbox defined relative to the size of its parent GameObject.
RectangleHitbox(GameObject, float, float, float, float) - Constructor for class nl.saxion.gameapp.gameobject.hitbox.RectangleHitbox
Creates a new rectangle hitbox relative to the parent GameObject.
rectCircleOverlap(float, float, float, float, float, float, float) - Static method in class nl.saxion.gameapp.GameApp
Checks if an axis-aligned rectangle and a circle overlap.
rectCircleOverlap(Rectangle, Circle) - Static method in class nl.saxion.gameapp.GameApp
 
rectContainsRect(float, float, float, float, float, float, float, float) - Static method in class nl.saxion.gameapp.GameApp
Checks if one rectangle is completely contained within another rectangle.
rectContainsRect(Rectangle, Rectangle) - Static method in class nl.saxion.gameapp.GameApp
 
rectOverlap(float, float, float, float, float, float, float, float) - Static method in class nl.saxion.gameapp.GameApp
Checks if two axis-aligned rectangles overlap.
rectOverlap(Rectangle, Rectangle) - Static method in class nl.saxion.gameapp.GameApp
 
registerDefaultColors() - Static method in class nl.saxion.gameapp.utils.TailwindColors
Add all default colors to the game app.
removeItemFromStore(String) - Static method in class nl.saxion.gameapp.GameApp
Remove an item from the store by name.
render(float) - Method in class nl.saxion.gameapp.gameobject.GameObject
Renders the GameObject.
render(float) - Method in class nl.saxion.gameapp.screens.CameraControlledGameScreen
 
render(float) - Method in class nl.saxion.gameapp.screens.GameScreen
Called once per frame to render the screen.
render(float) - Method in class nl.saxion.gameapp.screens.ScalableGameScreen
Renders the screen for the current frame.
renderParticleEffect(Long) - Static method in class nl.saxion.gameapp.GameApp
Draw one specific particle effect instance.
renderParticleEffects() - Static method in class nl.saxion.gameapp.GameApp
Render all active particle effects using GameApp.spriteBatch.
renderUI() - Method in interface nl.saxion.gameapp.screens.extensions.HUD
Call this method in your render method to render a User Interface.
renderUI() - Method in class nl.saxion.gameapp.screens.GameScreenWithHUD
 
reset() - Method in class nl.saxion.gameapp.animation.Animatable
Resets the animation or interpolation to its initial state without reversing.
reset() - Method in class nl.saxion.gameapp.animation.SpriteAnimation
Resets the animation to the beginning without reversing (default behavior).
reset() - Method in class nl.saxion.gameapp.animation.Timeline
Reset without reversing.
reset() - Method in class nl.saxion.gameapp.utils.Timer
Resets timer to initial state (elapsed = 0, loops restored).
reset(boolean) - Method in class nl.saxion.gameapp.animation.Animatable
Resets the animation or interpolation to its initial state.
reset(boolean) - Method in class nl.saxion.gameapp.animation.Interpolator
 
reset(boolean) - Method in class nl.saxion.gameapp.animation.SpriteAnimation
Resets the animation to the beginning.
reset(boolean) - Method in class nl.saxion.gameapp.animation.Timeline
Reset all animations.
reset(boolean) - Method in class nl.saxion.gameapp.animation.Tween
 
resetAnimation(String) - Static method in class nl.saxion.gameapp.GameApp
Resets an animation to start from the beginning.
resetAnimation(String, boolean) - Static method in class nl.saxion.gameapp.GameApp
Resets an animation to start from the beginning, optionally reversing it.
resetInterpolator(String) - Static method in class nl.saxion.gameapp.GameApp
Resets the interpolator with the given name to start its animation from the beginning.
resetInterpolator(String, boolean) - Static method in class nl.saxion.gameapp.GameApp
Resets the interpolator with the given name to start its animation from the beginning.
resetTimer(String) - Static method in class nl.saxion.gameapp.GameApp
Reset timer to initial state.
resize(int, int) - Method in class nl.saxion.gameapp.screens.CameraControlledGameScreen
 
resize(int, int) - Method in class nl.saxion.gameapp.screens.GameScreen
Called when the screen size changes.
resize(int, int) - Method in class nl.saxion.gameapp.screens.GameScreenWithHUD
Updates the HUD viewport when the window is resized.
resize(int, int) - Method in class nl.saxion.gameapp.screens.ScalableGameScreen
Handles window resizing by updating the viewport.
resume() - Method in class nl.saxion.gameapp.screens.GameScreen
Called when the game is resumed after being paused.
resume() - Method in class nl.saxion.gameapp.utils.Timer
Resumes a paused timer.
resumeTimer(String) - Static method in class nl.saxion.gameapp.GameApp
Resume timer.
RotatableGameObject - Class in nl.saxion.gameapp.gameobject
Extends GameObject to support rotation.
RotatableGameObject(float, float, float, float) - Constructor for class nl.saxion.gameapp.gameobject.RotatableGameObject
Creates a new RotatableGameObject.
rotation - Variable in class nl.saxion.gameapp.gameobject.RotatableGameObject
Rotation of the object in degrees (0 = no rotation, positive = clockwise).

S

saveToBinary(Object, String) - Static method in class nl.saxion.gameapp.GameApp
Saves any object to a binary file.
saveToJson(Object, String) - Static method in class nl.saxion.gameapp.GameApp
Serialize any object to JSON and save to a file.
ScalableGameScreen - Class in nl.saxion.gameapp.screens
An abstract base class for game screens that automatically handle scaling using a FitViewport.
ScalableGameScreen(int, int) - Constructor for class nl.saxion.gameapp.screens.ScalableGameScreen
Creates a new scalable game screen with a FitViewport configured to the given world size.
screenToWorld(float, float) - Method in class nl.saxion.gameapp.screens.CameraControlledGameScreen
Converts screen coordinates to world coordinates.
scrolled(float, float) - Method in class nl.saxion.gameapp.screens.GameScreen
Called when the user scrolls using the mouse wheel or a trackpad.
setCameraLerp(float) - Method in class nl.saxion.gameapp.screens.CameraControlledGameScreen
Set the camera lerp factor for smooth following.
setCameraTarget(float, float) - Method in class nl.saxion.gameapp.screens.CameraControlledGameScreen
Set the position the camera should follow.
setCameraTargetInstantly(float, float) - Method in class nl.saxion.gameapp.screens.CameraControlledGameScreen
Immediately moves the camera to the specified target position (no smooth transition).
setCheckBoxValue(String, boolean) - Static method in class nl.saxion.gameapp.GameApp
Sets the checked state of a CheckBox.
setColor(int, int, int) - Static method in class nl.saxion.gameapp.GameApp
Sets the current drawing color using RGB components (0-255) with full opacity.
setColor(int, int, int, int) - Static method in class nl.saxion.gameapp.GameApp
Sets the current drawing color using RGBA components (0-255).
setColor(Color) - Static method in class nl.saxion.gameapp.GameApp
Sets the current drawing color for shapes.
setColor(String) - Static method in class nl.saxion.gameapp.GameApp
Sets the current drawing color using a registered color name.
setCustomCursor(String, int, int) - Static method in class nl.saxion.gameapp.GameApp
Sets a custom cursor image from a file.
setDuration(float) - Method in class nl.saxion.gameapp.utils.Timer
Set timer duration of one cycle.
setFPS(int) - Static method in class nl.saxion.gameapp.GameApp
Sets the target frames per second (FPS) for rendering.
setHeight(float) - Method in class nl.saxion.gameapp.gameobject.GameObject
Sets the height of the object.
setLabelValue(String, String) - Static method in class nl.saxion.gameapp.GameApp
Sets the text of a Label.
setLineWidth(float) - Static method in class nl.saxion.gameapp.GameApp
Set the width of the outline when drawing with the shape renderer.
setProgressBarValue(String, float) - Static method in class nl.saxion.gameapp.GameApp
Sets the value of a ProgressBar on the active HUD.
setResizable(boolean) - Static method in class nl.saxion.gameapp.GameApp
Sets whether the game window can be resized by the user.
setRotation(float) - Method in class nl.saxion.gameapp.gameobject.hitbox.PolygonHitbox
Sets the rotation of the polygon hitbox.
setRotation(float) - Method in class nl.saxion.gameapp.gameobject.RotatableGameObject
Sets the rotation of the object in degrees.
setSelectBoxValue(String, String) - Static method in class nl.saxion.gameapp.GameApp
Sets the selected item of a SelectBox.
setSliderValue(String, float) - Static method in class nl.saxion.gameapp.GameApp
Sets the value of a Slider.
setSystemCursor(Cursor.SystemCursor) - Static method in class nl.saxion.gameapp.GameApp
Sets the system cursor to one of the default cursors.
setTextFieldValue(String, String) - Static method in class nl.saxion.gameapp.GameApp
Sets the text of a TextField.
setTimerDuration(String, float) - Static method in class nl.saxion.gameapp.GameApp
Change timer duration.
setTitle(String) - Static method in class nl.saxion.gameapp.GameApp
Changes the title of the game window.
setVSync(boolean) - Static method in class nl.saxion.gameapp.GameApp
Enables or disables vertical synchronization (VSync).
setWidth(float) - Method in class nl.saxion.gameapp.gameobject.GameObject
Sets the width of the object.
setX(float) - Method in class nl.saxion.gameapp.gameobject.GameObject
Sets the x-coordinate of the object.
setY(float) - Method in class nl.saxion.gameapp.gameobject.GameObject
Sets the y-coordinate of the object.
setZoom(float) - Method in class nl.saxion.gameapp.screens.CameraControlledGameScreen
Set the camera zoom, clamped so the viewport never shows outside the world.
showCursor() - Static method in class nl.saxion.gameapp.GameApp
Shows the default system mouse cursor.
spawnParticleEffect(String, float, float) - Static method in class nl.saxion.gameapp.GameApp
Spawn a particle effect at a position.
SpriteAnimation - Class in nl.saxion.gameapp.animation
Represents a single sprite-based animation.
SpriteAnimation(float, boolean) - Constructor for class nl.saxion.gameapp.animation.SpriteAnimation
Creates a new, empty animation.
SpriteAnimation(TextureRegion[], float, boolean) - Constructor for class nl.saxion.gameapp.animation.SpriteAnimation
Creates a new animation with the specified initial frames.
start(String, int, int, int, boolean, String) - Static method in class nl.saxion.gameapp.GameApp
Configure the game application and start it immediately.
startMask() - Static method in class nl.saxion.gameapp.GameApp
Starts a new mask definition.
startShapeRenderingFilled() - Static method in class nl.saxion.gameapp.GameApp
Begins shape rendering in filled mode.
startShapeRenderingOutlined() - Static method in class nl.saxion.gameapp.GameApp
Begins shape rendering in outlined (line) mode.
startShapeRenderingPoints() - Static method in class nl.saxion.gameapp.GameApp
Begins shape rendering in point mode.
startSpriteRendering() - Static method in class nl.saxion.gameapp.GameApp
Begins sprite rendering.
stopAllActiveParticleEffects() - Static method in class nl.saxion.gameapp.GameApp
Clears all active effects and returns them to their pools.
stopAllAudio() - Static method in class nl.saxion.gameapp.GameApp
Stops all audio, including sound effects and music.
stopAllMusic() - Static method in class nl.saxion.gameapp.GameApp
Stops all currently playing music tracks.
stopAllSounds() - Static method in class nl.saxion.gameapp.GameApp
Stops all currently playing sound effects.
stopMusic(String) - Static method in class nl.saxion.gameapp.GameApp
Stops a specific music track by name.
stopParticleEffect(long) - Static method in class nl.saxion.gameapp.GameApp
Stop a specific active particle effect.
stopSound(long) - Static method in class nl.saxion.gameapp.GameApp
Stops a specific sound effect by its playback ID.
switchScreen(String) - Static method in class nl.saxion.gameapp.GameApp
Switches the currently active screen in the game to the one specified by name.
switchToFullscreen() - Static method in class nl.saxion.gameapp.GameApp
Switches the game window to fullscreen mode using the current display mode.
switchToHudRendering() - Method in interface nl.saxion.gameapp.screens.extensions.HUD
Switches the rendering context to the HUD.
switchToHudRendering() - Method in class nl.saxion.gameapp.screens.GameScreenWithHUD
 
switchToWindowedMode(int, int) - Static method in class nl.saxion.gameapp.GameApp
Switches the game window to windowed mode with the specified width and height.
switchToWorldRendering() - Method in interface nl.saxion.gameapp.screens.extensions.HUD
Switches the rendering context from the HUD to the main game world.
switchToWorldRendering() - Method in class nl.saxion.gameapp.screens.GameScreenWithHUD
 

T

TailwindColors - Class in nl.saxion.gameapp.utils
Helper class for adding all Tailwind colors to the game app.
TailwindColors() - Constructor for class nl.saxion.gameapp.utils.TailwindColors
 
Timeline - Class in nl.saxion.gameapp.animation
Timeline allows you to compose multiple Animatable objects (Tweens, SpriteAnimations, or other Timelines) into a single sequence or parallel set of animations.
Timeline() - Constructor for class nl.saxion.gameapp.animation.Timeline
 
Timer - Class in nl.saxion.gameapp.utils
Reusable Timer class for game events.
Timer(String, float, int) - Constructor for class nl.saxion.gameapp.utils.Timer
Creates a new Timer.
timerWentOff(String) - Static method in class nl.saxion.gameapp.GameApp
Query if a timer went off in the last update call.
to(String, float) - Method in class nl.saxion.gameapp.animation.Tween
Add a property to tween to a target value.
touchCancelled(int, int, int, int) - Method in class nl.saxion.gameapp.screens.GameScreen
Called when an ongoing touch is canceled (e.g., due to focus loss or system gesture).
touchDown(int, int, int, int) - Method in class nl.saxion.gameapp.screens.GameScreen
Called when a pointer (touch or mouse) is pressed down.
touchDragged(int, int, int) - Method in class nl.saxion.gameapp.screens.GameScreen
Called when a pointer (touch or mouse) is dragged across the screen.
touchUp(int, int, int, int) - Method in class nl.saxion.gameapp.screens.GameScreen
Called when a pointer (touch or mouse) is released.
toX(float) - Method in class nl.saxion.gameapp.animation.Tween
Shortcut for X property (example for position).
toY(float) - Method in class nl.saxion.gameapp.animation.Tween
Shortcut for Y property.
Tween - Class in nl.saxion.gameapp.animation
Tween allows you to animate properties of an object over time with GSAP-like chaining.

U

update(float) - Method in class nl.saxion.gameapp.animation.Animatable
Updates the animation or interpolation by the specified amount of time.
update(float) - Method in class nl.saxion.gameapp.animation.Interpolator
Updates the interpolator and returns the current value.
update(float) - Method in class nl.saxion.gameapp.animation.SpriteAnimation
Updates the animation's elapsed time.
update(float) - Method in class nl.saxion.gameapp.animation.Timeline
Update the timeline by deltaTime.
update(float) - Method in class nl.saxion.gameapp.animation.Tween
Update the tween.
update(float) - Method in class nl.saxion.gameapp.utils.Timer
Updates the timer by a delta time (seconds).
updateAnimation(String) - Static method in class nl.saxion.gameapp.GameApp
Updates the animation by the frame's delta time.
updateInterpolator(String) - Static method in class nl.saxion.gameapp.GameApp
Updates the interpolator with the given name and returns the current value.
updateParticleEffects() - Static method in class nl.saxion.gameapp.GameApp
Update all active particle effects.
updateTimer(String) - Static method in class nl.saxion.gameapp.GameApp
Update single timer using Gdx deltaTime.
updateTimers() - Static method in class nl.saxion.gameapp.GameApp
Update all timers using Gdx deltaTime.
updateUsingGdx() - Method in class nl.saxion.gameapp.utils.Timer
Updates timer using Gdx.graphics delta time.

W

warn(String) - Static method in class nl.saxion.gameapp.GameApp
Prints a warning message in yellow.
wentOff() - Method in class nl.saxion.gameapp.utils.Timer
Returns true if the timer triggered during the last update.
width - Variable in class nl.saxion.gameapp.gameobject.GameObject
The width of the object.
WorldSize - Interface in nl.saxion.gameapp.screens.extensions
 
worldToHUD(Vector2) - Method in interface nl.saxion.gameapp.screens.extensions.HUD
Converts a position in world coordinates to HUD coordinates.
worldToHUD(Vector2) - Method in class nl.saxion.gameapp.screens.GameScreenWithHUD
 
worldXtoHUDX(float) - Method in interface nl.saxion.gameapp.screens.extensions.HUD
Converts a world X coordinate to HUD X coordinate.
worldXtoHUDX(float) - Method in class nl.saxion.gameapp.screens.GameScreenWithHUD
 
worldYtoHUDY(float) - Method in interface nl.saxion.gameapp.screens.extensions.HUD
Converts a world Y coordinate to HUD Y coordinate.
worldYtoHUDY(float) - Method in class nl.saxion.gameapp.screens.GameScreenWithHUD
 

X

x - Variable in class nl.saxion.gameapp.gameobject.GameObject
The x-coordinate of the object.

Y

y - Variable in class nl.saxion.gameapp.gameobject.GameObject
The y-coordinate of the object.

Z

zoomBy(float) - Method in class nl.saxion.gameapp.screens.CameraControlledGameScreen
Adjust the camera zoom by a delta, clamped to min/max automatically.
zoomByFactor(float) - Method in class nl.saxion.gameapp.screens.CameraControlledGameScreen
Zoom the camera by a factor.
A C D E F G H I J K L M N O P Q R S T U W X Y Z 
All Classes and Interfaces|All Packages|Constant Field Values