Index

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

A

A - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
AbstractCancellableEvent - Class in net.fokinatorr.sparkle.event
This class provides the functionality of a cancellable event.
AbstractCancellableEvent() - Constructor for class net.fokinatorr.sparkle.event.AbstractCancellableEvent
Constructor for subclasses to call.
AbstractGLFWWindowSurface - Class in net.fokinatorr.sparkle.graphics.impl.surface
A GLFW window rendering surface, providing base GLFW functionality, except framebuffer-related methods.
AbstractGLFWWindowSurface(long, EventDispatcher, Stage, Thread) - Constructor for class net.fokinatorr.sparkle.graphics.impl.surface.AbstractGLFWWindowSurface
 
AbstractRenderingContext - Class in net.fokinatorr.sparkle.graphics.impl
Base class for rendering context implementations.
AbstractRenderingContext() - Constructor for class net.fokinatorr.sparkle.graphics.impl.AbstractRenderingContext
 
AbstractStopwatch - Class in net.fokinatorr.sparkle.util.stopwatch
Base implementation of Stopwatch interface.
AbstractStopwatch() - Constructor for class net.fokinatorr.sparkle.util.stopwatch.AbstractStopwatch
Constructor for subclasses to call.
AbstractVariableStorage<ID> - Class in net.fokinatorr.sparkle.variable
Provides an implementation of VariableStorage.
AbstractVariableStorage() - Constructor for class net.fokinatorr.sparkle.variable.AbstractVariableStorage
Constructor for subclasses to call.
acquireBuffer(int, int) - Method in class net.fokinatorr.sparkle.graphics.impl.gl.surface.GL_GLFWWindowSurface
 
acquireBuffer(int, int) - Method in interface net.fokinatorr.sparkle.graphics.render.surface.EmbeddedSurface
Acquires the next available framebuffer for rendering, if any.
acquireBuffer(int, int) - Method in interface net.fokinatorr.sparkle.graphics.render.surface.RenderingSurface
Acquires the next available framebuffer for rendering, if any.
add(int, int) - Method in class net.fokinatorr.sparkle.graphics.ARGB
Sums the given two colors' components.
ADD - Enum constant in enum class net.fokinatorr.sparkle.graphics.BlendMode
Sums the colors' components.
addAndGet(byte) - Method in class net.fokinatorr.sparkle.variable.ByteVariable
Adds the given value to current value.
addAndGet(double) - Method in class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicDouble
Atomically adds the given value to current value, with memory effects as specified by VarHandle.compareAndSet(Object...).
addAndGet(double) - Method in class net.fokinatorr.sparkle.variable.DoubleVariable
Adds the given value to current value.
addAndGet(float) - Method in class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicFloat
Atomically adds the given value to current value, with memory effects as specified by VarHandle.compareAndSet(Object...).
addAndGet(float) - Method in class net.fokinatorr.sparkle.variable.FloatVariable
Adds the given value to current value.
addAndGet(int) - Method in class net.fokinatorr.sparkle.variable.IntVariable
Adds the given value to current value.
addAndGet(int, double) - Method in class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicDoubleArray
Atomically adds the given value to the element at index i, with memory effects as specified by VarHandle.compareAndSet(Object...).
addAndGet(long) - Method in class net.fokinatorr.sparkle.variable.LongVariable
Adds the given value to current value.
addAndGet(short) - Method in class net.fokinatorr.sparkle.variable.ShortVariable
Adds the given value to current value.
addListener(Class, byte, Consumer) - Method in interface net.fokinatorr.sparkle.event.dispatcher.EventDispatcher
Adds a listener for event of the given type or any of its subclasses.
addListener(Class, byte, Consumer) - Method in class net.fokinatorr.sparkle.event.dispatcher.impl.DefaultEventDispatcher
 
addListener(Class, Consumer) - Method in interface net.fokinatorr.sparkle.event.dispatcher.EventDispatcher
Adds a listener for event of the given type or any of its subclasses.
addListener(Class, Consumer) - Method in class net.fokinatorr.sparkle.event.dispatcher.impl.DefaultEventDispatcher
 
After(Stage, int, int) - Constructor for record class net.fokinatorr.sparkle.event.BackdropChangeEvent.After
Creates an instance of a After record class.
alcContext - Variable in class net.fokinatorr.sparkle.audio.impl.BaseSoundSource
The ALC context handle.
alGain() - Method in class net.fokinatorr.sparkle.audio.impl.BaseSoundSource
Returns the gain of this sound source.
alGain(float) - Method in class net.fokinatorr.sparkle.audio.impl.BaseSoundSource
Sets the gain for this sound source.
ALL_AROUND - Enum constant in enum class net.fokinatorr.sparkle.phys.RotationMode
Apply rotation normally (default mode in Sprite).
alpha(int) - Method in class net.fokinatorr.sparkle.graphics.ARGB
Returns the alpha value of the given color (unsigned).
alpha(int, byte) - Method in class net.fokinatorr.sparkle.graphics.ARGB
Sets the alpha value for the given color.
alPitch() - Method in class net.fokinatorr.sparkle.audio.impl.BaseSoundSource
Returns the pitch of this sound source.
alPitch(float) - Method in class net.fokinatorr.sparkle.audio.impl.BaseSoundSource
Sets the pitch for this sound source.
alPosition() - Method in class net.fokinatorr.sparkle.audio.impl.BaseSoundSource
Returns a float array with length 3, where the 0th element represents the X position of this sound source, the 1st element represents the Y position of this sound source and the 2nd element represents the Z position of this sound source.
alPosition(float, float, float) - Method in class net.fokinatorr.sparkle.audio.impl.BaseSoundSource
Sets the position for this sound source (relative to the listener's position).
always() - Static method in interface net.fokinatorr.sparkle.phys2d.Hitbox2D
Returns a 2D hitbox that covers all points.
AlwaysHitbox2D - Enum Class in net.fokinatorr.sparkle.phys2d.impl
A 2D hitbox that covers all points.
and(boolean, Hitbox2D) - Method in interface net.fokinatorr.sparkle.phys2d.Hitbox2D
Intersects this hitbox with the given one and returns the intersection.
and(boolean, Hitbox2D...) - Static method in interface net.fokinatorr.sparkle.phys2d.Hitbox2D
Creates a 2D hitbox that is an intersection of the given hitboxes.
and(Hitbox2D) - Method in interface net.fokinatorr.sparkle.phys2d.Hitbox2D
Intersects this hitbox with the given one and returns the optimized intersection.
and(Hitbox2D...) - Static method in interface net.fokinatorr.sparkle.phys2d.Hitbox2D
Creates a 2D hitbox that is an intersection of the given hitboxes.
AndHitbox2D - Record Class in net.fokinatorr.sparkle.phys2d.impl
An intersection of 2D hitboxes.
AndHitbox2D(Collection) - Constructor for record class net.fokinatorr.sparkle.phys2d.impl.AndHitbox2D
Creates an instance of a AndHitbox2D record class.
AndHitbox2D(Hitbox2D...) - Constructor for record class net.fokinatorr.sparkle.phys2d.impl.AndHitbox2D
Array version of AndHitbox2D(Collection).
andThen(ListenerRemover) - Method in interface net.fokinatorr.sparkle.event.dispatcher.ListenerRemover
Returns a new ListenerRemover that firstly calls the ListenerRemover.remove() method of this ListenerRemover, then the ListenerRemover.remove() method of the given one.
APOSTROPHE - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
AppContext - Interface in net.fokinatorr.sparkle.context
Represents a lightweight runtime environment for an application.
AppContextHolder - Class in net.fokinatorr.sparkle.context
A thread-local holder for the application context.
AppContextHolder() - Constructor for class net.fokinatorr.sparkle.context.AppContextHolder
 
apply(int, int) - Method in enum class net.fokinatorr.sparkle.graphics.BlendMode
Applies this blend mode to two colors.
apply(AffineTransform) - Method in interface net.fokinatorr.sparkle.graphics.impl.TransformOp
Applies this transform operation to the given AffineTransform instance.
apply(AffineTransform) - Method in record class net.fokinatorr.sparkle.graphics.impl.TransformOp.MulOp2D
 
apply(AffineTransform) - Method in record class net.fokinatorr.sparkle.graphics.impl.TransformOp.RotateOp2D
 
apply(AffineTransform) - Method in record class net.fokinatorr.sparkle.graphics.impl.TransformOp.ScaleOp2D
 
apply(AffineTransform) - Method in record class net.fokinatorr.sparkle.graphics.impl.TransformOp.TranslateOp2D
 
apply(Matrix4f) - Method in interface net.fokinatorr.sparkle.graphics.impl.TransformOp
Applies this transform operation to the given matrix.
apply(Matrix4f) - Method in record class net.fokinatorr.sparkle.graphics.impl.TransformOp.MulOp2D
 
apply(Matrix4f) - Method in record class net.fokinatorr.sparkle.graphics.impl.TransformOp.RotateOp2D
 
apply(Matrix4f) - Method in record class net.fokinatorr.sparkle.graphics.impl.TransformOp.ScaleOp2D
 
apply(Matrix4f) - Method in record class net.fokinatorr.sparkle.graphics.impl.TransformOp.TranslateOp2D
 
ARGB - Class in net.fokinatorr.sparkle.graphics
Utility methods that help treating an int value as a ARGB-format color.
ARGB - Enum constant in enum class net.fokinatorr.sparkle.graphics.BlendMode.BlendType
Applies the same blending operation to all channels including alpha.
ARGB() - Constructor for class net.fokinatorr.sparkle.graphics.ARGB
 
Assets - Interface in net.fokinatorr.sparkle.assets
A set of assets (textures and sounds) with names.
Assets.NamedAsset - Record Class in net.fokinatorr.sparkle.assets
An asset pointer with a name.
at() - Method in record class net.fokinatorr.sparkle.graphics.impl.TransformOp.MulOp2D
Returns the value of the at record component.
AtomicDouble - Class in net.fokinatorr.sparkle.util.concurrent.atomic
A double value that can be updated atomically.
AtomicDouble() - Constructor for class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicDouble
Creates a new AtomicDouble with initial value 0.0.
AtomicDouble(double) - Constructor for class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicDouble
Creates a new AtomicDouble with the given initial value.
AtomicDoubleArray - Class in net.fokinatorr.sparkle.util.concurrent.atomic
A double array in which elements can be updated atomically.
AtomicDoubleArray(double[]) - Constructor for class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicDoubleArray
Creates a new AtomicDoubleArray with the same length as, and all elements copied from, the given array.
AtomicDoubleArray(int) - Constructor for class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicDoubleArray
Creates a new AtomicDoubleArray of the given length, with all elements initially zero.
AtomicFloat - Class in net.fokinatorr.sparkle.util.concurrent.atomic
A float value that can be updated atomically.
AtomicFloat() - Constructor for class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicFloat
Creates a new AtomicFloat with initial value 0.0.
AtomicFloat(float) - Constructor for class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicFloat
Creates a new AtomicFloat with the given initial value.
attach(Sprite, Stage, String, int) - Method in interface net.fokinatorr.sparkle.internal.access.SpriteAccess
 
attachedEffects - Variable in class net.fokinatorr.sparkle.audio.impl.BaseSoundSource
The attached sound effect map that will be listened.
attachProperties(EffectMap) - Method in class net.fokinatorr.sparkle.audio.impl.BaseSoundSource
Attaches the sound effects to this sound.
attachProperties(EffectMap) - Method in interface net.fokinatorr.sparkle.audio.SoundInstance
Attaches the sound effects to this sound.
attachTarget(Framebuffer) - Method in class net.fokinatorr.sparkle.graphics.impl.gl.GLRenderCanvas
 
attachTarget(Framebuffer) - Method in interface net.fokinatorr.sparkle.graphics.impl.RenderCanvasExt
Attaches a new framebuffer for the canvas to draw on.
AudioManager - Interface in net.fokinatorr.sparkle.audio
An audio manager is responsible for sound loading and managing sound instances.
AWTRasterImage - Class in net.fokinatorr.sparkle.graphics.image.impl
A universal raster image implementation based on AWT's BufferedImage and ImageIO API.
AWTRasterImage() - Constructor for class net.fokinatorr.sparkle.graphics.image.impl.AWTRasterImage
 
AWTRasterImage.Reader - Class in net.fokinatorr.sparkle.graphics.image.impl
Pixel accessor for a BufferedImage.

B

B - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
BackdropChangeEvent - Interface in net.fokinatorr.sparkle.event
Interface for events that indicate a stage's backdrop change.
BackdropChangeEvent.After - Record Class in net.fokinatorr.sparkle.event
This event is fired after a backdrop was changed.
BackdropChangeEvent.Before - Class in net.fokinatorr.sparkle.event
This event is fired before a backdrop is changed.
BACKSLASH - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
BACKSPACE - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
BaseSoundSource<SELF> - Class in net.fokinatorr.sparkle.audio.impl
Base interface for managing OpenAL sound sources.
BaseSoundSource(long, int) - Constructor for class net.fokinatorr.sparkle.audio.impl.BaseSoundSource
Constructor for subclasses to call.
BaseSoundSource.SourceState - Enum Class in net.fokinatorr.sparkle.audio.impl
Enum class representing an OpenAL sound source state.
Before() - Constructor for class net.fokinatorr.sparkle.event.BackdropChangeEvent.Before
 
bicubicResize(PixelReader, PixelWriter) - Method in class net.fokinatorr.sparkle.graphics.impl.sw.Scaling
Resizes an image using bicubic interpolation.
bind() - Method in class net.fokinatorr.sparkle.graphics.impl.gl.element.GLTransformedVertexArray
Binds this vertex array.
bind() - Method in class net.fokinatorr.sparkle.graphics.impl.gl.element.GLVertexArray
Binds this vertex array.
BLACK - Enum constant in enum class net.fokinatorr.sparkle.graphics.font.FontWeight
 
BLEND_MULTIPLY - Enum constant in enum class net.fokinatorr.sparkle.graphics.BlendMode
Multiplies the colors' components.
BLEND_SUBTRACT - Enum constant in enum class net.fokinatorr.sparkle.graphics.BlendMode
Subtracts the colors' components.
BlendMode - Enum Class in net.fokinatorr.sparkle.graphics
Enum representing different blending strategies for combining source and destination pixels.
BlendMode.BlendType - Enum Class in net.fokinatorr.sparkle.graphics
Enum representing how blending operations handle the alpha channel.
Blend Modes - Section in interface net.fokinatorr.sparkle.graphics.render.RenderCanvas
 
blendMultiply(int, int) - Method in class net.fokinatorr.sparkle.graphics.ARGB
Multiplies the given two colors' components.
blendSubtract(int, int) - Method in class net.fokinatorr.sparkle.graphics.ARGB
Subtracts the second color's components from the first color's components.
blue(int) - Method in class net.fokinatorr.sparkle.graphics.ARGB
Returns the blue value of the given color (unsigned).
blue(int, byte) - Method in class net.fokinatorr.sparkle.graphics.ARGB
Sets the blue value for the given color.
BOLD - Enum constant in enum class net.fokinatorr.sparkle.graphics.font.FontWeight
 
bolder() - Method in enum class net.fokinatorr.sparkle.graphics.font.FontWeight
Returns a font weight that is bolder than this weight by one.
BooleanVariable - Class in net.fokinatorr.sparkle.variable
A variable storing a boolean value.
BooleanVariable() - Constructor for class net.fokinatorr.sparkle.variable.BooleanVariable
Constructs a new BooleanVariable with initial value false.
BooleanVariable(boolean) - Constructor for class net.fokinatorr.sparkle.variable.BooleanVariable
Constructs a new BooleanVariable with the given initial value.
BOTTOM_LEFT - Enum constant in enum class net.fokinatorr.sparkle.stage.ControlPanel.Corner
 
BOTTOM_RIGHT - Enum constant in enum class net.fokinatorr.sparkle.stage.ControlPanel.Corner
 
bounce() - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
Rotates away from the nearest edge.
BRIGHTNESS - Enum constant in enum class net.fokinatorr.sparkle.effect.graphics.GraphicEffect
The brightness graphic effect.
BUBBLE_TEXT_LIMIT - Static variable in class net.fokinatorr.sparkle.stage.sprite.BubbleState
The limit of characters in text.
BubbleState - Class in net.fokinatorr.sparkle.stage.sprite
Holds data about a sprite's text bubble state.
BubbleState() - Constructor for class net.fokinatorr.sparkle.stage.sprite.BubbleState
 
BubbleState.BubbleType - Enum Class in net.fokinatorr.sparkle.stage.sprite
The type of text bubble.
BufferUtils - Class in net.fokinatorr.sparkle.util
Several utilities for java.nio Buffer API.
BufferUtils() - Constructor for class net.fokinatorr.sparkle.util.BufferUtils
 
BULGE - Enum constant in enum class net.fokinatorr.sparkle.effect.graphics.GraphicEffect
The bulge graphic effect.
button() - Method in interface net.fokinatorr.sparkle.event.input.MouseEvent.MouseButtonEvent
Returns the mouse button which this event is related to.
button() - Method in record class net.fokinatorr.sparkle.event.input.MouseEvent.MouseClickedEvent
Returns the value of the button record component.
button() - Method in record class net.fokinatorr.sparkle.event.input.MouseEvent.MousePressedEvent
Returns the value of the button record component.
button() - Method in record class net.fokinatorr.sparkle.event.input.MouseEvent.MouseReleasedEvent
Returns the value of the button record component.
BUTTON_4 - Enum constant in enum class net.fokinatorr.sparkle.event.input.MouseButton
 
BUTTON_5 - Enum constant in enum class net.fokinatorr.sparkle.event.input.MouseButton
 
BUTTON_6 - Enum constant in enum class net.fokinatorr.sparkle.event.input.MouseButton
 
BUTTON_7 - Enum constant in enum class net.fokinatorr.sparkle.event.input.MouseButton
 
BUTTON_8 - Enum constant in enum class net.fokinatorr.sparkle.event.input.MouseButton
 
byteValue() - Method in class net.fokinatorr.sparkle.variable.ByteVariable
byteValue() - Method in class net.fokinatorr.sparkle.variable.ShortVariable
ByteVariable - Class in net.fokinatorr.sparkle.variable
A variable storing a byte value.
ByteVariable() - Constructor for class net.fokinatorr.sparkle.variable.ByteVariable
Creates a new ByteVariable with initial value 0.
ByteVariable(byte) - Constructor for class net.fokinatorr.sparkle.variable.ByteVariable
Creates a new ByteVariable with the given initial value.

C

C - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
cancel() - Method in class net.fokinatorr.sparkle.event.AbstractCancellableEvent
Cancels this event.
cancel() - Method in interface net.fokinatorr.sparkle.event.CancellableEvent
Cancels this event.
CancellableEvent - Interface in net.fokinatorr.sparkle.event
Represents a cancellable event.
CAPS_LOCK - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
changeSize(double) - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
Changes both X and Y axis stretches by the given count of percents.
changeStretchX(double) - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
Changes the X axis stretch by the given count of percents.
changeStretchY(double) - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
Changes the Y axis stretch by the given count of percents.
changeX(double) - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
Adds the given value to the x coordinate.
changeY(double) - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
Adds the given value to the y coordinate.
channels() - Method in class net.fokinatorr.sparkle.audio.impl.io.ParsedSoundImpl
Returns the channel count of this sound.
character() - Method in record class net.fokinatorr.sparkle.event.input.KeyboardEvent.CharInputEvent
Returns the character representation of the stored Unicode code point.
CharInputEvent(Stage, int) - Constructor for record class net.fokinatorr.sparkle.event.input.KeyboardEvent.CharInputEvent
Constructs a new CharInputEvent.
CharVariable - Class in net.fokinatorr.sparkle.variable
A variable storing a char value.
CharVariable(char) - Constructor for class net.fokinatorr.sparkle.variable.CharVariable
Constructs a CharVariable with the given initial value.
checkError() - Static method in class net.fokinatorr.sparkle.graphics.impl.gl.GLRenderCanvas
 
children() - Method in record class net.fokinatorr.sparkle.phys2d.impl.AndHitbox2D
Returns the value of the children record component.
children() - Method in record class net.fokinatorr.sparkle.phys2d.impl.OrHitbox2D
Returns the value of the children record component.
clamp(double, double, double) - Method in class net.fokinatorr.sparkle.util.Mth
Returns value clamped between min and max.
clamp(long, int, int) - Method in class net.fokinatorr.sparkle.util.Mth
Returns value clamped between min and max.
clear() - Method in class net.fokinatorr.sparkle.effect.EffectMap
Effectively sets all effect values to their respective default values.
clear() - Method in class net.fokinatorr.sparkle.graphics.impl.gl.GLRenderCanvas
 
clear() - Method in interface net.fokinatorr.sparkle.graphics.impl.RenderCanvasExt
Clears the entire surface.
clip(double, double, double, double) - Method in class net.fokinatorr.sparkle.graphics.impl.gl.GLRenderCanvas
 
clip(double, double, double, double) - Method in interface net.fokinatorr.sparkle.graphics.render.RenderCanvas
Sets the current clipping region to the given rectangular path.
cloneId() - Method in record class net.fokinatorr.sparkle.stage.RenderableID.SpriteID
Returns the value of the cloneId record component.
close() - Method in interface net.fokinatorr.sparkle.audio.AudioManager
Destroys this audio manager.
close() - Method in class net.fokinatorr.sparkle.audio.impl.BaseSoundSource
Destroys this sound source and releases all associated resources.
close() - Method in class net.fokinatorr.sparkle.audio.impl.bufferprovider.IterableSoundBufferProvider
Closes this provider, and any remaining sound buffers.
close() - Method in class net.fokinatorr.sparkle.audio.impl.bufferprovider.SamplesSoundBufferProvider
Closes this provider, and any remaining sound buffers.
close() - Method in interface net.fokinatorr.sparkle.audio.impl.bufferprovider.SoundBufferProvider
Closes this provider, and any remaining sound buffers.
close() - Method in class net.fokinatorr.sparkle.audio.impl.io.ParsedSoundImpl
Releases all associated resources of this instance.
close() - Method in class net.fokinatorr.sparkle.audio.impl.OpenALAudioManager
Destroys this audio manager.
close() - Method in class net.fokinatorr.sparkle.audio.impl.SoundBuffer
Destroys this sound buffer and releases all associated resources.
close() - Method in class net.fokinatorr.sparkle.audio.impl.StaticSoundSource
Destroys this sound source and releases all associated resources.
close() - Method in class net.fokinatorr.sparkle.audio.impl.StreamingSoundSource
Destroys this sound source, i.e.
close() - Method in interface net.fokinatorr.sparkle.context.AppContext
Closes this context and releases beans that implement AutoCloseable.
close() - Method in class net.fokinatorr.sparkle.context.DefaultAppContext
 
close() - Method in interface net.fokinatorr.sparkle.event.dispatcher.EventDispatcher
This method is not expected to throw any checked exceptions.
close() - Method in class net.fokinatorr.sparkle.event.dispatcher.impl.DefaultEventDispatcher
 
close() - Method in interface net.fokinatorr.sparkle.graphics.GraphicsManager
This method is not expected to throw any checked exceptions.
close() - Method in class net.fokinatorr.sparkle.graphics.impl.AbstractRenderingContext
 
close() - Method in class net.fokinatorr.sparkle.graphics.impl.gl.element.GLTextureCache
This method is not expected to throw any checked exceptions.
close() - Method in class net.fokinatorr.sparkle.graphics.impl.gl.element.GLVertexArray
This method is not expected to throw any checked exceptions.
close() - Method in class net.fokinatorr.sparkle.graphics.impl.gl.element.GLVertexArrayCache
This method is not expected to throw any checked exceptions.
close() - Method in record class net.fokinatorr.sparkle.graphics.impl.gl.GLFramebuffer
 
close() - Method in class net.fokinatorr.sparkle.graphics.impl.gl.GLRenderCanvas
 
close() - Method in class net.fokinatorr.sparkle.graphics.impl.gl.shader.GLShaderProgram
This method is not expected to throw any checked exceptions.
close() - Method in class net.fokinatorr.sparkle.graphics.impl.gl.shader.GLShaderProgramCache
 
close() - Method in class net.fokinatorr.sparkle.graphics.impl.OpenGLGraphicsManager
 
close() - Method in class net.fokinatorr.sparkle.graphics.impl.surface.AbstractGLFWWindowSurface
 
close() - Method in class net.fokinatorr.sparkle.graphics.render.framebuffer.OffscreenFramebuffer
 
close() - Method in interface net.fokinatorr.sparkle.graphics.render.RenderCanvas
Releases any resources associated with this render canvas.
close() - Method in interface net.fokinatorr.sparkle.graphics.render.RenderingContext
This method is not expected to throw any checked exceptions.
close() - Method in interface net.fokinatorr.sparkle.graphics.render.surface.RenderingSurface
This method is not expected to throw any checked exceptions.
close() - Method in interface net.fokinatorr.sparkle.util.NonThrowingAutoCloseable
This method is not expected to throw any checked exceptions.
CloseRequestedEvent - Class in net.fokinatorr.sparkle.event.lifecycle
This event is fired every when a RenderingContext has been implicitly requested to close (e.g.
CloseRequestedEvent() - Constructor for class net.fokinatorr.sparkle.event.lifecycle.CloseRequestedEvent
 
closestOf(Collection) - Method in enum class net.fokinatorr.sparkle.graphics.font.FontWeight
Returns the closest weight to this one from the specified collection.
codePoint() - Method in record class net.fokinatorr.sparkle.event.input.KeyboardEvent.CharInputEvent
Returns the value of the codePoint record component.
color(byte, byte, byte, byte) - Method in class net.fokinatorr.sparkle.graphics.ARGB
Creates a new color with the given values.
Color Representation - Section in interface net.fokinatorr.sparkle.graphics.render.RenderCanvas
 
COMMA - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
compareAndSet(double, double) - Method in class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicDouble
Atomically sets the value to newValue if the current value == expectedValue, with memory effects as specified by VarHandle.compareAndSet(Object...).
compareAndSet(float, float) - Method in class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicFloat
Atomically sets the value to newValue if the current value == expectedValue, with memory effects as specified by VarHandle.compareAndSet(Object...).
compareAndSet(int, double, double) - Method in class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicDoubleArray
Atomically sets the element at index i to newValue if the element's current value == expectedValue, with memory effects as specified by VarHandle.compareAndSet(Object...).
compile(Map) - Static method in class net.fokinatorr.sparkle.graphics.impl.gl.shader.GLShaderProgram
Compiles the given GLSL sources into a new shader program.
COMPUTE - Enum constant in enum class net.fokinatorr.sparkle.graphics.impl.gl.shader.ShaderType
 
Constants - Class in net.fokinatorr.sparkle.util
Utility class holding public constants.
Constants() - Constructor for class net.fokinatorr.sparkle.util.Constants
 
contains(Hitbox2D) - Method in interface net.fokinatorr.sparkle.phys2d.Hitbox2D
Checks whether this hitbox fully contains the given one.
contains(Hitbox2D) - Method in enum class net.fokinatorr.sparkle.phys2d.impl.AlwaysHitbox2D
 
contains(Hitbox2D) - Method in record class net.fokinatorr.sparkle.phys2d.impl.AndHitbox2D
 
contains(Hitbox2D) - Method in enum class net.fokinatorr.sparkle.phys2d.impl.NeverHitbox2D
 
contains(Hitbox2D) - Method in record class net.fokinatorr.sparkle.phys2d.impl.NotHitbox2D
 
contains(Hitbox2D) - Method in record class net.fokinatorr.sparkle.phys2d.impl.OrHitbox2D
 
contains(Hitbox2D) - Method in record class net.fokinatorr.sparkle.phys2d.impl.ShapeHitbox2D
 
contains(Hitbox2D) - Method in record class net.fokinatorr.sparkle.phys2d.impl.TransformedHitbox2D
 
contains(Point2D) - Method in interface net.fokinatorr.sparkle.phys2d.Hitbox2D
Checks whether the given point lies within this hitbox.
contains(Point2D) - Method in enum class net.fokinatorr.sparkle.phys2d.impl.AlwaysHitbox2D
 
contains(Point2D) - Method in record class net.fokinatorr.sparkle.phys2d.impl.AndHitbox2D
 
contains(Point2D) - Method in enum class net.fokinatorr.sparkle.phys2d.impl.NeverHitbox2D
 
contains(Point2D) - Method in record class net.fokinatorr.sparkle.phys2d.impl.NotHitbox2D
 
contains(Point2D) - Method in record class net.fokinatorr.sparkle.phys2d.impl.OrHitbox2D
 
contains(Point2D) - Method in record class net.fokinatorr.sparkle.phys2d.impl.ShapeHitbox2D
 
contains(Point2D) - Method in record class net.fokinatorr.sparkle.phys2d.impl.TransformedHitbox2D
 
containsKey(Object) - Method in class net.fokinatorr.sparkle.effect.EffectMap
All keys of type K are present in the map.
containsValue(double) - Method in class net.fokinatorr.sparkle.effect.EffectMap
ContextInheritingThreadFactory - Class in net.fokinatorr.sparkle.util.concurrent
A ThreadFactory that inherits the AppContext of the creator thread, if any exists.
ContextInheritingThreadFactory() - Constructor for class net.fokinatorr.sparkle.util.concurrent.ContextInheritingThreadFactory
 
ControlPanel - Class in net.fokinatorr.sparkle.stage
A stage panel that contains control buttons.
ControlPanel() - Constructor for class net.fokinatorr.sparkle.stage.ControlPanel
 
ControlPanel.Button - Enum Class in net.fokinatorr.sparkle.stage
Represents a button controlling state of a stage.
ControlPanel.Corner - Enum Class in net.fokinatorr.sparkle.stage
Represents a stage's corner to anchor a control panel to.
Coordinate System - Section in interface net.fokinatorr.sparkle.graphics.render.RenderCanvas
 
copy() - Method in class net.fokinatorr.sparkle.effect.EffectMap
Creates and returns a deep copy of this effect map.
copy() - Method in class net.fokinatorr.sparkle.effect.graphics.GraphicEffectMap
Creates and returns a deep copy of this effect map.
copy() - Method in class net.fokinatorr.sparkle.effect.sounds.SoundEffectMap
Creates and returns a deep copy of this effect map.
copy() - Method in class net.fokinatorr.sparkle.graphics.impl.GraphicsState
Creates a deep copy of this graphics state.
copy() - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
Creates and returns a deep copy of this sprite.
copy() - Method in class net.fokinatorr.sparkle.variable.BooleanVariable
Creates and returns a shallow copy of this variable.
copy() - Method in class net.fokinatorr.sparkle.variable.ByteVariable
Creates and returns a shallow copy of this variable.
copy() - Method in class net.fokinatorr.sparkle.variable.CharVariable
Creates and returns a shallow copy of this variable.
copy() - Method in class net.fokinatorr.sparkle.variable.DoubleVariable
Creates and returns a shallow copy of this variable.
copy() - Method in class net.fokinatorr.sparkle.variable.FloatVariable
Creates and returns a shallow copy of this variable.
copy() - Method in class net.fokinatorr.sparkle.variable.IntVariable
Creates and returns a shallow copy of this variable.
copy() - Method in class net.fokinatorr.sparkle.variable.LongVariable
Creates and returns a shallow copy of this variable.
copy() - Method in class net.fokinatorr.sparkle.variable.ObjectVariable
Creates and returns a shallow copy of this variable.
copy() - Method in class net.fokinatorr.sparkle.variable.ShortVariable
Creates and returns a shallow copy of this variable.
copy() - Method in interface net.fokinatorr.sparkle.variable.Variable
Creates and returns a shallow copy of this variable.
copyPos(Sprite) - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
Moves to the given sprite's position.
copyPropertiesFrom(EffectMap) - Method in class net.fokinatorr.sparkle.audio.impl.BaseSoundSource
Copies the sound effects to this sound.
copyPropertiesFrom(EffectMap) - Method in interface net.fokinatorr.sparkle.audio.SoundInstance
Copies the sound effects to this sound.
count(Class) - Method in class net.fokinatorr.sparkle.context.DefaultAppContext
 
count(Class) - Method in interface net.fokinatorr.sparkle.context.AppContext
Returns the count of beans registered under the given type.
create(String, boolean, EventDispatcher, Stage, Thread) - Static method in class net.fokinatorr.sparkle.graphics.impl.gl.surface.GL_GLFWWindowSurface
Creates a new non-fullscreen window.
createArea() - Method in interface net.fokinatorr.sparkle.phys2d.Hitbox2D
Creates an Area representing all points covered by this hitbox, if it's finite, otherwise returns an empty optional.
createArea() - Method in enum class net.fokinatorr.sparkle.phys2d.impl.AlwaysHitbox2D
 
createArea() - Method in record class net.fokinatorr.sparkle.phys2d.impl.AndHitbox2D
 
createArea() - Method in enum class net.fokinatorr.sparkle.phys2d.impl.NeverHitbox2D
 
createArea() - Method in record class net.fokinatorr.sparkle.phys2d.impl.NotHitbox2D
 
createArea() - Method in record class net.fokinatorr.sparkle.phys2d.impl.OrHitbox2D
 
createArea() - Method in record class net.fokinatorr.sparkle.phys2d.impl.ShapeHitbox2D
 
createArea() - Method in record class net.fokinatorr.sparkle.phys2d.impl.TransformedHitbox2D
 
createArea(AffineTransform) - Method in interface net.fokinatorr.sparkle.phys2d.Hitbox2D
Creates an Area representing all points covered by this hitbox and applies the given AffineTransform instance to it.
createBuffersByCount(int) - Method in class net.fokinatorr.sparkle.audio.impl.io.ParsedSoundImpl
Creates and returns a list of SoundBuffers from this instance, given the maximal buffer count.
createBuffersBySize(int) - Method in class net.fokinatorr.sparkle.audio.impl.io.ParsedSoundImpl
Creates and returns a list of SoundBuffers from this instance, given the maximal buffer size.
createClone(String) - Method in class net.fokinatorr.sparkle.stage.Stage
Creates a clone of the sprite with the given ID.
createEmbeddedContext(EmbeddedSurface, StageCreator) - Method in interface net.fokinatorr.sparkle.graphics.GraphicsManager
Creates a new rendering context with the given embedded rendering surface and a stage created using the given creator.
createEmbeddedContext(EmbeddedSurface, StageCreator) - Method in class net.fokinatorr.sparkle.graphics.impl.OpenGLGraphicsManager
 
createFullscreen(String, long, boolean, EventDispatcher, Stage, Thread) - Static method in class net.fokinatorr.sparkle.graphics.impl.gl.surface.GL_GLFWWindowSurface
Creates a new fullscreen window.
createHeadless() - Static method in class net.fokinatorr.sparkle.context.DefaultAppContext
Creates a new headless application context (without audio or graphics services).
createPixelReader() - Method in class net.fokinatorr.sparkle.graphics.image.impl.AWTRasterImage
 
createPixelReader() - Method in interface net.fokinatorr.sparkle.graphics.image.RasterImage
Returns a pixel reader that can read this image's contents as pixels.
createPixelReader() - Method in class net.fokinatorr.sparkle.graphics.render.framebuffer.OffscreenFramebuffer
Returns a pixel reader over this buffer, for reading its data as ARGB pixels.
createPixelReader() - Method in interface net.fokinatorr.sparkle.graphics.render.surface.HeadlessSurface
 
createPixelReader() - Method in interface net.fokinatorr.sparkle.graphics.render.surface.RenderingSurface
Returns a pixel reader that can read this surface's contents as ARGB pixels, if RenderingSurface.Feature.READABLE is supported.
createPixelReader(Point2D) - Method in class net.fokinatorr.sparkle.graphics.image.impl.SVGImage
 
createPixelReader(Point2D) - Method in interface net.fokinatorr.sparkle.graphics.image.VectorImage
Rasterizes the vector content into a pixel grid of the given dimensions and returns a pixel reader over the grid.
createPixelWriter() - Method in class net.fokinatorr.sparkle.graphics.render.framebuffer.OffscreenFramebuffer
Returns a pixel writer over this buffer, for writing ARGB pixels into it.
createProvider(int, boolean) - Method in class net.fokinatorr.sparkle.audio.impl.io.ParsedSoundImpl
Creates and returns a SoundBufferProvider from this instance, given the maximal buffer size, and whether the provider should loop.
createStandAloneBuffer() - Method in class net.fokinatorr.sparkle.audio.impl.io.ParsedSoundImpl
Creates and returns a stand-alone SoundBuffer from this instance.
createStaticSoundInstance(Path) - Method in interface net.fokinatorr.sparkle.audio.AudioManager
Creates a new sound instance from the loaded sound at the given path.
createStaticSoundInstance(Path) - Method in class net.fokinatorr.sparkle.audio.impl.OpenALAudioManager
Creates a new StaticSoundSource from the loaded sound at the given path.
createStreamingSoundInstance(Path, boolean) - Method in interface net.fokinatorr.sparkle.audio.AudioManager
Creates a new "streaming" sound instance from the loaded sound at the given path.
createStreamingSoundInstance(Path, boolean) - Method in class net.fokinatorr.sparkle.audio.impl.OpenALAudioManager
Creates a new "streaming" sound instance from the loaded sound at the given path.
createStreamingSoundInstance(Path, int, boolean) - Method in class net.fokinatorr.sparkle.audio.impl.OpenALAudioManager
Creates a new streaming sound source from the loaded sound at the given path.
createSubCanvas(double, double) - Method in class net.fokinatorr.sparkle.graphics.impl.gl.GLRenderCanvas
 
createSubCanvas(double, double) - Method in interface net.fokinatorr.sparkle.graphics.render.RenderCanvas
Creates a new sub-canvas that renders into an offscreen buffer.
createVariables() - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
 
createVariables() - Method in class net.fokinatorr.sparkle.stage.Stage
Creates a new Map to store variables in.
createVariables() - Method in class net.fokinatorr.sparkle.variable.AbstractVariableStorage
Creates a new Map to store variables in.
createWindowContext(String, StageCreator) - Method in interface net.fokinatorr.sparkle.graphics.GraphicsManager
Creates a new rendering context with a WindowSurface and a stage created using the given creator.
createWindowContext(String, StageCreator, boolean, boolean) - Method in interface net.fokinatorr.sparkle.graphics.GraphicsManager
Creates a new rendering context with a WindowSurface and a stage created using the given creator.
createWindowContext(String, StageCreator, boolean, boolean) - Method in class net.fokinatorr.sparkle.graphics.impl.OpenGLGraphicsManager
 
createWithDefaults() - Static method in class net.fokinatorr.sparkle.context.DefaultAppContext
Creates a new application context with default services pre-registered.
cubicCurve(double, double, double, double, double) - Method in class net.fokinatorr.sparkle.util.Mth
Calculates a point on cubic Bézier curve using the Bernstein formula:
curly(double) - Static method in class net.fokinatorr.sparkle.graphics.font.Font
Creates a font builder with "Griffy" family and the given size.
current() - Static method in enum class net.fokinatorr.sparkle.util.Version
Returns the current version of the framework.
customize(Stage) - Method in interface net.fokinatorr.sparkle.stage.StageCreator
Customizes the given stage after construction.

D

D - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
DAEMON - Enum constant in enum class net.fokinatorr.sparkle.util.concurrent.ThreadType
Platform daemon thread.
dataFormat() - Method in record class net.fokinatorr.sparkle.audio.io.ParsedSound
Returns the value of the dataFormat record component.
debugSuspend() - Method in class net.fokinatorr.sparkle.util.DebugUtils
Suspends the program execution.
DebugUtils - Class in net.fokinatorr.sparkle.util
Debugging utilities.
DebugUtils() - Constructor for class net.fokinatorr.sparkle.util.DebugUtils
 
decrement(K, double) - Method in class net.fokinatorr.sparkle.effect.EffectMap
Decrements the given effect's value by the given delta.
decrementAndGet() - Method in class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicDouble
Atomically decrements the current value, with memory effects as specified by VarHandle.compareAndSet(Object...).
decrementAndGet() - Method in class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicFloat
Atomically decrements the current value, with memory effects as specified by VarHandle.compareAndSet(Object...).
decrementAndGet() - Method in class net.fokinatorr.sparkle.variable.ByteVariable
Decrements the current value.
decrementAndGet() - Method in class net.fokinatorr.sparkle.variable.DoubleVariable
Decrements the current value.
decrementAndGet() - Method in class net.fokinatorr.sparkle.variable.FloatVariable
Decrements the current value.
decrementAndGet() - Method in class net.fokinatorr.sparkle.variable.IntVariable
Decrements the current value.
decrementAndGet() - Method in class net.fokinatorr.sparkle.variable.LongVariable
Decrements the current value.
decrementAndGet() - Method in class net.fokinatorr.sparkle.variable.ShortVariable
Decrements the current value.
decrementAndGet(int) - Method in class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicDoubleArray
Atomically decrements the value of the element at index i, with memory effects as specified by VarHandle.compareAndSet(Object...).
decrementBackdrop() - Method in class net.fokinatorr.sparkle.stage.Stage
Decrements the backdrop index, wrapping around if necessary.
decrementCostume() - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
Decrements the costume index, wrapping around if necessary.
DEFAULT - Static variable in class net.fokinatorr.sparkle.SparkleInit
Default configuration instance.
DEFAULT_PRIORITY - Static variable in interface net.fokinatorr.sparkle.event.dispatcher.EventDispatcher
The default listener priority.
DefaultAppContext - Class in net.fokinatorr.sparkle.context
Default implementation of AppContext.
DefaultAppContext() - Constructor for class net.fokinatorr.sparkle.context.DefaultAppContext
 
DefaultEventDispatcher - Class in net.fokinatorr.sparkle.event.dispatcher.impl
Default implementation of EventDispatcher.
DefaultEventDispatcher() - Constructor for class net.fokinatorr.sparkle.event.dispatcher.impl.DefaultEventDispatcher
 
defaultProvider() - Static method in interface net.fokinatorr.sparkle.graphics.font.FontProvider
Returns a FontProvider that loads default fonts from this framework's /assets/fonts directory.
defaultReturnValue(double) - Method in class net.fokinatorr.sparkle.effect.EffectMap
deg() - Method in record class net.fokinatorr.sparkle.graphics.impl.TransformOp.RotateOp2D
Returns the value of the deg record component.
delegate() - Method in record class net.fokinatorr.sparkle.phys2d.impl.NotHitbox2D
Returns the value of the delegate record component.
delegate() - Method in record class net.fokinatorr.sparkle.phys2d.impl.TransformedHitbox2D
Returns the value of the delegate record component.
DELETE - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
deleteAllClones(String) - Method in class net.fokinatorr.sparkle.stage.Stage
Deletes all clones of the sprite with the given ID.
deleteClone(String, int) - Method in class net.fokinatorr.sparkle.stage.Stage
Deletes a clone with the given clone ID of the sprite with the given ID.
deltaMovement() - Method in record class net.fokinatorr.sparkle.event.input.MouseEvent.MouseCursorMovedEvent
Returns the delta movement vector from the old position to the new one.
deltaScroll() - Method in record class net.fokinatorr.sparkle.event.input.MouseEvent.MouseScrolledEvent
Returns a vector representing total scroll delta.
deltaX() - Method in record class net.fokinatorr.sparkle.event.input.MouseEvent.MouseCursorMovedEvent
Returns the difference between the new and the old X coordinate of the mouse.
deltaY() - Method in record class net.fokinatorr.sparkle.event.input.MouseEvent.MouseCursorMovedEvent
Returns the difference between the new and the old Y coordinate of the mouse.
Design Notes - Section in interface net.fokinatorr.sparkle.phys2d.Hitbox2D
 
destroyImage(Path) - Method in interface net.fokinatorr.sparkle.graphics.GraphicsManager
If an image is loaded at the given path, closes and removes it, otherwise does nothing.
destroyImage(Path) - Method in class net.fokinatorr.sparkle.graphics.impl.OpenGLGraphicsManager
 
destroySoundInstance(String) - Method in interface net.fokinatorr.sparkle.audio.AudioManager
If a sound source with the given ID exists, stops, closes and removes it, otherwise does nothing.
destroySoundInstance(String) - Method in class net.fokinatorr.sparkle.audio.impl.OpenALAudioManager
If a sound source with the given ID exists, stops, closes and removes it, otherwise does nothing.
detach(Sprite) - Method in interface net.fokinatorr.sparkle.internal.access.SpriteAccess
 
detachProperties() - Method in class net.fokinatorr.sparkle.audio.impl.BaseSoundSource
Detaches the sound effects from this sound.
detachProperties() - Method in interface net.fokinatorr.sparkle.audio.SoundInstance
Detaches the sound effects from this sound.
disableButton(ControlPanel.Button) - Method in class net.fokinatorr.sparkle.stage.ControlPanel
Disables the given control button in this panel.
doClose() - Method in class net.fokinatorr.sparkle.graphics.impl.AbstractRenderingContext
 
doClose() - Method in class net.fokinatorr.sparkle.graphics.impl.gl.OpenGLContext
 
doubleValue() - Method in class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicDouble
 
doubleValue() - Method in class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicFloat
 
doubleValue() - Method in class net.fokinatorr.sparkle.variable.ByteVariable
doubleValue() - Method in class net.fokinatorr.sparkle.variable.DoubleVariable
doubleValue() - Method in class net.fokinatorr.sparkle.variable.FloatVariable
doubleValue() - Method in class net.fokinatorr.sparkle.variable.IntVariable
doubleValue() - Method in class net.fokinatorr.sparkle.variable.LongVariable
doubleValue() - Method in class net.fokinatorr.sparkle.variable.ShortVariable
DoubleVariable - Class in net.fokinatorr.sparkle.variable
A variable storing a double value.
DoubleVariable() - Constructor for class net.fokinatorr.sparkle.variable.DoubleVariable
Creates a new DoubleVariable with initial value 0.0.
DoubleVariable(double) - Constructor for class net.fokinatorr.sparkle.variable.DoubleVariable
Creates a new DoubleVariable with the given initial value.
DOWN - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
drawBackdrop(RenderCanvas) - Method in class net.fokinatorr.sparkle.stage.Stage
Draws the current backdrop onto the given canvas.
drawImage(Image, double, double, double, double) - Method in class net.fokinatorr.sparkle.graphics.impl.gl.GLRenderCanvas
 
drawImage(Image, double, double, double, double) - Method in interface net.fokinatorr.sparkle.graphics.render.RenderCanvas
Draws an image at the specified position with the given size.
drawImage(Image, Point2D, Point2D) - Method in interface net.fokinatorr.sparkle.graphics.render.RenderCanvas
drawImageOriginCenter(RenderCanvas, Image, double, double, double, double) - Method in class net.fokinatorr.sparkle.util.GraphicsUtils
Draws an image on the given canvas as if the origin is in the center, not in the top-left corner.
drawLine(double, double, double, double) - Method in class net.fokinatorr.sparkle.graphics.impl.gl.GLRenderCanvas
 
drawLine(double, double, double, double) - Method in interface net.fokinatorr.sparkle.graphics.render.RenderCanvas
Draws a line from one position to another as specified in RenderCanvas.drawShape(Shape).
drawLine(Point2D, Point2D) - Method in interface net.fokinatorr.sparkle.graphics.render.RenderCanvas
drawOval(double, double, double, double) - Method in class net.fokinatorr.sparkle.graphics.impl.gl.GLRenderCanvas
 
drawOval(double, double, double, double) - Method in interface net.fokinatorr.sparkle.graphics.render.RenderCanvas
Draws an outline of an oval with the given position and dimensions as specified in RenderCanvas.drawShape(Shape).
drawOval(Point2D, Point2D) - Method in interface net.fokinatorr.sparkle.graphics.render.RenderCanvas
drawRect(double, double, double, double) - Method in class net.fokinatorr.sparkle.graphics.impl.gl.GLRenderCanvas
 
drawRect(double, double, double, double) - Method in interface net.fokinatorr.sparkle.graphics.render.RenderCanvas
Draws an outline of a rectangle with the given position and dimensions as specified in RenderCanvas.drawShape(Shape).
drawRect(Point2D, Point2D) - Method in interface net.fokinatorr.sparkle.graphics.render.RenderCanvas
drawShape(Shape) - Method in class net.fokinatorr.sparkle.graphics.impl.gl.GLRenderCanvas
 
drawShape(Shape) - Method in interface net.fokinatorr.sparkle.graphics.render.RenderCanvas
Draws the outline of the specified shape using the current stroke color, line width and blend mode.
dx() - Method in record class net.fokinatorr.sparkle.event.input.MouseEvent.MouseScrolledEvent
Returns the value of the dx record component.
dx(double) - Method in record class net.fokinatorr.sparkle.phys2d.Point2D
Returns a new 2D point moved by given amount of units along the X axis and unchanged Y coordinate.
dy() - Method in record class net.fokinatorr.sparkle.event.input.MouseEvent.MouseScrolledEvent
Returns the value of the dy record component.
dy(double) - Method in record class net.fokinatorr.sparkle.phys2d.Point2D
Returns a new 2D point moved by given amount of units along the Y axis and unchanged X coordinate.

E

E - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
effect(SoundEffect) - Method in class net.fokinatorr.sparkle.audio.impl.BaseSoundSource
Returns the given effect's value for this sound.
effect(SoundEffect) - Method in interface net.fokinatorr.sparkle.audio.SoundInstance
Returns the given effect's value for this sound.
effect(SoundEffect, double) - Method in class net.fokinatorr.sparkle.audio.impl.BaseSoundSource
Sets the given effect to the given value, which is normalized according to the given effect's rules.
effect(SoundEffect, double) - Method in interface net.fokinatorr.sparkle.audio.SoundInstance
Sets the given effect to the given value, which is normalized according to the given effect's rules.
EffectMap<K> - Class in net.fokinatorr.sparkle.effect
An object mapping effects to their values.
EffectMap(K[]) - Constructor for class net.fokinatorr.sparkle.effect.EffectMap
Creates a new empty EffectMap with the given possible effect values.
effects - Variable in class net.fokinatorr.sparkle.effect.EffectMap
All the possible effect values.
EmbeddedSurface - Interface in net.fokinatorr.sparkle.graphics.render.surface
An embedded surface (e.g.
empty() - Static method in interface net.fokinatorr.sparkle.assets.Assets
Returns an empty assets instance (one empty texture named default and no sounds).
EMPTY - Static variable in class net.fokinatorr.sparkle.stage.sprite.BubbleState
The default (empty) BubbleState, which represents no bubble at all.
enableButton(ControlPanel.Button) - Method in class net.fokinatorr.sparkle.stage.ControlPanel
Enables the given control button in this panel.
enableDebug() - Method in class net.fokinatorr.sparkle.graphics.render.renderer.RendererRegistry
Enables registering and using debug renderers in addition to regular ones.
END - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
ensureBufferBound(boolean) - Method in class net.fokinatorr.sparkle.graphics.impl.gl.GLRenderCanvas
 
ensureBufferBound(boolean) - Method in class net.fokinatorr.sparkle.graphics.impl.gl.GLSubCanvas
 
ensureOnCorrectThread() - Method in class net.fokinatorr.sparkle.graphics.impl.surface.AbstractGLFWWindowSurface
 
ensureOpen() - Method in class net.fokinatorr.sparkle.graphics.impl.AbstractRenderingContext
 
ensureOpen() - Method in class net.fokinatorr.sparkle.graphics.impl.gl.GLRenderCanvas
 
ensureOpen() - Method in class net.fokinatorr.sparkle.graphics.impl.surface.AbstractGLFWWindowSurface
 
ENTER - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
equals(Object) - Method in record class net.fokinatorr.sparkle.assets.Assets.NamedAsset
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.fokinatorr.sparkle.audio.io.ParsedSound
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.fokinatorr.sparkle.event.BackdropChangeEvent.After
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.fokinatorr.sparkle.event.input.KeyboardEvent.CharInputEvent
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.fokinatorr.sparkle.event.input.KeyboardEvent.KeyPressedEvent
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.fokinatorr.sparkle.event.input.KeyboardEvent.KeyReleasedEvent
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.fokinatorr.sparkle.event.input.KeyboardEvent.KeyRepeatedEvent
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.fokinatorr.sparkle.event.input.MouseEvent.MouseClickedEvent
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.fokinatorr.sparkle.event.input.MouseEvent.MouseCursorMovedEvent
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.fokinatorr.sparkle.event.input.MouseEvent.MousePressedEvent
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.fokinatorr.sparkle.event.input.MouseEvent.MouseReleasedEvent
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.fokinatorr.sparkle.event.input.MouseEvent.MouseScrolledEvent
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.fokinatorr.sparkle.event.MessageEvent
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.fokinatorr.sparkle.graphics.image.VectorImage.Vector
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.fokinatorr.sparkle.graphics.impl.gl.GLFramebuffer
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.fokinatorr.sparkle.graphics.impl.TransformOp.MulOp2D
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.fokinatorr.sparkle.graphics.impl.TransformOp.RotateOp2D
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.fokinatorr.sparkle.graphics.impl.TransformOp.ScaleOp2D
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.fokinatorr.sparkle.graphics.impl.TransformOp.TranslateOp2D
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.fokinatorr.sparkle.phys2d.impl.AndHitbox2D
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.fokinatorr.sparkle.phys2d.impl.NotHitbox2D
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.fokinatorr.sparkle.phys2d.impl.OrHitbox2D
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.fokinatorr.sparkle.phys2d.impl.ShapeHitbox2D
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.fokinatorr.sparkle.phys2d.impl.TransformedHitbox2D
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.fokinatorr.sparkle.phys2d.Point2D
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.fokinatorr.sparkle.stage.RenderableID.OtherID
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.fokinatorr.sparkle.stage.RenderableID.SpriteID
Indicates whether some other object is "equal to" this one.
equals(Hitbox2D) - Method in interface net.fokinatorr.sparkle.phys2d.Hitbox2D
Returns whether this hitbox and the given one cover exactly the same points.
equals(Hitbox2D) - Method in enum class net.fokinatorr.sparkle.phys2d.impl.AlwaysHitbox2D
 
equals(Hitbox2D) - Method in record class net.fokinatorr.sparkle.phys2d.impl.AndHitbox2D
 
equals(Hitbox2D) - Method in enum class net.fokinatorr.sparkle.phys2d.impl.NeverHitbox2D
 
equals(Hitbox2D) - Method in record class net.fokinatorr.sparkle.phys2d.impl.NotHitbox2D
 
equals(Hitbox2D) - Method in record class net.fokinatorr.sparkle.phys2d.impl.OrHitbox2D
 
equals(Hitbox2D) - Method in record class net.fokinatorr.sparkle.phys2d.impl.ShapeHitbox2D
 
equals(Hitbox2D) - Method in record class net.fokinatorr.sparkle.phys2d.impl.TransformedHitbox2D
 
EQUALS - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
ESCAPE - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
Event - Interface in net.fokinatorr.sparkle.event
Marker interface for all events, like starting or keyboard/mouse events.
EventDispatcher - Interface in net.fokinatorr.sparkle.event.dispatcher
An event dispatcher that can be used to fire/listen to events.
EventLifecycleAccess - Interface in net.fokinatorr.sparkle.internal.access
 
EventListener - Annotation Interface in net.fokinatorr.sparkle.event.annotation
Annotation used by EventDispatcher.register(Object) that indicates the annotated method should be registered as a listener in the event dispatcher.
Example usage - Section in interface net.fokinatorr.sparkle.stage.StageCreator
 
EXTRA_BOLD - Enum constant in enum class net.fokinatorr.sparkle.graphics.font.FontWeight
 
EXTRA_LIGHT - Enum constant in enum class net.fokinatorr.sparkle.graphics.font.FontWeight
 
extractTo(Path) - Method in interface net.fokinatorr.sparkle.NativeExtractor
Extracts all native libraries into the given directory.

F

F - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
F1 - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
F10 - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
F11 - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
F12 - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
F13 - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
F14 - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
F15 - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
F16 - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
F17 - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
F18 - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
F19 - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
F2 - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
F20 - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
F21 - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
F22 - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
F23 - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
F24 - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
F25 - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
F3 - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
F4 - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
F5 - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
F6 - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
F7 - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
F8 - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
F9 - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
FADE - Enum constant in enum class net.fokinatorr.sparkle.effect.graphics.GraphicEffect
The fade graphic effect.
FB_ORIGINAL_SIZE - Static variable in interface net.fokinatorr.sparkle.graphics.render.surface.RenderingSurface
Pass this constant to RenderingSurface.acquireBuffer(int, int) as one of the parameters to request original resolution.
fboId() - Method in record class net.fokinatorr.sparkle.graphics.impl.gl.GLFramebuffer
Returns the value of the fboId record component.
FilesystemFontProvider - Class in net.fokinatorr.sparkle.graphics.font
A font provider that loads fonts from a base directory, using this format for locating TTF files:
FilesystemFontProvider(Path, String) - Constructor for class net.fokinatorr.sparkle.graphics.font.FilesystemFontProvider
Creates a new filesystem font provider.
fillARGB() - Method in record class net.fokinatorr.sparkle.graphics.image.VectorImage.Vector
Returns the value of the fillARGB record component.
fillARGB(int, int, int, int, int) - Method in class net.fokinatorr.sparkle.graphics.impl.IntBufferPixelAccessor
 
fillARGB(int, int, int, int, int) - Method in interface net.fokinatorr.sparkle.graphics.PixelWriter
Fills a rectangular region with the given color.
filled(int) - Method in record class net.fokinatorr.sparkle.graphics.image.VectorImage.Vector
Creates a filled-only version of this vector.
fillOval(double, double, double, double) - Method in class net.fokinatorr.sparkle.graphics.impl.gl.GLRenderCanvas
 
fillOval(double, double, double, double) - Method in interface net.fokinatorr.sparkle.graphics.render.RenderCanvas
Draws an outline of an oval with the given position and dimensions as specified in RenderCanvas.drawShape(Shape) and fills it as specified in RenderCanvas.fillShape(Shape).
fillOval(Point2D, Point2D) - Method in interface net.fokinatorr.sparkle.graphics.render.RenderCanvas
fillRect(double, double, double, double) - Method in class net.fokinatorr.sparkle.graphics.impl.gl.GLRenderCanvas
 
fillRect(double, double, double, double) - Method in interface net.fokinatorr.sparkle.graphics.render.RenderCanvas
Draws an outline of a rectangle with the given position and dimensions as specified in RenderCanvas.drawShape(Shape) and fills it as specified in RenderCanvas.fillShape(Shape).
fillRect(Point2D, Point2D) - Method in interface net.fokinatorr.sparkle.graphics.render.RenderCanvas
fillShape(Shape) - Method in class net.fokinatorr.sparkle.graphics.impl.gl.GLRenderCanvas
 
fillShape(Shape) - Method in interface net.fokinatorr.sparkle.graphics.render.RenderCanvas
Draws an outline of the specified shape as specified in RenderCanvas.drawShape(Shape) and fills it using the current fill color and blend mode.
fire(Event) - Method in class net.fokinatorr.sparkle.util.Global
Fires the given event on the global event dispatcher (the event dispatcher registered in the global context), returning immediately.
fireAndWait(Event) - Method in class net.fokinatorr.sparkle.util.Global
Fires the given event on the global event dispatcher (the event dispatcher registered in the global context), and waits until all event listeners finish executing.
fireEvent(Event) - Method in interface net.fokinatorr.sparkle.event.dispatcher.EventDispatcher
Fires the given event, i.e.
fireEvent(Event) - Method in class net.fokinatorr.sparkle.event.dispatcher.impl.DefaultEventDispatcher
 
fireEventAndWait(Event) - Method in interface net.fokinatorr.sparkle.event.dispatcher.EventDispatcher
Fires the given event, i.e.
floatValue() - Method in class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicDouble
 
floatValue() - Method in class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicFloat
 
floatValue() - Method in class net.fokinatorr.sparkle.variable.ByteVariable
floatValue() - Method in class net.fokinatorr.sparkle.variable.DoubleVariable
floatValue() - Method in class net.fokinatorr.sparkle.variable.FloatVariable
floatValue() - Method in class net.fokinatorr.sparkle.variable.IntVariable
floatValue() - Method in class net.fokinatorr.sparkle.variable.LongVariable
floatValue() - Method in class net.fokinatorr.sparkle.variable.ShortVariable
FloatVariable - Class in net.fokinatorr.sparkle.variable
A variable storing a double value.
FloatVariable() - Constructor for class net.fokinatorr.sparkle.variable.FloatVariable
Creates a new FloatVariable with initial value 0.0.
FloatVariable(float) - Constructor for class net.fokinatorr.sparkle.variable.FloatVariable
Creates a new FloatVariable with the given initial value.
flush() - Method in class net.fokinatorr.sparkle.graphics.impl.gl.GLRenderCanvas
 
flush() - Method in interface net.fokinatorr.sparkle.graphics.impl.RenderCanvasExt
Flushes all pending operations, if any.
Font - Class in net.fokinatorr.sparkle.graphics.font
Represents a font and its properties.
Font(String, double, FontWeight, FontPosture, boolean, boolean) - Constructor for class net.fokinatorr.sparkle.graphics.font.Font
Creates a new font.
Font.FontBuilder - Class in net.fokinatorr.sparkle.graphics.font
A builder for conveniently creating Fonts.
FontBuilder() - Constructor for class net.fokinatorr.sparkle.graphics.font.Font.FontBuilder
 
FontPosture - Enum Class in net.fokinatorr.sparkle.graphics.font
A font's postural style.
FontProvider - Interface in net.fokinatorr.sparkle.graphics.font
Provides TrueType fonts for family, weight and posture.
FontWeight - Enum Class in net.fokinatorr.sparkle.graphics.font
A font's weight (thickness).
ForRenderable() - Constructor for class net.fokinatorr.sparkle.graphics.render.renderer.Renderer.ForRenderable
 
ForRenderable2D() - Constructor for class net.fokinatorr.sparkle.graphics.render.renderer.Renderer.ForRenderable2D
 
ForRenderable2DWithHitbox() - Constructor for class net.fokinatorr.sparkle.graphics.render.renderer.Renderer.ForRenderable2DWithHitbox
 
FRAGMENT - Enum constant in enum class net.fokinatorr.sparkle.graphics.impl.gl.shader.ShaderType
 
Framebuffer - Interface in net.fokinatorr.sparkle.graphics.render.framebuffer
Represents a render target to present on a rendering surface.
freeing(Buffer) - Method in class net.fokinatorr.sparkle.util.BufferUtils
Returns an AutoCloseable that will free the given buffer's memory address in its close() method.
freePcm() - Method in record class net.fokinatorr.sparkle.audio.io.ParsedSound
Returns the value of the freePcm record component.
frequency() - Method in record class net.fokinatorr.sparkle.audio.io.ParsedSound
Returns the value of the frequency record component.
fromLoaded(List, List) - Static method in interface net.fokinatorr.sparkle.assets.Assets
Creates and returns a Assets instance with contents of the given lists.
fromPublicAPI(long, ParsedSound) - Static method in class net.fokinatorr.sparkle.audio.impl.io.ParsedSoundImpl
Converts a ParsedSound record to a ParsedSoundImpl instance.
FULLSCREENABLE - Enum constant in enum class net.fokinatorr.sparkle.graphics.render.surface.RenderingSurface.Feature
 

G

G - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
generate() - Method in class net.fokinatorr.sparkle.util.GUID
Generates a new UID.
GEOMETRY - Enum constant in enum class net.fokinatorr.sparkle.graphics.impl.gl.shader.ShaderType
 
get() - Method in class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicDouble
Returns the current value, with memory effects as specified by VarHandle.getVolatile(Object...).
get() - Method in class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicFloat
Returns the current value, with memory effects as specified by VarHandle.getVolatile(Object...).
get(int) - Method in class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicDoubleArray
Returns the current value of the element at index i, with memory effects as specified by VarHandle.getVolatile(Object...).
get(Class) - Method in class net.fokinatorr.sparkle.context.DefaultAppContext
 
get(Class) - Method in class net.fokinatorr.sparkle.graphics.render.renderer.RendererRegistry
Returns a renderer suitable for rendering instances of the given type or its supertype.
get(Class) - Method in interface net.fokinatorr.sparkle.context.AppContext
Gets a bean instance by its type (usually an interface type).
get(Class) - Method in class net.fokinatorr.sparkle.util.Global
Gets a component instance from the global context by the given type.
getAll() - Method in class net.fokinatorr.sparkle.graphics.image.impl.AWTRasterImage.Reader
 
getAll() - Method in class net.fokinatorr.sparkle.graphics.impl.IntBufferPixelAccessor
 
getAll() - Method in interface net.fokinatorr.sparkle.graphics.PixelReader
Returns the entire image as a 2D array using row-major order.
getAll(Class) - Method in class net.fokinatorr.sparkle.context.DefaultAppContext
 
getAll(Class) - Method in interface net.fokinatorr.sparkle.context.AppContext
Gets all registered beans by the given type.
getAll(Class) - Method in class net.fokinatorr.sparkle.util.Global
Gets all component instances from the global context by the given type.
getALState() - Method in class net.fokinatorr.sparkle.audio.impl.BaseSoundSource
Returns the OpenAL source state of this source.
getAnchorX(RenderingContext) - Method in interface net.fokinatorr.sparkle.graphics.render.renderer.PhysicalRenderable2D
 
getAnchorX(RenderingContext) - Method in interface net.fokinatorr.sparkle.graphics.render.renderer.Renderable2D
Returns the X coordinate of the point to rotate and scale around.
getAnchorY(RenderingContext) - Method in interface net.fokinatorr.sparkle.graphics.render.renderer.PhysicalRenderable2D
 
getAnchorY(RenderingContext) - Method in interface net.fokinatorr.sparkle.graphics.render.renderer.Renderable2D
Returns the Y coordinate of the point to rotate and scale around.
getAndAdd(byte) - Method in class net.fokinatorr.sparkle.variable.ByteVariable
Adds the given value to current value.
getAndAdd(double) - Method in class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicDouble
Atomically adds the given value to current value, with memory effects as specified by VarHandle.compareAndSet(Object...).
getAndAdd(double) - Method in class net.fokinatorr.sparkle.variable.DoubleVariable
Adds the given value to current value.
getAndAdd(float) - Method in class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicFloat
Atomically adds the given value to current value, with memory effects as specified by VarHandle.compareAndSet(Object...).
getAndAdd(float) - Method in class net.fokinatorr.sparkle.variable.FloatVariable
Adds the given value to current value.
getAndAdd(int) - Method in class net.fokinatorr.sparkle.variable.IntVariable
Adds the given value to current value.
getAndAdd(int, double) - Method in class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicDoubleArray
Atomically adds the given value to the element at index i, with memory effects as specified by VarHandle.compareAndSet(Object...).
getAndAdd(long) - Method in class net.fokinatorr.sparkle.variable.LongVariable
Adds the given value to current value.
getAndAdd(short) - Method in class net.fokinatorr.sparkle.variable.ShortVariable
Adds the given value to current value.
getAndDecrement() - Method in class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicDouble
Atomically decrements the current value, with memory effects as specified by VarHandle.compareAndSet(Object...).
getAndDecrement() - Method in class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicFloat
Atomically decrements the current value, with memory effects as specified by VarHandle.compareAndSet(Object...).
getAndDecrement() - Method in class net.fokinatorr.sparkle.variable.ByteVariable
Decrements the current value.
getAndDecrement() - Method in class net.fokinatorr.sparkle.variable.DoubleVariable
Decrements the current value.
getAndDecrement() - Method in class net.fokinatorr.sparkle.variable.FloatVariable
Decrements the current value.
getAndDecrement() - Method in class net.fokinatorr.sparkle.variable.IntVariable
Decrements the current value.
getAndDecrement() - Method in class net.fokinatorr.sparkle.variable.LongVariable
Decrements the current value.
getAndDecrement() - Method in class net.fokinatorr.sparkle.variable.ShortVariable
Decrements the current value.
getAndDecrement(int) - Method in class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicDoubleArray
Atomically decrements the value of the element at index i, with memory effects as specified by VarHandle.compareAndSet(Object...).
getAndIncrement() - Method in class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicDouble
Atomically increments the current value, with memory effects as specified by VarHandle.compareAndSet(Object...).
getAndIncrement() - Method in class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicFloat
Atomically increments the current value, with memory effects as specified by VarHandle.compareAndSet(Object...).
getAndIncrement() - Method in class net.fokinatorr.sparkle.variable.ByteVariable
Increments the current value.
getAndIncrement() - Method in class net.fokinatorr.sparkle.variable.DoubleVariable
Increments the current value.
getAndIncrement() - Method in class net.fokinatorr.sparkle.variable.FloatVariable
Increments the current value.
getAndIncrement() - Method in class net.fokinatorr.sparkle.variable.IntVariable
Increments the current value.
getAndIncrement() - Method in class net.fokinatorr.sparkle.variable.LongVariable
Increments the current value.
getAndIncrement() - Method in class net.fokinatorr.sparkle.variable.ShortVariable
Increments the current value.
getAndIncrement(int) - Method in class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicDoubleArray
Atomically increments the value of the element at index i, with memory effects as specified by VarHandle.compareAndSet(Object...).
getAndNegate() - Method in class net.fokinatorr.sparkle.variable.BooleanVariable
Negates the current value, returning the old value.
getAndSet(double) - Method in class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicDouble
Atomically sets the value to the given value and returns the old value, with memory effects as specified by VarHandle.getAndSet(Object...).
getAndSet(float) - Method in class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicFloat
Atomically sets the value to the given value and returns the old value, with memory effects as specified by VarHandle.getAndSet(Object...).
getAndSet(int, double) - Method in class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicDoubleArray
Atomically sets the element at index i to newValue and returns the old value, with memory effects as specified by VarHandle.getAndSet(Object...).
getAndUpdate(int, DoubleUnaryOperator) - Method in class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicDoubleArray
Atomically updates (with memory effects as specified by VarHandle.compareAndSet(Object...)) the element at index i with the results of applying the given function, returning the previous value.
getAndUpdate(FloatUnaryOperator) - Method in class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicFloat
Atomically updates (with memory effects as specified by VarHandle.compareAndSet(Object...)) the current value with the results of applying the given function, returning the updated value.
getAndUpdate(DoubleUnaryOperator) - Method in class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicDouble
Atomically updates (with memory effects as specified by VarHandle.compareAndSet(Object...)) the current value with the results of applying the given function, returning the updated value.
getARGB(int, int) - Method in class net.fokinatorr.sparkle.graphics.image.impl.AWTRasterImage.Reader
 
getARGB(int, int) - Method in class net.fokinatorr.sparkle.graphics.impl.IntBufferPixelAccessor
 
getARGB(int, int) - Method in interface net.fokinatorr.sparkle.graphics.PixelReader
Returns the color of the given point in ARGB format.
getAssets() - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
Returns this sprite's assets (costumes and sounds).
getBackdropIndex() - Method in class net.fokinatorr.sparkle.stage.Stage
Returns the current backdrop index.
getBackdropName() - Method in class net.fokinatorr.sparkle.stage.Stage
Returns the current backdrop name.
getBounds() - Method in interface net.fokinatorr.sparkle.phys2d.Hitbox2D
Returns a rectangle that completely encloses this hitbox, if any.
getBounds() - Method in enum class net.fokinatorr.sparkle.phys2d.impl.AlwaysHitbox2D
 
getBounds() - Method in record class net.fokinatorr.sparkle.phys2d.impl.AndHitbox2D
 
getBounds() - Method in enum class net.fokinatorr.sparkle.phys2d.impl.NeverHitbox2D
 
getBounds() - Method in record class net.fokinatorr.sparkle.phys2d.impl.NotHitbox2D
 
getBounds() - Method in record class net.fokinatorr.sparkle.phys2d.impl.OrHitbox2D
 
getBounds() - Method in record class net.fokinatorr.sparkle.phys2d.impl.ShapeHitbox2D
 
getBounds() - Method in record class net.fokinatorr.sparkle.phys2d.impl.TransformedHitbox2D
 
getBounds(AffineTransform) - Method in interface net.fokinatorr.sparkle.phys2d.Hitbox2D
Returns a rectangle that completely encloses this hitbox transformed using the provided AffineTransform instance.
getBounds(RenderingContext) - Method in interface net.fokinatorr.sparkle.graphics.render.renderer.PhysicalRenderable2D
 
getBounds(RenderingContext) - Method in interface net.fokinatorr.sparkle.graphics.render.renderer.Renderable2D
Returns this object's on-screen bounding hitbox, as if without any transformations applied.
getBounds(RenderingContext) - Method in class net.fokinatorr.sparkle.stage.ControlPanel
 
getBounds(T, RenderingContext) - Method in class net.fokinatorr.sparkle.graphics.render.renderer.Renderer.ForRenderable
Returns the boundaries of the given object on a 2D surface.
getBounds(T, RenderingContext) - Method in class net.fokinatorr.sparkle.graphics.render.renderer.Renderer.ForRenderable2D
Returns the boundaries of the given object on a 2D surface.
getBounds(T, RenderingContext) - Method in interface net.fokinatorr.sparkle.graphics.render.renderer.Renderer
Returns the boundaries of the given object on a 2D surface.
getBubbleState() - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
Returns the current text bubble state.
getCanvas() - Method in class net.fokinatorr.sparkle.graphics.impl.AbstractRenderingContext
 
getCanvas() - Method in interface net.fokinatorr.sparkle.graphics.render.RenderingContext
Returns the canvas used for drawing operations.
getColumn(int) - Method in class net.fokinatorr.sparkle.graphics.image.impl.AWTRasterImage.Reader
 
getColumn(int) - Method in class net.fokinatorr.sparkle.graphics.impl.IntBufferPixelAccessor
 
getColumn(int) - Method in interface net.fokinatorr.sparkle.graphics.PixelReader
Returns a vertical line of pixels at the specified X coordinate.
getContext() - Method in class net.fokinatorr.sparkle.context.AppContextHolder
Returns the application context of the current thread, or null if none.
getContext() - Method in class net.fokinatorr.sparkle.graphics.impl.gl.GLRenderCanvas
 
getContext() - Method in interface net.fokinatorr.sparkle.graphics.render.RenderCanvas
Returns the parent context of this canvas.
getContext(Stage) - Method in interface net.fokinatorr.sparkle.graphics.GraphicsManager
Returns an existing rendering context bound to the given stage.
getContext(Stage) - Method in class net.fokinatorr.sparkle.graphics.impl.OpenGLGraphicsManager
 
getContextOrThrow() - Method in class net.fokinatorr.sparkle.context.AppContextHolder
Returns this application context of the current thread, requiring it to be present.
getCostumeIndex() - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
Returns the current costume index.
getCostumeName() - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
Returns the current costume name.
getDefaultValue() - Method in enum class net.fokinatorr.sparkle.effect.graphics.GraphicEffect
Returns the default value of this effect instance.
getDefaultValue() - Method in interface net.fokinatorr.sparkle.effect.NormalizableEffect
Returns the default value of this effect instance.
getDimensions() - Method in class net.fokinatorr.sparkle.graphics.impl.gl.GLRenderCanvas
 
getDimensions() - Method in interface net.fokinatorr.sparkle.graphics.PixelReader
Returns a vector representing the dimensions of underlying image data.
getDimensions() - Method in interface net.fokinatorr.sparkle.graphics.render.framebuffer.Framebuffer
Returns a vector representing the dimensions of underlying framebuffer's data.
getDimensions() - Method in interface net.fokinatorr.sparkle.graphics.render.RenderCanvas
Returns a vector representing the width and height of the canvas area.
getDirection() - Method in interface net.fokinatorr.sparkle.phys2d.Physical2D
Returns the current direction in degrees.
getDirection() - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
Returns the current direction.
getDouble(Object) - Method in class net.fokinatorr.sparkle.effect.EffectMap
Returns the value of the given effect.
getEventLifecycleAccess() - Method in class net.fokinatorr.sparkle.internal.access.SharedSecrets
 
getFeatures() - Method in interface net.fokinatorr.sparkle.graphics.render.surface.EmbeddedSurface
 
getFeatures() - Method in interface net.fokinatorr.sparkle.graphics.render.surface.HeadlessSurface
 
getFeatures() - Method in interface net.fokinatorr.sparkle.graphics.render.surface.RenderingSurface
Returns supported features of this surface.
getFeatures() - Method in interface net.fokinatorr.sparkle.graphics.render.surface.WindowSurface
 
getFormatName() - Method in interface net.fokinatorr.sparkle.audio.io.SoundDecoder
Returns the name of the format this decoder is used to handle, if available, otherwise a string telling the format is unknown, e.g.
getFPSLimit() - Method in class net.fokinatorr.sparkle.stage.Stage
Returns the current framerate limit.
getFrom(Stage) - Method in interface net.fokinatorr.sparkle.stage.RenderableID
Gets a renderable object from the given Stage by this ID.
getFrom(Stage) - Method in record class net.fokinatorr.sparkle.stage.RenderableID.OtherID
 
getFrom(Stage) - Method in record class net.fokinatorr.sparkle.stage.RenderableID.SpriteID
 
getGraphicEffects() - Method in interface net.fokinatorr.sparkle.graphics.render.renderer.Renderable
Returns the graphic effect map to apply to this object's render.
getGraphicEffects() - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
Returns this sprite's graphic effect map, i.e.
getHeight() - Method in class net.fokinatorr.sparkle.graphics.image.impl.AWTRasterImage.Reader
 
getHeight() - Method in class net.fokinatorr.sparkle.graphics.impl.IntBufferPixelAccessor
 
getHeight() - Method in class net.fokinatorr.sparkle.graphics.impl.surface.AbstractGLFWWindowSurface
 
getHeight() - Method in interface net.fokinatorr.sparkle.graphics.PixelReader
Returns the height of underlying image data.
getHeight() - Method in interface net.fokinatorr.sparkle.graphics.PixelWriter
Returns the height of underlying image data.
getHeight() - Method in interface net.fokinatorr.sparkle.graphics.render.surface.RenderingSurface
Returns the height of this surface, in pixels.
getHeight() - Method in class net.fokinatorr.sparkle.stage.Stage
Returns the current height of this stage.
getHitbox() - Method in interface net.fokinatorr.sparkle.phys2d.Physical2D
Returns this object's collision box, as if without any transformations applied.
getHitbox() - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
 
getIntrinsicHeight() - Method in interface net.fokinatorr.sparkle.graphics.image.Image
Returns the intrinsic height of this image.
getIntrinsicHeight() - Method in class net.fokinatorr.sparkle.graphics.image.impl.AWTRasterImage
 
getIntrinsicHeight() - Method in class net.fokinatorr.sparkle.graphics.image.impl.SVGImage
 
getIntrinsicHeight() - Method in interface net.fokinatorr.sparkle.graphics.image.RasterImage
Returns the intrinsic height of this image.
getIntrinsicWidth() - Method in interface net.fokinatorr.sparkle.graphics.image.Image
Returns the intrinsic width of this image.
getIntrinsicWidth() - Method in class net.fokinatorr.sparkle.graphics.image.impl.AWTRasterImage
 
getIntrinsicWidth() - Method in class net.fokinatorr.sparkle.graphics.image.impl.SVGImage
 
getIntrinsicWidth() - Method in interface net.fokinatorr.sparkle.graphics.image.RasterImage
Returns the intrinsic width of this image.
getIterable() - Method in class net.fokinatorr.sparkle.audio.impl.bufferprovider.IterableSoundBufferProvider
Returns the backing iterable.
getLayers() - Method in class net.fokinatorr.sparkle.stage.Stage
Returns an immutable List view which represents in which order to render the objects (in other words, the objects' layers).
getLoadedImage(Path) - Method in interface net.fokinatorr.sparkle.graphics.GraphicsManager
Returns an image previously loaded from the given path, if any, otherwise returns null.
getLoadedImage(Path) - Method in class net.fokinatorr.sparkle.graphics.impl.OpenGLGraphicsManager
 
getMainSprite(String) - Method in class net.fokinatorr.sparkle.stage.Stage
Returns the main sprite with the given ID.
getMessage() - Method in exception class net.fokinatorr.sparkle.graphics.impl.gl.shader.ShaderCompileException
 
getMessage() - Method in exception class net.fokinatorr.sparkle.graphics.impl.gl.shader.ShaderProgramLinkException
 
getMessage() - Method in exception class net.fokinatorr.sparkle.util.stopwatch.IllegalStopwatchStateException
 
getMimeType() - Method in interface net.fokinatorr.sparkle.graphics.image.Image
Optional hint about the MIME type of this image.
getMimeType() - Method in class net.fokinatorr.sparkle.graphics.image.impl.AWTRasterImage
 
getMimeType() - Method in class net.fokinatorr.sparkle.graphics.image.impl.SVGImage
 
getName() - Method in class net.fokinatorr.sparkle.graphics.impl.surface.AbstractGLFWWindowSurface
 
getName() - Method in interface net.fokinatorr.sparkle.graphics.render.surface.EmbeddedSurface
 
getName() - Method in interface net.fokinatorr.sparkle.graphics.render.surface.RenderingSurface
Returns the name of this surface, if RenderingSurface.Feature.NAMEABLE is supported.
getName() - Method in interface net.fokinatorr.sparkle.graphics.render.surface.WindowSurface
 
getOrCreate(String, Supplier) - Method in class net.fokinatorr.sparkle.graphics.impl.gl.shader.GLShaderProgramCache
Gets or creates a shader program with the specified name.
getOrUploadRaster(RasterImage) - Method in class net.fokinatorr.sparkle.graphics.impl.gl.element.GLTextureCache
Returns a ready texture ID, or uploads the given raster image to GPU and stores and returns its texture ID.
getOrUploadVector(VectorImage, Point2D) - Method in class net.fokinatorr.sparkle.graphics.impl.gl.element.GLTextureCache
Returns a ready texture ID, or uploads the given vector image to GPU with the given dimensions and stores and returns its texture ID.
getParent() - Method in class net.fokinatorr.sparkle.graphics.impl.gl.OpenGLContext
 
getParent(Sprite) - Method in interface net.fokinatorr.sparkle.internal.access.SpriteAccess
 
getPcmData() - Method in class net.fokinatorr.sparkle.audio.impl.io.ParsedSoundImpl
Returns the underlying PCM data buffer.
getPCMData() - Method in class net.fokinatorr.sparkle.audio.impl.SoundBuffer
Returns the raw PCM data associated with this sound buffer.
getPos() - Method in class net.fokinatorr.sparkle.graphics.impl.surface.AbstractGLFWWindowSurface
 
getPos() - Method in interface net.fokinatorr.sparkle.graphics.render.surface.RenderingSurface
Returns position of the top-left corner of this surface, if RenderingSurface.Feature.MOVABLE is supported.
getPreferredCanvasSize(RenderingContext) - Method in interface net.fokinatorr.sparkle.graphics.render.renderer.Renderable
Returns preferred dimensions of the object's render.
getPreferredCanvasSize(RenderingContext) - Method in class net.fokinatorr.sparkle.stage.ControlPanel
 
getPreferredCanvasSize(RenderingContext) - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
 
getRenderable(String) - Method in class net.fokinatorr.sparkle.stage.Stage
Returns the renderable object with the given ID.
getRotation(RenderingContext) - Method in interface net.fokinatorr.sparkle.graphics.render.renderer.PhysicalRenderable2D
 
getRotation(RenderingContext) - Method in interface net.fokinatorr.sparkle.graphics.render.renderer.Renderable2D
Returns the rotation in degrees for this object.
getRotation(RenderingContext) - Method in class net.fokinatorr.sparkle.stage.ControlPanel
 
getRotationMode() - Method in interface net.fokinatorr.sparkle.phys2d.Physical2D
Returns the rotation mode.
getRotationMode() - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
Returns the current rotation mode.
getRow(int) - Method in class net.fokinatorr.sparkle.graphics.image.impl.AWTRasterImage.Reader
 
getRow(int) - Method in class net.fokinatorr.sparkle.graphics.impl.IntBufferPixelAccessor
 
getRow(int) - Method in interface net.fokinatorr.sparkle.graphics.PixelReader
Returns a horizontal line of pixels at the specified Y coordinate.
getScreenScaleX(RenderingContext) - Method in interface net.fokinatorr.sparkle.graphics.render.renderer.PhysicalRenderable2D
 
getScreenScaleX(RenderingContext) - Method in interface net.fokinatorr.sparkle.graphics.render.renderer.Renderable2D
Returns the X scale coefficient for this object.
getScreenScaleX(RenderingContext) - Method in class net.fokinatorr.sparkle.stage.ControlPanel
 
getScreenScaleY(RenderingContext) - Method in interface net.fokinatorr.sparkle.graphics.render.renderer.PhysicalRenderable2D
 
getScreenScaleY(RenderingContext) - Method in interface net.fokinatorr.sparkle.graphics.render.renderer.Renderable2D
Returns the Y scale coefficient for this object.
getScreenScaleY(RenderingContext) - Method in class net.fokinatorr.sparkle.stage.ControlPanel
 
getScreenX(RenderingContext) - Method in interface net.fokinatorr.sparkle.graphics.render.renderer.PhysicalRenderable2D
 
getScreenX(RenderingContext) - Method in interface net.fokinatorr.sparkle.graphics.render.renderer.Renderable2D
Returns the X axis translation for this object.
getScreenX(RenderingContext) - Method in class net.fokinatorr.sparkle.stage.ControlPanel
 
getScreenY(RenderingContext) - Method in interface net.fokinatorr.sparkle.graphics.render.renderer.PhysicalRenderable2D
 
getScreenY(RenderingContext) - Method in interface net.fokinatorr.sparkle.graphics.render.renderer.Renderable2D
Returns the Y axis translation for this object.
getScreenY(RenderingContext) - Method in class net.fokinatorr.sparkle.stage.ControlPanel
 
getSize() - Method in class net.fokinatorr.sparkle.graphics.impl.surface.AbstractGLFWWindowSurface
 
getSize() - Method in interface net.fokinatorr.sparkle.graphics.render.surface.RenderingSurface
Returns a vector representing dimensions of this surface, in pixels.
getSoundEffects() - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
Returns this sprite's sound effect map, i.e.
getSoundInstance(String) - Method in interface net.fokinatorr.sparkle.audio.AudioManager
Returns a sound source by the given ID, if any, otherwise returns null.
getSoundInstance(String) - Method in class net.fokinatorr.sparkle.audio.impl.OpenALAudioManager
Returns a sound source by the given ID, if any, otherwise returns null.
getSprite(String, int) - Method in class net.fokinatorr.sparkle.stage.Stage
Returns the sprite with the given sprite ID and clone ID.
getSpriteAccess() - Method in class net.fokinatorr.sparkle.internal.access.SharedSecrets
 
getStage() - Method in interface net.fokinatorr.sparkle.event.lifecycle.StageStateChangeEvent
Returns the stage whose state was changed.
getStage() - Method in class net.fokinatorr.sparkle.event.lifecycle.StageStateChangeEvent.StartEvent
Returns the stage whose state was changed.
getStage() - Method in class net.fokinatorr.sparkle.event.lifecycle.StageStateChangeEvent.StopEvent
Returns the stage whose state was changed.
getStage() - Method in interface net.fokinatorr.sparkle.graphics.render.RenderingContext
Returns the stage associated with this context.
getStageAccess() - Method in class net.fokinatorr.sparkle.internal.access.SharedSecrets
 
getStageAssets() - Method in interface net.fokinatorr.sparkle.stage.StageCreator
Returns the assets bundle used by this stage (backdrops and sounds).
getState() - Method in class net.fokinatorr.sparkle.audio.impl.BaseSoundSource
Returns the current state of this sound.
getState() - Method in interface net.fokinatorr.sparkle.audio.SoundInstance
Returns the current state of this sound.
getState() - Method in interface net.fokinatorr.sparkle.event.lifecycle.StageStateChangeEvent
Returns the state which is set within a stage before this event is fired.
getState() - Method in class net.fokinatorr.sparkle.event.lifecycle.StageStateChangeEvent.StartEvent
Returns the state which is set within a stage before this event is fired.
getState() - Method in class net.fokinatorr.sparkle.event.lifecycle.StageStateChangeEvent.StopEvent
Returns the state which is set within a stage before this event is fired.
getState() - Method in class net.fokinatorr.sparkle.stage.Stage
Returns the current state of this stage.
getState() - Method in class net.fokinatorr.sparkle.util.stopwatch.AbstractStopwatch
Returns the state of this Stopwatch.
getState() - Method in interface net.fokinatorr.sparkle.util.stopwatch.Stopwatch
Returns the state of this Stopwatch.
getStretchX() - Method in interface net.fokinatorr.sparkle.phys2d.Physical2D
Returns the X axis stretch in percents.
getStretchX() - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
Returns the current X axis stretch.
getStretchY() - Method in interface net.fokinatorr.sparkle.phys2d.Physical2D
Returns the Y axis stretch in percents.
getStretchY() - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
Returns the current Y axis stretch.
getSupportedExtensions() - Method in enum class net.fokinatorr.sparkle.audio.impl.io.VorbisSoundDecoder
Returns all file extensions of audio formats supported by this decoder, if available, otherwise returns an empty set.
getSupportedExtensions() - Method in interface net.fokinatorr.sparkle.audio.io.SoundDecoder
Returns all file extensions of audio formats supported by this decoder, if available, otherwise returns an empty set.
getSurface() - Method in class net.fokinatorr.sparkle.graphics.impl.gl.OpenGLContext
 
getSurface() - Method in interface net.fokinatorr.sparkle.graphics.render.RenderingContext
Returns the underlying rendering surface.
getTargetObject(MouseEvent) - Method in class net.fokinatorr.sparkle.util.GraphicsUtils
Returns the ID of the object that the mouse cursor hovers over as specified by the given MouseEvent instance.
getTotalTransform() - Method in class net.fokinatorr.sparkle.graphics.impl.gl.element.GLTransformedVertexArray
Returns the combined transformation matrix of this object.
getTPSLimit() - Method in class net.fokinatorr.sparkle.stage.Stage
Returns the current tick rate limit.
getTTF(String, FontWeight, FontPosture) - Method in class net.fokinatorr.sparkle.graphics.font.FilesystemFontProvider
 
getTTF(String, FontWeight, FontPosture) - Method in interface net.fokinatorr.sparkle.graphics.font.FontProvider
Attempts to find a path to a TrueType font matching the given characteristics.
getUSMapping() - Method in enum class net.fokinatorr.sparkle.event.input.Key
Returns the US mapping for this key, if any, else throws an exception.
getValue() - Method in class net.fokinatorr.sparkle.variable.BooleanVariable
Deprecated.
getValue() - Method in class net.fokinatorr.sparkle.variable.ByteVariable
Deprecated.
Please use ByteVariable.getValueAsByte() instead.
getValue() - Method in class net.fokinatorr.sparkle.variable.CharVariable
Deprecated.
Please use CharVariable.getValueAsChar() instead.
getValue() - Method in class net.fokinatorr.sparkle.variable.DoubleVariable
Deprecated.
getValue() - Method in class net.fokinatorr.sparkle.variable.FloatVariable
Deprecated.
getValue() - Method in class net.fokinatorr.sparkle.variable.IntVariable
Deprecated.
Please use IntVariable.getValueAsInt() instead.
getValue() - Method in class net.fokinatorr.sparkle.variable.LongVariable
Deprecated.
Please use LongVariable.getValueAsLong() instead.
getValue() - Method in class net.fokinatorr.sparkle.variable.ObjectVariable
Returns the current value of this variable.
getValue() - Method in class net.fokinatorr.sparkle.variable.ShortVariable
Deprecated.
getValue() - Method in interface net.fokinatorr.sparkle.variable.Variable
Returns the current value of this variable.
getValueAsBoolean() - Method in class net.fokinatorr.sparkle.variable.BooleanVariable
Returns the current value of this variable.
getValueAsBoolean() - Method in interface net.fokinatorr.sparkle.variable.Variable
Returns the current value as boolean, if possible, else throws an exception.
getValueAsByte() - Method in class net.fokinatorr.sparkle.variable.ByteVariable
Returns the current value of this variable.
getValueAsByte() - Method in class net.fokinatorr.sparkle.variable.DoubleVariable
Returns the current value of this variable as byte.
getValueAsByte() - Method in class net.fokinatorr.sparkle.variable.FloatVariable
Returns the current value of this variable as byte.
getValueAsByte() - Method in class net.fokinatorr.sparkle.variable.IntVariable
Returns the current value of this variable as byte.
getValueAsByte() - Method in class net.fokinatorr.sparkle.variable.LongVariable
Returns the current value of this variable as byte.
getValueAsByte() - Method in class net.fokinatorr.sparkle.variable.ShortVariable
Returns the current value of this variable as byte.
getValueAsByte() - Method in interface net.fokinatorr.sparkle.variable.Variable
Returns the current value as byte, if possible, else throws an exception.
getValueAsChar() - Method in class net.fokinatorr.sparkle.variable.CharVariable
Returns the current value of this variable.
getValueAsChar() - Method in interface net.fokinatorr.sparkle.variable.Variable
Returns the current value as char, if possible, else throws an exception.
getValueAsDouble() - Method in class net.fokinatorr.sparkle.variable.ByteVariable
Returns the current value of this variable as double.
getValueAsDouble() - Method in class net.fokinatorr.sparkle.variable.DoubleVariable
Returns the current value of this variable.
getValueAsDouble() - Method in class net.fokinatorr.sparkle.variable.FloatVariable
Returns the current value of this variable as double.
getValueAsDouble() - Method in class net.fokinatorr.sparkle.variable.IntVariable
Returns the current value of this variable as double.
getValueAsDouble() - Method in class net.fokinatorr.sparkle.variable.LongVariable
Returns the current value of this variable as double.
getValueAsDouble() - Method in class net.fokinatorr.sparkle.variable.ShortVariable
Returns the current value of this variable as double.
getValueAsDouble() - Method in interface net.fokinatorr.sparkle.variable.Variable
Returns the current value as double, if possible, else throws an exception.
getValueAsFloat() - Method in class net.fokinatorr.sparkle.variable.ByteVariable
Returns the current value of this variable as float.
getValueAsFloat() - Method in class net.fokinatorr.sparkle.variable.DoubleVariable
Returns the current value of this variable as float.
getValueAsFloat() - Method in class net.fokinatorr.sparkle.variable.FloatVariable
Returns the current value of this variable.
getValueAsFloat() - Method in class net.fokinatorr.sparkle.variable.IntVariable
Returns the current value of this variable as float.
getValueAsFloat() - Method in class net.fokinatorr.sparkle.variable.LongVariable
Returns the current value of this variable as float.
getValueAsFloat() - Method in class net.fokinatorr.sparkle.variable.ShortVariable
Returns the current value of this variable as float.
getValueAsFloat() - Method in interface net.fokinatorr.sparkle.variable.Variable
Returns the current value as float, if possible, else throws an exception.
getValueAsInt() - Method in class net.fokinatorr.sparkle.variable.ByteVariable
Returns the current value of this variable as int.
getValueAsInt() - Method in class net.fokinatorr.sparkle.variable.DoubleVariable
Returns the current value of this variable as int.
getValueAsInt() - Method in class net.fokinatorr.sparkle.variable.FloatVariable
Returns the current value of this variable as int.
getValueAsInt() - Method in class net.fokinatorr.sparkle.variable.IntVariable
Returns the current value of this variable.
getValueAsInt() - Method in class net.fokinatorr.sparkle.variable.LongVariable
Returns the current value of this variable as int.
getValueAsInt() - Method in class net.fokinatorr.sparkle.variable.ShortVariable
Returns the current value of this variable as int.
getValueAsInt() - Method in interface net.fokinatorr.sparkle.variable.Variable
Returns the current value as int, if possible, else throws an exception.
getValueAsLong() - Method in class net.fokinatorr.sparkle.variable.ByteVariable
Returns the current value of this variable as long.
getValueAsLong() - Method in class net.fokinatorr.sparkle.variable.DoubleVariable
Returns the current value of this variable as long.
getValueAsLong() - Method in class net.fokinatorr.sparkle.variable.FloatVariable
Returns the current value of this variable as long.
getValueAsLong() - Method in class net.fokinatorr.sparkle.variable.IntVariable
Returns the current value of this variable as long.
getValueAsLong() - Method in class net.fokinatorr.sparkle.variable.LongVariable
Returns the current value of this variable.
getValueAsLong() - Method in class net.fokinatorr.sparkle.variable.ShortVariable
Returns the current value of this variable as long.
getValueAsLong() - Method in interface net.fokinatorr.sparkle.variable.Variable
Returns the current value as long, if possible, else throws an exception.
getValueAsShort() - Method in class net.fokinatorr.sparkle.variable.ByteVariable
Returns the current value of this variable as short.
getValueAsShort() - Method in class net.fokinatorr.sparkle.variable.DoubleVariable
Returns the current value of this variable as short.
getValueAsShort() - Method in class net.fokinatorr.sparkle.variable.FloatVariable
Returns the current value of this variable as short.
getValueAsShort() - Method in class net.fokinatorr.sparkle.variable.IntVariable
Returns the current value of this variable as short.
getValueAsShort() - Method in class net.fokinatorr.sparkle.variable.LongVariable
Returns the current value of this variable as short.
getValueAsShort() - Method in class net.fokinatorr.sparkle.variable.ShortVariable
Returns the current value of this variable.
getValueAsShort() - Method in interface net.fokinatorr.sparkle.variable.Variable
Returns the current value as short, if possible, else throws an exception.
getVariable(ID) - Method in class net.fokinatorr.sparkle.variable.AbstractVariableStorage
Returns a variable with the given ID.
getVariable(ID) - Method in interface net.fokinatorr.sparkle.variable.VariableStorage
Returns a variable with the given ID.
getVariables() - Method in class net.fokinatorr.sparkle.variable.AbstractVariableStorage
Returns an unmodifiable view over this storage's variables.
getVariables() - Method in interface net.fokinatorr.sparkle.variable.VariableStorage
Returns an unmodifiable view over this storage's variables.
getVectors() - Method in class net.fokinatorr.sparkle.graphics.image.impl.SVGImage
 
getVectors() - Method in interface net.fokinatorr.sparkle.graphics.image.VectorImage
Returns a list of vectors of this vector image.
getWidth() - Method in class net.fokinatorr.sparkle.graphics.image.impl.AWTRasterImage.Reader
 
getWidth() - Method in class net.fokinatorr.sparkle.graphics.impl.IntBufferPixelAccessor
 
getWidth() - Method in class net.fokinatorr.sparkle.graphics.impl.surface.AbstractGLFWWindowSurface
 
getWidth() - Method in interface net.fokinatorr.sparkle.graphics.PixelReader
Returns the width of underlying image data.
getWidth() - Method in interface net.fokinatorr.sparkle.graphics.PixelWriter
Returns the width of underlying image data.
getWidth() - Method in interface net.fokinatorr.sparkle.graphics.render.surface.RenderingSurface
Returns the width of this surface, in pixels.
getWidth() - Method in class net.fokinatorr.sparkle.stage.Stage
Returns the current width of this stage.
getWithoutStageRedraw(Stage, Supplier) - Method in class net.fokinatorr.sparkle.util.GraphicsUtils
Runs the given code, disabling redraws on the given stage, and returns the code's result.
getX() - Method in class net.fokinatorr.sparkle.graphics.impl.surface.AbstractGLFWWindowSurface
 
getX() - Method in interface net.fokinatorr.sparkle.graphics.render.surface.RenderingSurface
Returns X coordinate of the top-left corner of this surface, if RenderingSurface.Feature.MOVABLE is supported.
getX() - Method in interface net.fokinatorr.sparkle.graphics.render.surface.WindowSurface
 
getX() - Method in interface net.fokinatorr.sparkle.phys2d.Physical2D
Returns the current X coordinate.
getX() - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
Returns the current X coordinate.
getY() - Method in class net.fokinatorr.sparkle.graphics.impl.surface.AbstractGLFWWindowSurface
 
getY() - Method in interface net.fokinatorr.sparkle.graphics.render.surface.RenderingSurface
Returns Y coordinate of the top-left corner of this surface, if RenderingSurface.Feature.MOVABLE is supported.
getY() - Method in interface net.fokinatorr.sparkle.graphics.render.surface.WindowSurface
 
getY() - Method in interface net.fokinatorr.sparkle.phys2d.Physical2D
Returns the current Y coordinate.
getY() - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
Returns the current Y coordinate.
GL_GLFWWindowSurface - Class in net.fokinatorr.sparkle.graphics.impl.gl.surface
A GLFW window rendering surface, providing GL framebuffers.
GLFramebuffer - Record Class in net.fokinatorr.sparkle.graphics.impl.gl
A wrapper for an OpenGL framebuffer.
GLFramebuffer(int, int) - Constructor for record class net.fokinatorr.sparkle.graphics.impl.gl.GLFramebuffer
Creates a new FBO with the given default dimensions.
GLFramebuffer(int, int, int) - Constructor for record class net.fokinatorr.sparkle.graphics.impl.gl.GLFramebuffer
Uses the given FBO with the given default dimensions.
GLFramebuffer(int, int, int, int) - Constructor for record class net.fokinatorr.sparkle.graphics.impl.gl.GLFramebuffer
Creates an instance of a GLFramebuffer record class.
GLFWToPublicAPI - Class in net.fokinatorr.sparkle.graphics.impl.surface
Maps GLFW key & mouse button codes to public API enums.
GLFWToPublicAPI() - Constructor for class net.fokinatorr.sparkle.graphics.impl.surface.GLFWToPublicAPI
 
glide(double, double, long) - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
Glides at the given position for the given count of milliseconds.
glideTo(Sprite, long) - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
Glides to the given sprite position for the given count of milliseconds.
Global - Class in net.fokinatorr.sparkle.util
Global access to services via the current application context.
Global() - Constructor for class net.fokinatorr.sparkle.util.Global
 
GLRenderCanvas - Class in net.fokinatorr.sparkle.graphics.impl.gl
An OpenGL render canvas that accepts GLFramebuffers.
GLRenderCanvas(OpenGLContext, boolean) - Constructor for class net.fokinatorr.sparkle.graphics.impl.gl.GLRenderCanvas
 
GLShaderProgram - Class in net.fokinatorr.sparkle.graphics.impl.gl.shader
An OpenGL shader program wrapper.
GLShaderProgram(int) - Constructor for class net.fokinatorr.sparkle.graphics.impl.gl.shader.GLShaderProgram
Creates a GLShaderProgram from an initialized shader program.
GLShaderProgramCache - Class in net.fokinatorr.sparkle.graphics.impl.gl.shader
A name-based cache for GLShaderProgram instances.
GLShaderProgramCache() - Constructor for class net.fokinatorr.sparkle.graphics.impl.gl.shader.GLShaderProgramCache
 
GLSubCanvas - Class in net.fokinatorr.sparkle.graphics.impl.gl
An OpenGL sub-canvas.
GLSubCanvas(GLRenderCanvas) - Constructor for class net.fokinatorr.sparkle.graphics.impl.gl.GLSubCanvas
 
GLTextureCache - Class in net.fokinatorr.sparkle.graphics.impl.gl.element
A cache for loaded images -> uploaded textures.
GLTextureCache() - Constructor for class net.fokinatorr.sparkle.graphics.impl.gl.element.GLTextureCache
 
GLTransformedVertexArray - Class in net.fokinatorr.sparkle.graphics.impl.gl.element
A decorator over GLVertexArray, adding transformation matrices.
GLTransformedVertexArray() - Constructor for class net.fokinatorr.sparkle.graphics.impl.gl.element.GLTransformedVertexArray
 
GLVertexArray - Class in net.fokinatorr.sparkle.graphics.impl.gl.element
An OpenGL vertex array object (VAO).
GLVertexArray(float[], boolean) - Constructor for class net.fokinatorr.sparkle.graphics.impl.gl.element.GLVertexArray
Creates a new vertex array with only vertex data.
GLVertexArray(float[], int[], boolean) - Constructor for class net.fokinatorr.sparkle.graphics.impl.gl.element.GLVertexArray
Creates a new vertex array with the given vertex and index data.
GLVertexArray(FloatCollection, boolean) - Constructor for class net.fokinatorr.sparkle.graphics.impl.gl.element.GLVertexArray
Creates a new vertex array with only vertex data.
GLVertexArray(FloatCollection, IntCollection, boolean) - Constructor for class net.fokinatorr.sparkle.graphics.impl.gl.element.GLVertexArray
Creates a new vertex array with the given vertex and index data.
GLVertexArrayCache - Class in net.fokinatorr.sparkle.graphics.impl.gl.element
A storage for commonly used vertex arrays.
GLVertexArrayCache() - Constructor for class net.fokinatorr.sparkle.graphics.impl.gl.element.GLVertexArrayCache
 
goTo(double, double) - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
Moves to the given coordinates.
GraphicEffect - Enum Class in net.fokinatorr.sparkle.effect.graphics
A graphic effect.
GraphicEffectMap - Class in net.fokinatorr.sparkle.effect.graphics
An effect map that stores a Renderable's graphic effects.
GraphicEffectMap() - Constructor for class net.fokinatorr.sparkle.effect.graphics.GraphicEffectMap
Creates a new empty GraphicEffectMap with all effect values set to respective default ones.
GraphicsManager - Interface in net.fokinatorr.sparkle.graphics
Manages rendering contexts and their lifecycle.
GraphicsState - Class in net.fokinatorr.sparkle.graphics.impl
Represents the current graphics state of a RenderCanvas.
GraphicsState() - Constructor for class net.fokinatorr.sparkle.graphics.impl.GraphicsState
 
Graphics State - Section in interface net.fokinatorr.sparkle.graphics.render.RenderCanvas
 
GraphicsUtils - Class in net.fokinatorr.sparkle.util
Graphics-related utilities.
GraphicsUtils() - Constructor for class net.fokinatorr.sparkle.util.GraphicsUtils
 
GRAVE_ACCENT - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
green(int) - Method in class net.fokinatorr.sparkle.graphics.ARGB
Returns the green value of the given color (unsigned).
green(int, byte) - Method in class net.fokinatorr.sparkle.graphics.ARGB
Sets the green value for the given color.
GUID - Class in net.fokinatorr.sparkle.util
UID generator, from Blockly.
GUID() - Constructor for class net.fokinatorr.sparkle.util.GUID
 

H

H - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
handwriting(double) - Static method in class net.fokinatorr.sparkle.graphics.font.Font
Creates a font builder with "Handlee" family and the given size.
has(Class) - Method in interface net.fokinatorr.sparkle.context.AppContext
Determines whether there is at least one bean registered under the given type.
has(Class) - Method in class net.fokinatorr.sparkle.context.DefaultAppContext
 
hasActiveContexts() - Method in interface net.fokinatorr.sparkle.graphics.GraphicsManager
Checks whether this manager currently has any active contexts.
hasActiveContexts() - Method in class net.fokinatorr.sparkle.graphics.impl.OpenGLGraphicsManager
 
hasClip() - Method in class net.fokinatorr.sparkle.graphics.impl.GraphicsState
Returns whether clip must be applied.
hashCode() - Method in record class net.fokinatorr.sparkle.assets.Assets.NamedAsset
Returns a hash code value for this object.
hashCode() - Method in record class net.fokinatorr.sparkle.audio.io.ParsedSound
Returns a hash code value for this object.
hashCode() - Method in record class net.fokinatorr.sparkle.event.BackdropChangeEvent.After
Returns a hash code value for this object.
hashCode() - Method in record class net.fokinatorr.sparkle.event.input.KeyboardEvent.CharInputEvent
Returns a hash code value for this object.
hashCode() - Method in record class net.fokinatorr.sparkle.event.input.KeyboardEvent.KeyPressedEvent
Returns a hash code value for this object.
hashCode() - Method in record class net.fokinatorr.sparkle.event.input.KeyboardEvent.KeyReleasedEvent
Returns a hash code value for this object.
hashCode() - Method in record class net.fokinatorr.sparkle.event.input.KeyboardEvent.KeyRepeatedEvent
Returns a hash code value for this object.
hashCode() - Method in record class net.fokinatorr.sparkle.event.input.MouseEvent.MouseClickedEvent
Returns a hash code value for this object.
hashCode() - Method in record class net.fokinatorr.sparkle.event.input.MouseEvent.MouseCursorMovedEvent
Returns a hash code value for this object.
hashCode() - Method in record class net.fokinatorr.sparkle.event.input.MouseEvent.MousePressedEvent
Returns a hash code value for this object.
hashCode() - Method in record class net.fokinatorr.sparkle.event.input.MouseEvent.MouseReleasedEvent
Returns a hash code value for this object.
hashCode() - Method in record class net.fokinatorr.sparkle.event.input.MouseEvent.MouseScrolledEvent
Returns a hash code value for this object.
hashCode() - Method in record class net.fokinatorr.sparkle.event.MessageEvent
Returns a hash code value for this object.
hashCode() - Method in record class net.fokinatorr.sparkle.graphics.image.VectorImage.Vector
Returns a hash code value for this object.
hashCode() - Method in record class net.fokinatorr.sparkle.graphics.impl.gl.GLFramebuffer
Returns a hash code value for this object.
hashCode() - Method in record class net.fokinatorr.sparkle.graphics.impl.TransformOp.MulOp2D
Returns a hash code value for this object.
hashCode() - Method in record class net.fokinatorr.sparkle.graphics.impl.TransformOp.RotateOp2D
Returns a hash code value for this object.
hashCode() - Method in record class net.fokinatorr.sparkle.graphics.impl.TransformOp.ScaleOp2D
Returns a hash code value for this object.
hashCode() - Method in record class net.fokinatorr.sparkle.graphics.impl.TransformOp.TranslateOp2D
Returns a hash code value for this object.
hashCode() - Method in record class net.fokinatorr.sparkle.phys2d.impl.AndHitbox2D
Returns a hash code value for this object.
hashCode() - Method in record class net.fokinatorr.sparkle.phys2d.impl.NotHitbox2D
Returns a hash code value for this object.
hashCode() - Method in record class net.fokinatorr.sparkle.phys2d.impl.OrHitbox2D
Returns a hash code value for this object.
hashCode() - Method in record class net.fokinatorr.sparkle.phys2d.impl.ShapeHitbox2D
Returns a hash code value for this object.
hashCode() - Method in record class net.fokinatorr.sparkle.phys2d.impl.TransformedHitbox2D
Returns a hash code value for this object.
hashCode() - Method in record class net.fokinatorr.sparkle.phys2d.Point2D
Returns a hash code value for this object.
hashCode() - Method in record class net.fokinatorr.sparkle.stage.RenderableID.OtherID
Returns a hash code value for this object.
hashCode() - Method in record class net.fokinatorr.sparkle.stage.RenderableID.SpriteID
Returns a hash code value for this object.
hasListenersFor(Class) - Method in interface net.fokinatorr.sparkle.event.dispatcher.EventDispatcher
Determines whether there are registered event listeners that listen for the given event class or superclass.
hasListenersFor(Class) - Method in class net.fokinatorr.sparkle.event.dispatcher.impl.DefaultEventDispatcher
 
hasLoadedImage(Path) - Method in interface net.fokinatorr.sparkle.graphics.GraphicsManager
Determines whether an image is already loaded at the given path.
hasLoadedImage(Path) - Method in class net.fokinatorr.sparkle.graphics.impl.OpenGLGraphicsManager
 
hasLoadedSound(Path) - Method in interface net.fokinatorr.sparkle.audio.AudioManager
Determines whether a sound is already loaded from file at the given path.
hasLoadedSound(Path) - Method in class net.fokinatorr.sparkle.audio.impl.OpenALAudioManager
Determines whether a sound is already loaded from file at the given path.
hasNext() - Method in interface net.fokinatorr.sparkle.audio.impl.bufferprovider.SoundBufferProvider.Iterator
Determines whether there are more buffers left in this iterator.
hasNext() - Method in class net.fokinatorr.sparkle.audio.impl.bufferprovider.StandardJavaProviderIterator
Determines whether there are more buffers left in this iterator.
hasReceivedData() - Method in record class net.fokinatorr.sparkle.event.MessageEvent
 
hasTransform() - Method in class net.fokinatorr.sparkle.graphics.impl.GraphicsState
Checks whether this state has any non-identity transformations.
hasUSMapping() - Method in enum class net.fokinatorr.sparkle.event.input.Key
Returns whether this key has a US mapping character.
HeadlessSurface - Interface in net.fokinatorr.sparkle.graphics.render.surface
A headless surface; typically uses an offscreen buffer.
height() - Method in record class net.fokinatorr.sparkle.graphics.impl.gl.GLFramebuffer
Returns the value of the height record component.
height() - Method in interface net.fokinatorr.sparkle.graphics.render.framebuffer.Framebuffer
Returns the height of underlying framebuffer.
height() - Method in class net.fokinatorr.sparkle.graphics.render.framebuffer.OffscreenFramebuffer
 
hide() - Method in class net.fokinatorr.sparkle.graphics.impl.surface.AbstractGLFWWindowSurface
 
hide() - Method in interface net.fokinatorr.sparkle.graphics.render.surface.RenderingSurface
Hides this surface, if RenderingSurface.Feature.HIDEABLE is supported.
hide() - Method in interface net.fokinatorr.sparkle.graphics.render.surface.WindowSurface
 
HIDEABLE - Enum constant in enum class net.fokinatorr.sparkle.graphics.render.surface.RenderingSurface.Feature
 
Hitbox2D - Interface in net.fokinatorr.sparkle.phys2d
Represents a 2D hitbox used for collision and interaction detection.
HOME - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
HUE_SHIFT - Enum constant in enum class net.fokinatorr.sparkle.effect.graphics.GraphicEffect
The hue-shift graphic effect.

I

I - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
id() - Method in record class net.fokinatorr.sparkle.stage.RenderableID.OtherID
Returns the value of the id record component.
IllegalStopwatchStateException - Exception Class in net.fokinatorr.sparkle.util.stopwatch
Thrown when an operation cannot be performed because of the current stopwatch state
IllegalStopwatchStateException() - Constructor for exception class net.fokinatorr.sparkle.util.stopwatch.IllegalStopwatchStateException
Creates a new IllegalStopwatchStateException with no reason and no required and current state specified.
IllegalStopwatchStateException(String, Stopwatch.State, Stopwatch.State) - Constructor for exception class net.fokinatorr.sparkle.util.stopwatch.IllegalStopwatchStateException
Creates an IllegalStopwatchStateException.
Image - Interface in net.fokinatorr.sparkle.graphics.image
An immutable image that can be rendered on a canvas.
ImageDecoder - Interface in net.fokinatorr.sparkle.graphics.io
 
increment(K, double) - Method in class net.fokinatorr.sparkle.effect.EffectMap
Increments the given effect's value by the given delta.
incrementAndGet() - Method in class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicDouble
Atomically increments the current value, with memory effects as specified by VarHandle.compareAndSet(Object...).
incrementAndGet() - Method in class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicFloat
Atomically increments the current value, with memory effects as specified by VarHandle.compareAndSet(Object...).
incrementAndGet() - Method in class net.fokinatorr.sparkle.variable.ByteVariable
Increments the current value.
incrementAndGet() - Method in class net.fokinatorr.sparkle.variable.DoubleVariable
Increments the current value.
incrementAndGet() - Method in class net.fokinatorr.sparkle.variable.FloatVariable
Increments the current value.
incrementAndGet() - Method in class net.fokinatorr.sparkle.variable.IntVariable
Increments the current value.
incrementAndGet() - Method in class net.fokinatorr.sparkle.variable.LongVariable
Increments the current value.
incrementAndGet() - Method in class net.fokinatorr.sparkle.variable.ShortVariable
Increments the current value.
incrementAndGet(int) - Method in class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicDoubleArray
Atomically increments the value of the element at index i, with memory effects as specified by VarHandle.compareAndSet(Object...).
incrementBackdrop() - Method in class net.fokinatorr.sparkle.stage.Stage
Increments the backdrop index, wrapping around if necessary.
incrementCostume() - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
Increments the costume index, wrapping around if necessary.
init() - Method in class net.fokinatorr.sparkle.SparkleApp
Called once during startup on the same thread that called one of the launch methods, before creating audio/graphics loops.
INIT - Static variable in interface net.fokinatorr.sparkle.internal.access.EventLifecycleAccess
The class in which this interface is implemented.
INIT - Static variable in interface net.fokinatorr.sparkle.internal.access.SpriteAccess
The class in which this interface is implemented.
INIT - Static variable in interface net.fokinatorr.sparkle.internal.access.StageAccess
The class in which this interface is implemented.
initContext(AppContext) - Method in class net.fokinatorr.sparkle.context.AppContextHolder
Sets the application context for the current thread, if not yet done.
INITIAL - Enum constant in enum class net.fokinatorr.sparkle.audio.impl.BaseSoundSource.SourceState
 
INITIAL - Enum constant in enum class net.fokinatorr.sparkle.audio.SoundInstance.State
The initial state.
INITIALIZED - Enum constant in enum class net.fokinatorr.sparkle.SparkleApp.State
The app instance has been initialized and is about to start.
InputEvent - Interface in net.fokinatorr.sparkle.event.input
Base interface for events representing a user input (keyboard, mouse, etc.)
INSERT - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
INSTANCE - Enum constant in enum class net.fokinatorr.sparkle.audio.impl.io.VorbisSoundDecoder
 
INSTANCE - Enum constant in enum class net.fokinatorr.sparkle.phys2d.impl.AlwaysHitbox2D
 
INSTANCE - Enum constant in enum class net.fokinatorr.sparkle.phys2d.impl.NeverHitbox2D
 
InstantStopwatch - Class in net.fokinatorr.sparkle.util.stopwatch
A Stopwatch that uses Instant timestamp calculations
InstantStopwatch() - Constructor for class net.fokinatorr.sparkle.util.stopwatch.InstantStopwatch
Constructs a new InstantStopwatch.
IntBufferPixelAccessor - Class in net.fokinatorr.sparkle.graphics.impl
IntBuffer as image accessor, row-major order.
IntBufferPixelAccessor() - Constructor for class net.fokinatorr.sparkle.graphics.impl.IntBufferPixelAccessor
 
intersects(Hitbox2D) - Method in interface net.fokinatorr.sparkle.phys2d.Hitbox2D
Checks whether this hitbox intersects with the given one.
intersects(Hitbox2D) - Method in enum class net.fokinatorr.sparkle.phys2d.impl.AlwaysHitbox2D
 
intersects(Hitbox2D) - Method in record class net.fokinatorr.sparkle.phys2d.impl.AndHitbox2D
 
intersects(Hitbox2D) - Method in enum class net.fokinatorr.sparkle.phys2d.impl.NeverHitbox2D
 
intersects(Hitbox2D) - Method in record class net.fokinatorr.sparkle.phys2d.impl.NotHitbox2D
 
intersects(Hitbox2D) - Method in record class net.fokinatorr.sparkle.phys2d.impl.OrHitbox2D
 
intersects(Hitbox2D) - Method in record class net.fokinatorr.sparkle.phys2d.impl.ShapeHitbox2D
 
intersects(Hitbox2D) - Method in record class net.fokinatorr.sparkle.phys2d.impl.TransformedHitbox2D
 
Intrinsic Size - Section in net.fokinatorr.sparkle.graphics.image.Image.getIntrinsicWidth()
 
Intrinsic Size - Section in net.fokinatorr.sparkle.graphics.image.Image.getIntrinsicWidth()
 
intValue() - Method in class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicDouble
 
intValue() - Method in class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicFloat
 
intValue() - Method in class net.fokinatorr.sparkle.variable.ByteVariable
intValue() - Method in class net.fokinatorr.sparkle.variable.DoubleVariable
intValue() - Method in class net.fokinatorr.sparkle.variable.FloatVariable
intValue() - Method in class net.fokinatorr.sparkle.variable.IntVariable
intValue() - Method in class net.fokinatorr.sparkle.variable.LongVariable
intValue() - Method in class net.fokinatorr.sparkle.variable.ShortVariable
IntVariable - Class in net.fokinatorr.sparkle.variable
A variable storing an int value.
IntVariable() - Constructor for class net.fokinatorr.sparkle.variable.IntVariable
Creates a new IntVariable with initial value 0.
IntVariable(int) - Constructor for class net.fokinatorr.sparkle.variable.IntVariable
Creates a new IntVariable with the given initial value.
is(Class) - Method in class net.fokinatorr.sparkle.variable.BooleanVariable
Returns whether the current value of this variable can be exactly represented as the class represented by the given Class object.
is(Class) - Method in class net.fokinatorr.sparkle.variable.ByteVariable
Returns whether the current value of this variable can be exactly represented as the class represented by the given Class object.
is(Class) - Method in class net.fokinatorr.sparkle.variable.CharVariable
Returns whether the current value of this variable can be exactly represented as the class represented by the given Class object.
is(Class) - Method in class net.fokinatorr.sparkle.variable.DoubleVariable
Returns whether the current value of this variable can be exactly represented as the class represented by the given Class object.
is(Class) - Method in class net.fokinatorr.sparkle.variable.FloatVariable
Returns whether the current value of this variable can be exactly represented as the class represented by the given Class object.
is(Class) - Method in class net.fokinatorr.sparkle.variable.IntVariable
Returns whether the current value of this variable can be exactly represented as the class represented by the given Class object.
is(Class) - Method in class net.fokinatorr.sparkle.variable.LongVariable
Returns whether the current value of this variable can be exactly represented as the class represented by the given Class object.
is(Class) - Method in class net.fokinatorr.sparkle.variable.ObjectVariable
Returns whether the current value of this variable can be exactly represented as the class represented by the given Class object.
is(Class) - Method in class net.fokinatorr.sparkle.variable.ShortVariable
Returns whether the current value of this variable can be exactly represented as the class represented by the given Class object.
is(Class) - Method in interface net.fokinatorr.sparkle.variable.Variable
Returns whether the current value of this variable can be exactly represented as the class represented by the given Class object.
isAltDown() - Method in interface net.fokinatorr.sparkle.event.input.KeyboardEvent.KeyEvent
Returns whether one of the Alt keys was held down.
isCancelled() - Method in class net.fokinatorr.sparkle.event.AbstractCancellableEvent
Returns whether this event is cancelled.
isCancelled() - Method in interface net.fokinatorr.sparkle.event.CancellableEvent
Returns whether this event is cancelled.
isCapsLockOn() - Method in interface net.fokinatorr.sparkle.event.input.KeyboardEvent.KeyEvent
Returns whether Caps Lock was enabled.
isControlDown() - Method in interface net.fokinatorr.sparkle.event.input.KeyboardEvent.KeyEvent
Returns whether one of the Control keys was held down.
isDebuggerAttached() - Method in class net.fokinatorr.sparkle.util.DebugUtils
Checks whether a debugger is currently attached.
isEmpty() - Method in class net.fokinatorr.sparkle.effect.EffectMap
An effect map is never empty.
isExplicitShouldClose() - Method in class net.fokinatorr.sparkle.graphics.impl.surface.AbstractGLFWWindowSurface
 
isExplicitShouldClose() - Method in interface net.fokinatorr.sparkle.graphics.render.surface.RenderingSurface
Returns whether a close was explicitly requested with RenderingSurface.setShouldClose() and clears this flag.
isFinite() - Method in interface net.fokinatorr.sparkle.phys2d.Hitbox2D
Determines whether this hitbox represents a finite region.
isFinite() - Method in enum class net.fokinatorr.sparkle.phys2d.impl.AlwaysHitbox2D
 
isFinite() - Method in record class net.fokinatorr.sparkle.phys2d.impl.AndHitbox2D
 
isFinite() - Method in enum class net.fokinatorr.sparkle.phys2d.impl.NeverHitbox2D
 
isFinite() - Method in record class net.fokinatorr.sparkle.phys2d.impl.NotHitbox2D
 
isFinite() - Method in record class net.fokinatorr.sparkle.phys2d.impl.OrHitbox2D
 
isFinite() - Method in record class net.fokinatorr.sparkle.phys2d.impl.ShapeHitbox2D
 
isFinite() - Method in record class net.fokinatorr.sparkle.phys2d.impl.TransformedHitbox2D
 
isFullscreen() - Method in class net.fokinatorr.sparkle.graphics.impl.surface.AbstractGLFWWindowSurface
 
isFullscreen() - Method in interface net.fokinatorr.sparkle.graphics.render.surface.RenderingSurface
Checks whether this surface is in fullscreen mode, if RenderingSurface.Feature.FULLSCREENABLE is supported.
isFullscreen() - Method in interface net.fokinatorr.sparkle.graphics.render.surface.WindowSurface
 
isHidden() - Method in class net.fokinatorr.sparkle.graphics.impl.surface.AbstractGLFWWindowSurface
 
isHidden() - Method in interface net.fokinatorr.sparkle.graphics.render.surface.RenderingSurface
Checks whether this surface is hidden, if RenderingSurface.Feature.HIDEABLE is supported.
isHidden() - Method in interface net.fokinatorr.sparkle.graphics.render.surface.WindowSurface
 
isMetaDown() - Method in interface net.fokinatorr.sparkle.event.input.KeyboardEvent.KeyEvent
Returns whether one of the Meta keys was held down.
isNumLockOn() - Method in interface net.fokinatorr.sparkle.event.input.KeyboardEvent.KeyEvent
Returns whether Num Lock was enabled.
isPressed() - Method in interface net.fokinatorr.sparkle.event.input.MouseEvent.MouseButtonEvent
Determines whether the mouse button was pressed at the moment when this event was fired.
isPressed() - Method in record class net.fokinatorr.sparkle.event.input.MouseEvent.MouseClickedEvent
Determines whether the mouse button was pressed at the moment when this event was fired.
isPressed() - Method in record class net.fokinatorr.sparkle.event.input.MouseEvent.MousePressedEvent
Determines whether the mouse button was pressed at the moment when this event was fired.
isPressed() - Method in record class net.fokinatorr.sparkle.event.input.MouseEvent.MouseReleasedEvent
Determines whether the mouse button was pressed at the moment when this event was fired.
isReady() - Method in interface net.fokinatorr.sparkle.graphics.image.Image
Checks whether this image is ready to be drawn.
isReady() - Method in class net.fokinatorr.sparkle.graphics.image.impl.AWTRasterImage
 
isReady() - Method in class net.fokinatorr.sparkle.graphics.image.impl.SVGImage
 
isResizable() - Method in class net.fokinatorr.sparkle.graphics.impl.surface.AbstractGLFWWindowSurface
 
isResizable() - Method in interface net.fokinatorr.sparkle.graphics.render.surface.RenderingSurface
Checks whether this surface is resizable, if RenderingSurface.Feature.RESIZABLE is supported.
isResizable() - Method in interface net.fokinatorr.sparkle.graphics.render.surface.WindowSurface
 
isShiftDown() - Method in interface net.fokinatorr.sparkle.event.input.KeyboardEvent.KeyEvent
Returns whether one of the Shift keys was held down.
isSubCanvas() - Method in class net.fokinatorr.sparkle.graphics.impl.gl.GLSubCanvas
 
isSubCanvas() - Method in interface net.fokinatorr.sparkle.graphics.render.RenderCanvas
Checks whether this canvas is a sub-canvas.
isSuppressRedraw(Stage) - Method in interface net.fokinatorr.sparkle.internal.access.StageAccess
 
isTranslucent() - Method in class net.fokinatorr.sparkle.graphics.impl.surface.AbstractGLFWWindowSurface
 
isTranslucent() - Method in interface net.fokinatorr.sparkle.graphics.render.surface.RenderingSurface
Checks whether this surface is translucent (only the rendered content is visible).
isTranslucent() - Method in interface net.fokinatorr.sparkle.graphics.render.surface.WindowSurface
 
isVisible() - Method in interface net.fokinatorr.sparkle.graphics.render.renderer.Renderable
Checks if this object is visible.
isVisible() - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
Returns whether this sprite is visible.
isVisible(T) - Method in class net.fokinatorr.sparkle.graphics.render.renderer.Renderer.ForRenderable
Checks if the given object is visible.
isVisible(T) - Method in interface net.fokinatorr.sparkle.graphics.render.renderer.Renderer
Checks if the given object is visible.
ITALIC - Enum constant in enum class net.fokinatorr.sparkle.graphics.font.FontPosture
 
IterableSoundBufferProvider - Class in net.fokinatorr.sparkle.audio.impl.bufferprovider
IterableSoundBufferProvider() - Constructor for class net.fokinatorr.sparkle.audio.impl.bufferprovider.IterableSoundBufferProvider
 
iterator() - Method in class net.fokinatorr.sparkle.audio.impl.bufferprovider.IterableSoundBufferProvider
Returns an iterator over this provider.
iterator() - Method in class net.fokinatorr.sparkle.audio.impl.bufferprovider.SamplesSoundBufferProvider
Returns an iterator over this provider.
iterator() - Method in interface net.fokinatorr.sparkle.audio.impl.bufferprovider.SoundBufferProvider
Returns an iterator over this provider.
iterator() - Method in class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicDoubleArray

J

J - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 

K

K - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
kClass - Variable in class net.fokinatorr.sparkle.effect.EffectMap
The effect class, stored because of type erasure
key() - Method in interface net.fokinatorr.sparkle.event.input.KeyboardEvent.KeyEvent
Returns the physical key this event is associated with.
key() - Method in record class net.fokinatorr.sparkle.event.input.KeyboardEvent.KeyPressedEvent
Returns the value of the key record component.
key() - Method in record class net.fokinatorr.sparkle.event.input.KeyboardEvent.KeyReleasedEvent
Returns the value of the key record component.
key() - Method in record class net.fokinatorr.sparkle.event.input.KeyboardEvent.KeyRepeatedEvent
Returns the value of the key record component.
Key - Enum Class in net.fokinatorr.sparkle.event.input
Represents a key on the keyboard.
KEY_0 - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
KEY_1 - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
KEY_2 - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
KEY_3 - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
KEY_4 - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
KEY_5 - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
KEY_6 - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
KEY_7 - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
KEY_8 - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
KEY_9 - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
KeyboardEvent - Interface in net.fokinatorr.sparkle.event.input
Base interface for events representing a keyboard event.
KeyboardEvent.CharInputEvent - Record Class in net.fokinatorr.sparkle.event.input
This event is fired when a character is emitted because a key was pressed or some key combination was used.
KeyboardEvent.KeyEvent - Interface in net.fokinatorr.sparkle.event.input
Base interface for events representing a physical key input.
KeyboardEvent.KeyPressedEvent - Record Class in net.fokinatorr.sparkle.event.input
This event is fired when a key is pressed.
KeyboardEvent.KeyReleasedEvent - Record Class in net.fokinatorr.sparkle.event.input
This event is fired when a key is released.
KeyboardEvent.KeyRepeatedEvent - Record Class in net.fokinatorr.sparkle.event.input
This event is fired when a key was held long enough to be repeated.
KeyPressedEvent(Stage, Key, int) - Constructor for record class net.fokinatorr.sparkle.event.input.KeyboardEvent.KeyPressedEvent
Creates an instance of a KeyPressedEvent record class.
KeyReleasedEvent(Stage, Key, int) - Constructor for record class net.fokinatorr.sparkle.event.input.KeyboardEvent.KeyReleasedEvent
Creates an instance of a KeyReleasedEvent record class.
KeyRepeatedEvent(Stage, Key, int) - Constructor for record class net.fokinatorr.sparkle.event.input.KeyboardEvent.KeyRepeatedEvent
Creates an instance of a KeyRepeatedEvent record class.
KEYS_MAP - Static variable in class net.fokinatorr.sparkle.graphics.impl.surface.GLFWToPublicAPI
GLFW key code -> Key instance
keySet() - Method in class net.fokinatorr.sparkle.effect.EffectMap
 

L

L - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
launch(Class, SparkleInit, String...) - Static method in class net.fokinatorr.sparkle.SparkleApp
Launches a Sparkle app.
launch(SparkleInit, String...) - Static method in class net.fokinatorr.sparkle.SparkleApp
Launches a Sparkle app, using the directly calling class as the app class.
launchHeadless(Class, SparkleInit, String...) - Static method in class net.fokinatorr.sparkle.SparkleApp
Launches a headless Sparkle app (no audio and graphics).
launchHeadless(SparkleInit, String...) - Static method in class net.fokinatorr.sparkle.SparkleApp
Launches a headless Sparkle app, using the directly calling class as the app class.
lazySet(double) - Method in class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicDouble
Sets the value to the given value, with memory effects as specified by VarHandle.setRelease(Object...).
lazySet(float) - Method in class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicFloat
Sets the value to the given value, with memory effects as specified by VarHandle.setRelease(Object...).
LEFT - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
LEFT - Enum constant in enum class net.fokinatorr.sparkle.event.input.MouseButton
The left (button 1) mouse button.
LEFT_ALT - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
LEFT_CONTROL - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
LEFT_META - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
LEFT_RIGHT - Enum constant in enum class net.fokinatorr.sparkle.phys.RotationMode
Apply no rotation and mirror horizontally if sine of direction is negative.
LEFT_SHIFT - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
LEFT_SQUARE_BRACKET - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
length() - Method in class net.fokinatorr.sparkle.audio.impl.io.ParsedSoundImpl
Returns the total sound length, in samples.
length() - Method in class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicDoubleArray
Returns the length of the array.
Lifecycle - Section in interface net.fokinatorr.sparkle.graphics.image.Image
 
LIGHT - Enum constant in enum class net.fokinatorr.sparkle.graphics.font.FontWeight
 
lighter() - Method in enum class net.fokinatorr.sparkle.graphics.font.FontWeight
Returns a font weight that is lighter than this weight by one.
line(float, float, float, float) - Method in class net.fokinatorr.sparkle.graphics.impl.gl.element.GLVertexArrayCache
Returns a line vertex array between the specified positions.
lineWidth() - Method in record class net.fokinatorr.sparkle.graphics.image.VectorImage.Vector
Returns the value of the lineWidth record component.
ListenerRemover - Interface in net.fokinatorr.sparkle.event.dispatcher
An object that knows how to remove a listener from a dispatcher.
loadImage(Path, boolean) - Method in interface net.fokinatorr.sparkle.graphics.GraphicsManager
Loads an image at the specified path.
loadImage(Path, boolean) - Method in class net.fokinatorr.sparkle.graphics.impl.OpenGLGraphicsManager
 
loadShader(String) - Static method in class net.fokinatorr.sparkle.graphics.impl.gl.shader.ShaderLoader
Loads a GLSL file at the given location.
loadSound(Path) - Method in interface net.fokinatorr.sparkle.audio.AudioManager
Loads a sound from file at the given path.
loadSound(Path) - Method in class net.fokinatorr.sparkle.audio.impl.OpenALAudioManager
Loads a sound from file at the given path.
loadSounds(Iterable) - Method in interface net.fokinatorr.sparkle.audio.AudioManager
loadSounds(Path...) - Method in interface net.fokinatorr.sparkle.audio.AudioManager
Array bulk version of AudioManager.loadSound(Path).
location() - Method in record class net.fokinatorr.sparkle.assets.Assets.NamedAsset
Returns the value of the location record component.
longValue() - Method in class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicDouble
 
longValue() - Method in class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicFloat
 
longValue() - Method in class net.fokinatorr.sparkle.variable.ByteVariable
longValue() - Method in class net.fokinatorr.sparkle.variable.DoubleVariable
longValue() - Method in class net.fokinatorr.sparkle.variable.FloatVariable
longValue() - Method in class net.fokinatorr.sparkle.variable.IntVariable
longValue() - Method in class net.fokinatorr.sparkle.variable.LongVariable
longValue() - Method in class net.fokinatorr.sparkle.variable.ShortVariable
LongVariable - Class in net.fokinatorr.sparkle.variable
A variable storing a long value.
LongVariable() - Constructor for class net.fokinatorr.sparkle.variable.LongVariable
Creates a new LongVariable with initial value 0.
LongVariable(long) - Constructor for class net.fokinatorr.sparkle.variable.LongVariable
Creates a new LongVariable with the given initial value.
LOOK_AT - Enum constant in enum class net.fokinatorr.sparkle.phys.RotationMode
Apply rotation normally and mirror vertically if sine of direction is negative.
looping() - Method in class net.fokinatorr.sparkle.audio.impl.StaticSoundSource
Determines whether this sound source is looping when played.
looping(boolean) - Method in class net.fokinatorr.sparkle.audio.impl.StaticSoundSource
Sets this sound source to be looping if the given value is true, or sets this sound source not to be looping if the given value is false.

M

M - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
makeCurrent() - Method in class net.fokinatorr.sparkle.graphics.impl.gl.OpenGLContext
 
marker(double) - Static method in class net.fokinatorr.sparkle.graphics.font.Font
Creates a font builder with "Knewave" family and the given size.
MAX_PRIORITY - Static variable in interface net.fokinatorr.sparkle.event.dispatcher.EventDispatcher
The maximal listener priority.
MAX_VALUE - Static variable in enum class net.fokinatorr.sparkle.graphics.font.FontWeight
The boldest font weight.
MEDIUM - Enum constant in enum class net.fokinatorr.sparkle.graphics.font.FontWeight
 
MENU - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
The menu (AKA Context menu or Application (on Windows)) key.
MessageEvent - Record Class in net.fokinatorr.sparkle.event
This event is fired when a message is broadcasted (from user code).
MessageEvent(String, Optional) - Constructor for record class net.fokinatorr.sparkle.event.MessageEvent
Creates an instance of a MessageEvent record class.
MessageEvent(String) - Constructor for record class net.fokinatorr.sparkle.event.MessageEvent
Creates a new MessageEvent without received data.
MessageEvent(String, Object) - Constructor for record class net.fokinatorr.sparkle.event.MessageEvent
Creates a new MessageEvent.
messageId() - Method in record class net.fokinatorr.sparkle.event.MessageEvent
Returns the value of the messageId record component.
MIDDLE - Enum constant in enum class net.fokinatorr.sparkle.event.input.MouseButton
The middle (button 3, usually the wheel) mouse button.
MILLIS_PER_SECOND - Static variable in class net.fokinatorr.sparkle.util.Constants
The number of milliseconds in a second.
MIN_PRIORITY - Static variable in interface net.fokinatorr.sparkle.event.dispatcher.EventDispatcher
The minimal listener priority.
MIN_VALUE - Static variable in enum class net.fokinatorr.sparkle.graphics.font.FontWeight
The lightest font weight.
MINUS - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
MOD_ALT - Static variable in interface net.fokinatorr.sparkle.event.input.KeyboardEvent.KeyEvent
If this bit is set in modifiers, one or more Alt (AKA Option on Mac) keys were held down.
MOD_CAPS_LOCK - Static variable in interface net.fokinatorr.sparkle.event.input.KeyboardEvent.KeyEvent
If this bit is set in modifiers, the Caps Lock key is enabled.
MOD_CONTROL - Static variable in interface net.fokinatorr.sparkle.event.input.KeyboardEvent.KeyEvent
If this bit is set in modifiers, one or more Control keys were held down.
MOD_META - Static variable in interface net.fokinatorr.sparkle.event.input.KeyboardEvent.KeyEvent
If this bit is set in modifiers, one or more Meta (AKA Windows on Windows, Super on Linux, Command on Mac) keys were held down.
MOD_NUM_LOCK - Static variable in interface net.fokinatorr.sparkle.event.input.KeyboardEvent.KeyEvent
If this bit is set in modifiers, the Num Lock key is enabled.
MOD_SHIFT - Static variable in interface net.fokinatorr.sparkle.event.input.KeyboardEvent.KeyEvent
If this bit is set in modifiers, one or more Shift keys were held down.
modifiers() - Method in interface net.fokinatorr.sparkle.event.input.KeyboardEvent.KeyEvent
Returns the bitfield describing which modifier keys were held down.
modifiers() - Method in record class net.fokinatorr.sparkle.event.input.KeyboardEvent.KeyPressedEvent
Returns the value of the modifiers record component.
modifiers() - Method in record class net.fokinatorr.sparkle.event.input.KeyboardEvent.KeyReleasedEvent
Returns the value of the modifiers record component.
modifiers() - Method in record class net.fokinatorr.sparkle.event.input.KeyboardEvent.KeyRepeatedEvent
Returns the value of the modifiers record component.
MONO_16BIT - Enum constant in enum class net.fokinatorr.sparkle.audio.impl.SoundBuffer.DataFormat
 
MONO_16BIT - Enum constant in enum class net.fokinatorr.sparkle.audio.io.ParsedSound.DataFormat
 
MONO_8BIT - Enum constant in enum class net.fokinatorr.sparkle.audio.impl.SoundBuffer.DataFormat
 
MONO_8BIT - Enum constant in enum class net.fokinatorr.sparkle.audio.io.ParsedSound.DataFormat
 
MOSAIC - Enum constant in enum class net.fokinatorr.sparkle.effect.graphics.GraphicEffect
The mosaic graphic effect.
MOUSE_BUTTONS_MAP - Static variable in class net.fokinatorr.sparkle.graphics.impl.surface.GLFWToPublicAPI
GLFW mouse button code -> MouseButton instance
MouseButton - Enum Class in net.fokinatorr.sparkle.event.input
Represents a mouse button.
MouseClickedEvent(MouseButton, Stage, double, double) - Constructor for record class net.fokinatorr.sparkle.event.input.MouseEvent.MouseClickedEvent
Creates an instance of a MouseClickedEvent record class.
MouseCursorMovedEvent(Stage, double, double, double, double, Set) - Constructor for record class net.fokinatorr.sparkle.event.input.MouseEvent.MouseCursorMovedEvent
Constructs a new MouseCursorMovedEvent.
MouseCursorMovedEvent(Stage, double, double, double, double, MouseButton...) - Constructor for record class net.fokinatorr.sparkle.event.input.MouseEvent.MouseCursorMovedEvent
Constructs a new MouseCursorMovedEvent.
MouseEvent - Interface in net.fokinatorr.sparkle.event.input
Base interface for events representing a mouse/cursor user input.
MouseEvent.MouseButtonEvent - Interface in net.fokinatorr.sparkle.event.input
Base interface for events representing a mouse button state (pressed/released) change.
MouseEvent.MouseClickedEvent - Record Class in net.fokinatorr.sparkle.event.input
This event is fired when a mouse button was clicked on a stage, i.e.
MouseEvent.MouseCursorMovedEvent - Record Class in net.fokinatorr.sparkle.event.input
This event is fired when mouse cursor was moved on a stage.
MouseEvent.MousePressedEvent - Record Class in net.fokinatorr.sparkle.event.input
This event is fired when a mouse button was pressed on a stage.
MouseEvent.MouseReleasedEvent - Record Class in net.fokinatorr.sparkle.event.input
This event is fired when a mouse button was released on a stage.
MouseEvent.MouseScrolledEvent - Record Class in net.fokinatorr.sparkle.event.input
This event a fired when one of the mouse wheels were scrolled on a stage.
MousePressedEvent(MouseButton, Stage, double, double) - Constructor for record class net.fokinatorr.sparkle.event.input.MouseEvent.MousePressedEvent
Creates an instance of a MousePressedEvent record class.
MouseReleasedEvent(MouseButton, Stage, double, double) - Constructor for record class net.fokinatorr.sparkle.event.input.MouseEvent.MouseReleasedEvent
Creates an instance of a MouseReleasedEvent record class.
MouseScrolledEvent(Stage, double, double, double, double) - Constructor for record class net.fokinatorr.sparkle.event.input.MouseEvent.MouseScrolledEvent
Creates an instance of a MouseScrolledEvent record class.
MOVABLE - Enum constant in enum class net.fokinatorr.sparkle.graphics.render.surface.RenderingSurface.Feature
 
moveByLayers(RenderableID, int) - Method in class net.fokinatorr.sparkle.stage.Stage
Moves the object with the given ID delta count of layers.
moveSteps(double) - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
Move steps steps towards the current direction.
moveToBackLayer(RenderableID) - Method in class net.fokinatorr.sparkle.stage.Stage
Moves the object with the given ID to the front layer.
moveToFrontLayer(RenderableID) - Method in class net.fokinatorr.sparkle.stage.Stage
Moves the object with the given ID to the front layer.
moveToLayer(RenderableID, int) - Method in class net.fokinatorr.sparkle.stage.Stage
Moves the object with the given ID to the given layer.
Mth - Class in net.fokinatorr.sparkle.util
Several other math utilities.
Mth() - Constructor for class net.fokinatorr.sparkle.util.Mth
 
MulOp2D(AffineTransform) - Constructor for record class net.fokinatorr.sparkle.graphics.impl.TransformOp.MulOp2D
Creates an instance of a MulOp2D record class.
mulTransform(AffineTransform) - Method in class net.fokinatorr.sparkle.graphics.impl.gl.GLRenderCanvas
 
mulTransform(AffineTransform) - Method in class net.fokinatorr.sparkle.graphics.impl.GraphicsState
Multiplies the transformation by the given matrix.
mulTransform(AffineTransform) - Method in interface net.fokinatorr.sparkle.graphics.render.RenderCanvas
Multiplies the coordinate system by the specified affine transform matrix.
mustLoop() - Method in class net.fokinatorr.sparkle.audio.impl.bufferprovider.IterableSoundBufferProvider
Determines whether a sound source that uses this provider must loop.
mustLoop() - Method in class net.fokinatorr.sparkle.audio.impl.bufferprovider.SamplesSoundBufferProvider
Determines whether a sound source that uses this provider must loop.
mustLoop() - Method in interface net.fokinatorr.sparkle.audio.impl.bufferprovider.SoundBufferProvider
Determines whether a sound source that uses this provider must loop.

N

N - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
name() - Method in record class net.fokinatorr.sparkle.assets.Assets.NamedAsset
Returns the value of the name record component.
NAMEABLE - Enum constant in enum class net.fokinatorr.sparkle.graphics.render.surface.RenderingSurface.Feature
 
NamedAsset(String, Path) - Constructor for record class net.fokinatorr.sparkle.assets.Assets.NamedAsset
Creates an instance of a NamedAsset record class.
NANOS_PER_MILLISECOND - Static variable in class net.fokinatorr.sparkle.util.Constants
The number of nanoseconds in a millisecond.
NANOS_PER_SECOND - Static variable in class net.fokinatorr.sparkle.util.Constants
The number of nanoseconds in a second.
NativeExtractor - Interface in net.fokinatorr.sparkle
Interface for extracting platform-specific native libraries into the specified directory.
negateAndGet() - Method in class net.fokinatorr.sparkle.variable.BooleanVariable
Negates the current value, returning the new value.
net.fokinatorr.sparkle - package net.fokinatorr.sparkle
 
net.fokinatorr.sparkle.assets - package net.fokinatorr.sparkle.assets
 
net.fokinatorr.sparkle.audio - package net.fokinatorr.sparkle.audio
 
net.fokinatorr.sparkle.audio.impl - package net.fokinatorr.sparkle.audio.impl
 
net.fokinatorr.sparkle.audio.impl.bufferprovider - package net.fokinatorr.sparkle.audio.impl.bufferprovider
 
net.fokinatorr.sparkle.audio.impl.io - package net.fokinatorr.sparkle.audio.impl.io
 
net.fokinatorr.sparkle.audio.io - package net.fokinatorr.sparkle.audio.io
 
net.fokinatorr.sparkle.context - package net.fokinatorr.sparkle.context
 
net.fokinatorr.sparkle.core - module net.fokinatorr.sparkle.core
The core module of Sparkle, where base API and implementation resides.
net.fokinatorr.sparkle.effect - package net.fokinatorr.sparkle.effect
 
net.fokinatorr.sparkle.effect.graphics - package net.fokinatorr.sparkle.effect.graphics
 
net.fokinatorr.sparkle.effect.sounds - package net.fokinatorr.sparkle.effect.sounds
 
net.fokinatorr.sparkle.event - package net.fokinatorr.sparkle.event
 
net.fokinatorr.sparkle.event.annotation - package net.fokinatorr.sparkle.event.annotation
 
net.fokinatorr.sparkle.event.dispatcher - package net.fokinatorr.sparkle.event.dispatcher
 
net.fokinatorr.sparkle.event.dispatcher.impl - package net.fokinatorr.sparkle.event.dispatcher.impl
 
net.fokinatorr.sparkle.event.input - package net.fokinatorr.sparkle.event.input
 
net.fokinatorr.sparkle.event.lifecycle - package net.fokinatorr.sparkle.event.lifecycle
 
net.fokinatorr.sparkle.graphics - package net.fokinatorr.sparkle.graphics
 
net.fokinatorr.sparkle.graphics.font - package net.fokinatorr.sparkle.graphics.font
 
net.fokinatorr.sparkle.graphics.image - package net.fokinatorr.sparkle.graphics.image
 
net.fokinatorr.sparkle.graphics.image.impl - package net.fokinatorr.sparkle.graphics.image.impl
 
net.fokinatorr.sparkle.graphics.impl - package net.fokinatorr.sparkle.graphics.impl
 
net.fokinatorr.sparkle.graphics.impl.gl - package net.fokinatorr.sparkle.graphics.impl.gl
 
net.fokinatorr.sparkle.graphics.impl.gl.element - package net.fokinatorr.sparkle.graphics.impl.gl.element
 
net.fokinatorr.sparkle.graphics.impl.gl.shader - package net.fokinatorr.sparkle.graphics.impl.gl.shader
 
net.fokinatorr.sparkle.graphics.impl.gl.surface - package net.fokinatorr.sparkle.graphics.impl.gl.surface
 
net.fokinatorr.sparkle.graphics.impl.surface - package net.fokinatorr.sparkle.graphics.impl.surface
 
net.fokinatorr.sparkle.graphics.impl.sw - package net.fokinatorr.sparkle.graphics.impl.sw
 
net.fokinatorr.sparkle.graphics.io - package net.fokinatorr.sparkle.graphics.io
 
net.fokinatorr.sparkle.graphics.render - package net.fokinatorr.sparkle.graphics.render
 
net.fokinatorr.sparkle.graphics.render.framebuffer - package net.fokinatorr.sparkle.graphics.render.framebuffer
 
net.fokinatorr.sparkle.graphics.render.renderer - package net.fokinatorr.sparkle.graphics.render.renderer
 
net.fokinatorr.sparkle.graphics.render.surface - package net.fokinatorr.sparkle.graphics.render.surface
 
net.fokinatorr.sparkle.internal.access - package net.fokinatorr.sparkle.internal.access
 
net.fokinatorr.sparkle.phys - package net.fokinatorr.sparkle.phys
 
net.fokinatorr.sparkle.phys2d - package net.fokinatorr.sparkle.phys2d
 
net.fokinatorr.sparkle.phys2d.impl - package net.fokinatorr.sparkle.phys2d.impl
 
net.fokinatorr.sparkle.stage - package net.fokinatorr.sparkle.stage
 
net.fokinatorr.sparkle.stage.sprite - package net.fokinatorr.sparkle.stage.sprite
 
net.fokinatorr.sparkle.util - package net.fokinatorr.sparkle.util
 
net.fokinatorr.sparkle.util.concurrent - package net.fokinatorr.sparkle.util.concurrent
 
net.fokinatorr.sparkle.util.concurrent.atomic - package net.fokinatorr.sparkle.util.concurrent.atomic
 
net.fokinatorr.sparkle.util.stopwatch - package net.fokinatorr.sparkle.util.stopwatch
 
net.fokinatorr.sparkle.variable - package net.fokinatorr.sparkle.variable
 
never() - Static method in interface net.fokinatorr.sparkle.phys2d.Hitbox2D
Returns a 2D hitbox that doesn't cover any points.
NeverHitbox2D - Enum Class in net.fokinatorr.sparkle.phys2d.impl
A 2D hitbox that covers no points.
NEW - Enum constant in enum class net.fokinatorr.sparkle.SparkleApp.State
The app instance was just created.
NEW - Enum constant in enum class net.fokinatorr.sparkle.stage.Stage.State
The stage has never been started yet.
NEW - Enum constant in enum class net.fokinatorr.sparkle.util.stopwatch.Stopwatch.State
Stopwatch was just created and wasn't yet started.
newBackdropId() - Method in record class net.fokinatorr.sparkle.event.BackdropChangeEvent.After
Returns the value of the newBackdropId record component.
newBackdropId() - Method in class net.fokinatorr.sparkle.event.BackdropChangeEvent.Before
Returns the new backdrop ID.
newBackdropId() - Method in interface net.fokinatorr.sparkle.event.BackdropChangeEvent
Returns the new backdrop ID.
newDefault() - Static method in interface net.fokinatorr.sparkle.event.dispatcher.EventDispatcher
Returns a new default implementation of EventDispatcher.
newPosition() - Method in record class net.fokinatorr.sparkle.event.input.MouseEvent.MouseCursorMovedEvent
Returns the new position of the mouse.
newStage(Assets, AppContext) - Method in interface net.fokinatorr.sparkle.internal.access.StageAccess
 
newStage(StageCreator, AppContext) - Method in interface net.fokinatorr.sparkle.internal.access.StageAccess
 
newStartEvent(Stage) - Method in interface net.fokinatorr.sparkle.internal.access.EventLifecycleAccess
 
newStopEvent(Stage) - Method in interface net.fokinatorr.sparkle.internal.access.EventLifecycleAccess
 
newThread(Runnable) - Method in class net.fokinatorr.sparkle.util.concurrent.ContextInheritingThreadFactory
newX() - Method in record class net.fokinatorr.sparkle.event.input.MouseEvent.MouseCursorMovedEvent
Returns the value of the newX record component.
newY() - Method in record class net.fokinatorr.sparkle.event.input.MouseEvent.MouseCursorMovedEvent
Returns the value of the newY record component.
next() - Method in interface net.fokinatorr.sparkle.audio.impl.bufferprovider.SoundBufferProvider.Iterator
Returns the next sound buffer, if any, otherwise throws a NoSuchElementException.
next() - Method in class net.fokinatorr.sparkle.audio.impl.bufferprovider.StandardJavaProviderIterator
Returns the next sound buffer, if any, otherwise throws a NoSuchElementException.
NO_ROTATION - Enum constant in enum class net.fokinatorr.sparkle.phys.RotationMode
Apply no rotation.
NON_DAEMON - Enum constant in enum class net.fokinatorr.sparkle.util.concurrent.ThreadType
Platform non-daemon thread.
NonThrowingAutoCloseable - Interface in net.fokinatorr.sparkle.util
An AutoCloseable that doesn't throw checked exceptions in its NonThrowingAutoCloseable.close() method.
NORMAL - Enum constant in enum class net.fokinatorr.sparkle.graphics.BlendMode
Standard blending, dependent on the graphics backend used.
NORMAL - Enum constant in enum class net.fokinatorr.sparkle.graphics.font.FontPosture
 
NORMAL - Enum constant in enum class net.fokinatorr.sparkle.graphics.font.FontWeight
 
NormalizableEffect - Interface in net.fokinatorr.sparkle.effect
An effect that supports normalizing its values.
normalize(double) - Method in enum class net.fokinatorr.sparkle.effect.graphics.GraphicEffect
Normalizes the given value to be suitable for this effect.
normalize(double) - Method in interface net.fokinatorr.sparkle.effect.NormalizableEffect
Normalizes the given value to be suitable for this effect.
normalize(double) - Method in enum class net.fokinatorr.sparkle.effect.sounds.SoundEffect
Normalizes the given value to be suitable for this effect.
not() - Method in interface net.fokinatorr.sparkle.phys2d.Hitbox2D
Creates a 2D hitbox that covers every point except those covered by this hitbox.
not() - Method in enum class net.fokinatorr.sparkle.phys2d.impl.AlwaysHitbox2D
 
not() - Method in record class net.fokinatorr.sparkle.phys2d.impl.AndHitbox2D
 
not() - Method in enum class net.fokinatorr.sparkle.phys2d.impl.NeverHitbox2D
 
not() - Method in record class net.fokinatorr.sparkle.phys2d.impl.NotHitbox2D
 
not() - Method in record class net.fokinatorr.sparkle.phys2d.impl.OrHitbox2D
 
NotHitbox2D - Record Class in net.fokinatorr.sparkle.phys2d.impl
A negation of a 2D hitbox.
NotHitbox2D(Hitbox2D) - Constructor for record class net.fokinatorr.sparkle.phys2d.impl.NotHitbox2D
Creates an instance of a NotHitbox2D record class.
NUM_LOCK - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
NUMPAD_0 - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
NUMPAD_1 - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
NUMPAD_2 - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
NUMPAD_3 - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
NUMPAD_4 - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
NUMPAD_5 - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
NUMPAD_6 - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
NUMPAD_7 - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
NUMPAD_8 - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
NUMPAD_9 - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
NUMPAD_ADD - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
NUMPAD_DECIMAL_POINT - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
NUMPAD_DIVIDE - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
NUMPAD_ENTER - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
NUMPAD_EQUALS - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
NUMPAD_MULTIPLY - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
NUMPAD_SUBTRACT - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 

O

O - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
object2DoubleEntrySet() - Method in class net.fokinatorr.sparkle.effect.EffectMap
 
ObjectVariable<T> - Class in net.fokinatorr.sparkle.variable
A variable storing an object.
ObjectVariable(Class) - Constructor for class net.fokinatorr.sparkle.variable.ObjectVariable
Constructs a new ObjectVariable with the initial value null.
ObjectVariable(Class, T) - Constructor for class net.fokinatorr.sparkle.variable.ObjectVariable
Constructs a new ObjectVariable with the given initial value.
ObjectVariable(T) - Constructor for class net.fokinatorr.sparkle.variable.ObjectVariable
Constructs a new ObjectVariable with the given initial value.
of(Hitbox2D) - Static method in record class net.fokinatorr.sparkle.phys2d.impl.NotHitbox2D
Creates an optimized negation of the given hitbox.
ofCompiled(IntList) - Static method in class net.fokinatorr.sparkle.graphics.impl.gl.shader.GLShaderProgram
Creates a shader program from already-compiled shaders.
OffscreenFramebuffer - Class in net.fokinatorr.sparkle.graphics.render.framebuffer
An off-screen frame buffer (never displayed directly; use OffscreenFramebuffer.createPixelReader() to use its content).
OffscreenFramebuffer(int, int) - Constructor for class net.fokinatorr.sparkle.graphics.render.framebuffer.OffscreenFramebuffer
 
oldBackdropId() - Method in record class net.fokinatorr.sparkle.event.BackdropChangeEvent.After
Returns the value of the oldBackdropId record component.
oldBackdropId() - Method in class net.fokinatorr.sparkle.event.BackdropChangeEvent.Before
Returns the old backdrop ID.
oldBackdropId() - Method in interface net.fokinatorr.sparkle.event.BackdropChangeEvent
Returns the old backdrop ID.
oldPosition() - Method in record class net.fokinatorr.sparkle.event.input.MouseEvent.MouseCursorMovedEvent
Returns the old position of the mouse.
oldX() - Method in record class net.fokinatorr.sparkle.event.input.MouseEvent.MouseCursorMovedEvent
Returns the value of the oldX record component.
oldY() - Method in record class net.fokinatorr.sparkle.event.input.MouseEvent.MouseCursorMovedEvent
Returns the value of the oldY record component.
onRenderContextInitialized(Sprite) - Method in interface net.fokinatorr.sparkle.internal.access.SpriteAccess
 
onResize(RenderingSurface.ResizeListener) - Method in class net.fokinatorr.sparkle.graphics.impl.surface.AbstractGLFWWindowSurface
 
onResize(RenderingSurface.ResizeListener) - Method in interface net.fokinatorr.sparkle.graphics.render.RenderingContext
Adds a resize listener to the surface.
onResize(RenderingSurface.ResizeListener) - Method in interface net.fokinatorr.sparkle.graphics.render.surface.RenderingSurface
Adds a resize listener to this surface.
onResize(RenderingSurface.ResizeListener) - Method in interface net.fokinatorr.sparkle.graphics.render.surface.WindowSurface
 
opaque(int) - Method in class net.fokinatorr.sparkle.graphics.ARGB
Turns the given color into its fully opaque version.
opaqueColor(byte, byte, byte) - Method in class net.fokinatorr.sparkle.graphics.ARGB
Creates a new, fully opaque color with the given values.
OpenALAudioManager - Class in net.fokinatorr.sparkle.audio.impl
The entry point for creating an OpenAL audio engine.
OpenALAudioManager(AppContext) - Constructor for class net.fokinatorr.sparkle.audio.impl.OpenALAudioManager
Creates a new audio manager that opens the default audio device.
OpenGLContext - Class in net.fokinatorr.sparkle.graphics.impl.gl
An OpenGL rendering context bound to a GLFW window.
OpenGLContext(AppContext, GL_GLFWWindowSurface, Stage, Set, OpenGLGraphicsManager) - Constructor for class net.fokinatorr.sparkle.graphics.impl.gl.OpenGLContext
 
OpenGLGraphicsManager - Class in net.fokinatorr.sparkle.graphics.impl
A graphics manager using OpenGL + GLFW as a GPU-based backend.
OpenGLGraphicsManager() - Constructor for class net.fokinatorr.sparkle.graphics.impl.OpenGLGraphicsManager
 
optimize() - Method in record class net.fokinatorr.sparkle.phys2d.impl.AndHitbox2D
Returns an AndHitbox2D with same children as this one, but without those that fully contain any other child (they're effectively redundant); if there are no children, returns NeverHitbox2D.INSTANCE.
optimize() - Method in record class net.fokinatorr.sparkle.phys2d.impl.OrHitbox2D
Returns an OrHitbox2D with same children as this one, but without those that are fully contained by other children (they're effectively redundant); if there are no children, returns NeverHitbox2D.INSTANCE.
or(boolean, Hitbox2D) - Method in interface net.fokinatorr.sparkle.phys2d.Hitbox2D
Unites this hitbox with the given one and returns the union.
or(boolean, Hitbox2D...) - Static method in interface net.fokinatorr.sparkle.phys2d.Hitbox2D
Creates a 2D hitbox that is a union of the given hitboxes.
or(Hitbox2D) - Method in interface net.fokinatorr.sparkle.phys2d.Hitbox2D
Unites this hitbox with the given one and returns the optimized union.
or(Hitbox2D...) - Static method in interface net.fokinatorr.sparkle.phys2d.Hitbox2D
Creates a 2D hitbox that is a union of the given hitboxes.
ordinal() - Method in interface net.fokinatorr.sparkle.effect.NormalizableEffect
Returns the ordinal of this effect instance (in case it's an enum, its position in its enum declaration, where the initial constant is assigned an ordinal of zero).
OrHitbox2D - Record Class in net.fokinatorr.sparkle.phys2d.impl
A union of 2D hitboxes.
OrHitbox2D(Collection) - Constructor for record class net.fokinatorr.sparkle.phys2d.impl.OrHitbox2D
Creates an instance of a OrHitbox2D record class.
OrHitbox2D(Hitbox2D...) - Constructor for record class net.fokinatorr.sparkle.phys2d.impl.OrHitbox2D
Array version of OrHitbox2D(Collection).
ORIGINAL_SIZE - Static variable in interface net.fokinatorr.sparkle.graphics.render.RenderCanvas
Pass this constant to width / height arguments of RenderCanvas.drawImage(Image, double, double, double, double) to prefer the original width / height of the image.
OtherID(String) - Constructor for record class net.fokinatorr.sparkle.stage.RenderableID.OtherID
Creates an instance of a OtherID record class.
outline(Shape) - Method in class net.fokinatorr.sparkle.graphics.impl.gl.element.GLVertexArrayCache
Returns path vertex arrays for each subpath of the given Shape for stroking operations.
oval(float, float, float, float) - Method in class net.fokinatorr.sparkle.graphics.impl.gl.element.GLVertexArrayCache
Returns an ellipse vertex array enclosed by a rectangle with the specified position and size.

P

P - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
PAGE_DOWN - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
PAGE_UP - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
pan() - Method in interface net.fokinatorr.sparkle.audio.SoundInstance
Returns the pan of this sound.
pan(double) - Method in interface net.fokinatorr.sparkle.audio.SoundInstance
Sets the pan for this sound.
PAN - Enum constant in enum class net.fokinatorr.sparkle.effect.sounds.SoundEffect
The left-right pan sound effect.
parseBytes(ByteBuffer) - Method in enum class net.fokinatorr.sparkle.audio.impl.io.VorbisSoundDecoder
Attempts to read an Ogg Vorbis sound from memory represented by the given path into a ParsedSoundImpl.
parseBytes(ByteBuffer) - Method in interface net.fokinatorr.sparkle.audio.io.SoundDecoder
Parses the data from memory into PCM.
ParsedSound - Record Class in net.fokinatorr.sparkle.audio.io
A sound parsed to PCM.
ParsedSound(ShortBuffer, boolean, ParsedSound.DataFormat, int) - Constructor for record class net.fokinatorr.sparkle.audio.io.ParsedSound
Creates a new ParsedSound.
ParsedSound.DataFormat - Enum Class in net.fokinatorr.sparkle.audio.io
Supported data formats of a PCM sound.
ParsedSoundImpl - Class in net.fokinatorr.sparkle.audio.impl.io
An intermediate representation of a loaded sound (in PCM) which is ready to be converted into any of: a stand-alone SoundBuffer; a list of SoundBuffers; a SoundBufferProvider that generates buffers from the loaded data.
ParsedSoundImpl() - Constructor for class net.fokinatorr.sparkle.audio.impl.io.ParsedSoundImpl
 
parseFile(Path) - Method in enum class net.fokinatorr.sparkle.audio.impl.io.VorbisSoundDecoder
Attempts to read an Ogg Vorbis sound from file represented by the given path into a ParsedSoundImpl.
parseFile(Path) - Method in interface net.fokinatorr.sparkle.audio.io.SoundDecoder
Parses the data from file at the given path into PCM.
parseStream(InputStream) - Method in interface net.fokinatorr.sparkle.audio.io.SoundDecoder
Parses the bytes emitted by the given input stream into PCM.
pause() - Method in class net.fokinatorr.sparkle.audio.impl.BaseSoundSource
If the state of this source is playing, sets it to paused, otherwise does nothing.
pause() - Method in interface net.fokinatorr.sparkle.audio.SoundInstance
If this sound is playing, pauses it, otherwise does nothing.
pause() - Method in class net.fokinatorr.sparkle.util.stopwatch.AbstractStopwatch
Pauses the stopwatch.
pause() - Method in class net.fokinatorr.sparkle.util.stopwatch.InstantStopwatch
Pauses the stopwatch.
pause() - Method in interface net.fokinatorr.sparkle.util.stopwatch.Stopwatch
Pauses the stopwatch.
PAUSE - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
PAUSE - Enum constant in enum class net.fokinatorr.sparkle.stage.ControlPanel.Button
Suspends execution using DebugUtils.debugSuspend(), if a debugger is attached.
PAUSED - Enum constant in enum class net.fokinatorr.sparkle.audio.impl.BaseSoundSource.SourceState
 
PAUSED - Enum constant in enum class net.fokinatorr.sparkle.audio.SoundInstance.State
The paused state.
PAUSED - Enum constant in enum class net.fokinatorr.sparkle.util.stopwatch.Stopwatch.State
Stopwatch is paused (not running, but was started).
pcm() - Method in record class net.fokinatorr.sparkle.audio.io.ParsedSound
Returns the value of the pcm record component.
PERIOD - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
Physical2D - Interface in net.fokinatorr.sparkle.phys2d
A physical 2-dimensional object with properties like world coordinates, direction, X/Y axis stretching, and a hitbox.
PhysicalRenderable2D - Interface in net.fokinatorr.sparkle.graphics.render.renderer
A 2D renderable object with physical properties.
pitch() - Method in interface net.fokinatorr.sparkle.audio.SoundInstance
Returns the pitch of this sound.
pitch(double) - Method in interface net.fokinatorr.sparkle.audio.SoundInstance
Sets the pitch for this sound.
PITCH - Enum constant in enum class net.fokinatorr.sparkle.effect.sounds.SoundEffect
The pitch sound effect.
pixel(double) - Static method in class net.fokinatorr.sparkle.graphics.font.Font
Creates a font builder with "Grand9K Pixel" family and the given size.
PIXELATION - Enum constant in enum class net.fokinatorr.sparkle.effect.graphics.GraphicEffect
The pixelation graphic effect.
PixelReader - Interface in net.fokinatorr.sparkle.graphics
Allows reading pixel data from an image/framebuffer in ARGB format.
PixelWriter - Interface in net.fokinatorr.sparkle.graphics
Allows modifying pixel data of an image/framebuffer in ARGB format.
play() - Method in class net.fokinatorr.sparkle.audio.impl.BaseSoundSource
If the state of this source is stopped, firstly sets it to initial, then to playing.
play() - Method in interface net.fokinatorr.sparkle.audio.SoundInstance
If this sound is stopped, firstly rewinds it, then plays.
PLAYING - Enum constant in enum class net.fokinatorr.sparkle.audio.impl.BaseSoundSource.SourceState
 
PLAYING - Enum constant in enum class net.fokinatorr.sparkle.audio.SoundInstance.State
The playing state.
Point2D - Record Class in net.fokinatorr.sparkle.phys2d
Represents a point in 2D space.
Point2D(double, double) - Constructor for record class net.fokinatorr.sparkle.phys2d.Point2D
Creates a new 2D point.
pointTowards(double, double) - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
Points towards the given position.
pointTowards(Sprite) - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
Points towards the given sprite's position.
pollEvents() - Method in class net.fokinatorr.sparkle.graphics.impl.surface.AbstractGLFWWindowSurface
 
pollEvents() - Method in interface net.fokinatorr.sparkle.graphics.render.RenderingContext
Polls input and system events (e.g., window close, resize, key press) and fires them on the underlying stage's local event dispatcher.
pollEvents() - Method in interface net.fokinatorr.sparkle.graphics.render.surface.RenderingSurface
Polls input and system events.
position() - Method in record class net.fokinatorr.sparkle.event.input.MouseEvent.MouseCursorMovedEvent
 
position() - Method in interface net.fokinatorr.sparkle.event.input.MouseEvent
Returns the position on the stage where this event was performed.
prepare() - Method in interface net.fokinatorr.sparkle.graphics.image.Image
Prepares the image for rendering.
prepare() - Method in class net.fokinatorr.sparkle.graphics.image.impl.AWTRasterImage
 
prepare() - Method in class net.fokinatorr.sparkle.graphics.image.impl.SVGImage
 
PREPARING - Enum constant in enum class net.fokinatorr.sparkle.stage.Stage.State
The stage has been started and is preparing to run.
present() - Method in class net.fokinatorr.sparkle.graphics.impl.AbstractRenderingContext
 
present() - Method in interface net.fokinatorr.sparkle.graphics.render.RenderingContext
Presents the rendered frame.
present(Framebuffer) - Method in class net.fokinatorr.sparkle.graphics.impl.gl.surface.GL_GLFWWindowSurface
 
present(Framebuffer) - Method in interface net.fokinatorr.sparkle.graphics.render.surface.RenderingSurface
Presents the given frame buffer onto this surface and releases it.
pressedButtons() - Method in record class net.fokinatorr.sparkle.event.input.MouseEvent.MouseCursorMovedEvent
Returns the value of the pressedButtons record component.
PRINT_SCREEN - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
priority() - Element in annotation interface net.fokinatorr.sparkle.event.annotation.EventListener
Specifies the priority of the listener.
put(K, double) - Method in class net.fokinatorr.sparkle.effect.EffectMap
Associates the given effect with the given value.

Q

Q - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
quadCurve(double, double, double, double) - Method in class net.fokinatorr.sparkle.util.Mth
Calculates a point on a quadratic Bézier curve using the Bernstein formula:

R

R - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
RANDOM - Static variable in class net.fokinatorr.sparkle.util.Constants
The common random generator.
RasterImage - Interface in net.fokinatorr.sparkle.graphics.image
A raster image is an image with fixed pixel resolution (e.g.
READABLE - Enum constant in enum class net.fokinatorr.sparkle.graphics.render.surface.RenderingSurface.Feature
 
Reader() - Constructor for class net.fokinatorr.sparkle.graphics.image.impl.AWTRasterImage.Reader
 
readFully(InputStream) - Method in class net.fokinatorr.sparkle.util.BufferUtils
Reads all bytes from the input stream into a direct ByteBuffer.
receivedData() - Method in record class net.fokinatorr.sparkle.event.MessageEvent
Returns the value of the receivedData record component.
rect(float, float, float, float) - Method in class net.fokinatorr.sparkle.graphics.impl.gl.element.GLVertexArrayCache
Returns a rectangle vertex array with the specified position and size.
rectImg(float, float, float, float) - Method in class net.fokinatorr.sparkle.graphics.impl.gl.element.GLVertexArrayCache
Returns a rectangle vertex array with the specified position and size for rendering images.
red(int) - Method in class net.fokinatorr.sparkle.graphics.ARGB
Returns the red value of the given color (unsigned).
red(int, byte) - Method in class net.fokinatorr.sparkle.graphics.ARGB
Sets the red value for the given color.
register(Class, Renderer) - Method in class net.fokinatorr.sparkle.graphics.render.renderer.RendererRegistry
Registers a renderer for the given type.
register(Class, T) - Method in interface net.fokinatorr.sparkle.context.AppContext
Registers a new component under the given type.
register(Class, T) - Method in class net.fokinatorr.sparkle.context.DefaultAppContext
 
register(Object) - Method in interface net.fokinatorr.sparkle.event.dispatcher.EventDispatcher
Registers all instance methods annotated with @EventListener of the given object's class as event listeners.
register(Object) - Method in class net.fokinatorr.sparkle.event.dispatcher.impl.DefaultEventDispatcher
 
register(Stage, String, ControlPanel.Corner) - Static method in class net.fokinatorr.sparkle.stage.ControlPanel
Creates a control panel and registers it in the given stage under specified ID anchored at the given corner.
registerDebug(Class, Renderer) - Method in class net.fokinatorr.sparkle.graphics.render.renderer.RendererRegistry
Registers a debug renderer for the given type.
registerEventListener(Object) - Method in class net.fokinatorr.sparkle.util.Global
The behaviour of this method depends on the type of the given object: if the given object is a Class object: registers all static methods annotated with @EventListener in the class represented by the object as event listeners in the global event dispatcher (the event dispatcher registered in the global context); if the given object is not a Class object: registers all instance methods annotated with @EventListener in the class of the object as event listeners in the global event dispatcher.
registerLazy(Class, Function) - Method in interface net.fokinatorr.sparkle.context.AppContext
Registers a lazy-initialized component under the given type.
registerLazy(Class, Function) - Method in class net.fokinatorr.sparkle.context.DefaultAppContext
 
registerLazy(Class, Supplier) - Method in interface net.fokinatorr.sparkle.context.AppContext
Registers a lazy-initialized component under the given type.
registerLazy(Class, Supplier) - Method in class net.fokinatorr.sparkle.context.DefaultAppContext
 
registerOverride(Class, T) - Method in interface net.fokinatorr.sparkle.context.AppContext
Registers a new component under the given type, guaranteeing that AppContext.get(Class) returns that component instance after call to this method.
registerOverride(Class, T) - Method in class net.fokinatorr.sparkle.context.DefaultAppContext
 
registerRenderable(String, Object) - Method in class net.fokinatorr.sparkle.stage.Stage
Registers an arbitrary renderable object with the given ID.
registerSprite(String, Sprite) - Method in class net.fokinatorr.sparkle.stage.Stage
Registers a new Sprite with the given ID.
registerVariable(ID, Variable) - Method in class net.fokinatorr.sparkle.variable.AbstractVariableStorage
Registers a variable under the given ID.
registerVariable(ID, Variable) - Method in interface net.fokinatorr.sparkle.variable.VariableStorage
Registers a variable under the given ID.
remove() - Method in interface net.fokinatorr.sparkle.event.dispatcher.ListenerRemover
Removes the listener from the dispatcher.
removeDouble(Object) - Method in class net.fokinatorr.sparkle.effect.EffectMap
Sets the value of the given effect to its default value.
render(RenderCanvas) - Method in interface net.fokinatorr.sparkle.graphics.render.renderer.Renderable
Render this object onto the given canvas.
render(RenderCanvas) - Method in interface net.fokinatorr.sparkle.graphics.render.renderer.Renderable2D
Render this object onto the given canvas.
render(RenderCanvas) - Method in class net.fokinatorr.sparkle.stage.ControlPanel
 
render(RenderCanvas) - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
 
render(T, RenderCanvas) - Method in class net.fokinatorr.sparkle.graphics.render.renderer.Renderer.ForRenderable
Render the given object onto the given canvas.
render(T, RenderCanvas) - Method in class net.fokinatorr.sparkle.graphics.render.renderer.Renderer.ForRenderable2D
 
render(T, RenderCanvas) - Method in class net.fokinatorr.sparkle.graphics.render.renderer.Renderer.ForRenderable2DWithHitbox
 
render(T, RenderCanvas) - Method in interface net.fokinatorr.sparkle.graphics.render.renderer.Renderer
Render the given object onto the given canvas.
Renderable - Interface in net.fokinatorr.sparkle.graphics.render.renderer
A renderable object is an object that knows how to draw itself.
Renderable2D - Interface in net.fokinatorr.sparkle.graphics.render.renderer
A 2D renderable object is a 2-dimensional object with screen bounds, screen translation, rotation, and X/Y axis scaling.
RenderableID<T> - Interface in net.fokinatorr.sparkle.stage
Represents an ID of a renderable object on a stage.
RenderableID.OtherID - Record Class in net.fokinatorr.sparkle.stage
An arbitrary object ID.
RenderableID.SpriteID - Record Class in net.fokinatorr.sparkle.stage
A sprite ID.
RenderCanvas - Interface in net.fokinatorr.sparkle.graphics.render
A canvas for 2D rendering operations.
RenderCanvasExt - Interface in net.fokinatorr.sparkle.graphics.impl
An extensions interface for RenderCanvas providing additional methods for attaching framebuffers, flushing, etc.
Renderer<T> - Interface in net.fokinatorr.sparkle.graphics.render.renderer
A renderer is an object that can render a specific type of objects.
Renderer.ForRenderable<T> - Class in net.fokinatorr.sparkle.graphics.render.renderer
A simple implementation of Renderer which draws Renderable objects.
Renderer.ForRenderable2D<T> - Class in net.fokinatorr.sparkle.graphics.render.renderer
An implementation of Renderer which draws Renderable2D objects, applying respective transformations.
Renderer.ForRenderable2DWithHitbox<T> - Class in net.fokinatorr.sparkle.graphics.render.renderer
An implementation of Renderer which draws a Renderable2D and its hitbox on top.
RendererRegistry - Class in net.fokinatorr.sparkle.graphics.render.renderer
A registry that maps type -> renderer for that type or supertype.
RendererRegistry() - Constructor for class net.fokinatorr.sparkle.graphics.render.renderer.RendererRegistry
 
RenderingContext - Interface in net.fokinatorr.sparkle.graphics.render
Represents a graphics environment.
RenderingSurface - Interface in net.fokinatorr.sparkle.graphics.render.surface
Represents a surface where rendering occurs (e.g.
RenderingSurface.Feature - Enum Class in net.fokinatorr.sparkle.graphics.render.surface
Feature flags describing capabilities of this surface.
RenderingSurface.ResizeListener - Interface in net.fokinatorr.sparkle.graphics.render.surface
Represents a callback listening to resize events.
renderStage(RenderCanvasExt) - Method in class net.fokinatorr.sparkle.graphics.impl.AbstractRenderingContext
 
resetClip() - Method in class net.fokinatorr.sparkle.graphics.impl.gl.GLRenderCanvas
 
resetClip() - Method in class net.fokinatorr.sparkle.graphics.impl.GraphicsState
Resets the clipping region to none.
resetClip() - Method in interface net.fokinatorr.sparkle.graphics.render.RenderCanvas
Resets the clipping region to the default (typically the entire rendering surface).
RESIZABLE - Enum constant in enum class net.fokinatorr.sparkle.graphics.render.surface.RenderingSurface.Feature
 
resized(RenderingSurface, int, int) - Method in interface net.fokinatorr.sparkle.graphics.render.surface.RenderingSurface.ResizeListener
Executed when a surface was resized.
resolve(Path, Path) - Static method in interface net.fokinatorr.sparkle.assets.Assets
Creates and returns a Assets instance with resolved assets from the given textures and sounds directories.
Resource Management - Section in interface net.fokinatorr.sparkle.graphics.image.Image
 
Resource Management - Section in interface net.fokinatorr.sparkle.graphics.render.RenderCanvas
 
restore() - Method in class net.fokinatorr.sparkle.graphics.impl.gl.GLRenderCanvas
 
restore() - Method in interface net.fokinatorr.sparkle.graphics.render.RenderCanvas
Restores the most recently saved graphics state from the stack.
rewind() - Method in class net.fokinatorr.sparkle.audio.impl.BaseSoundSource
If the state of this source is already initial, does nothing.
rewind() - Method in class net.fokinatorr.sparkle.audio.impl.StreamingSoundSource
If the state of this source is already initial, does nothing.
rewind() - Method in interface net.fokinatorr.sparkle.audio.SoundInstance
If the state of this sound is already initial, does nothing.
RGB - Enum constant in enum class net.fokinatorr.sparkle.graphics.BlendMode.BlendType
Applies blending only to RGB color channels while using additive blending for the alpha channel.
RGB_MULTIPLY - Enum constant in enum class net.fokinatorr.sparkle.graphics.BlendMode
Multiplies RGB color channels, summing alpha instead.
RGB_SUBTRACT - Enum constant in enum class net.fokinatorr.sparkle.graphics.BlendMode
Subtracts RGB color channels, summing alpha instead.
rgbMultiply(int, int) - Method in class net.fokinatorr.sparkle.graphics.ARGB
Multiplies the given two colors' RGB components.
rgbSubtract(int, int) - Method in class net.fokinatorr.sparkle.graphics.ARGB
Subtracts the second color's RGB components from the first color's RGB components.
RIGHT - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
RIGHT - Enum constant in enum class net.fokinatorr.sparkle.event.input.MouseButton
The right (button 2) mouse button.
RIGHT_ALT - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
RIGHT_CONTROL - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
RIGHT_META - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
RIGHT_SHIFT - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
RIGHT_SQUARE_BRACKET - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
ROOT - Static variable in class net.fokinatorr.sparkle.util.Constants
The resources root path (useful for loading).
rotate(double) - Method in class net.fokinatorr.sparkle.graphics.impl.gl.GLRenderCanvas
 
rotate(double) - Method in class net.fokinatorr.sparkle.graphics.impl.GraphicsState
Rotates the transform by the given amount of degrees
rotate(double) - Method in interface net.fokinatorr.sparkle.graphics.render.RenderCanvas
Rotates the coordinate system around the origin by the specified angle (subsequent drawing operations will be rotated).
rotateLeft(double) - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
Rotates left the given count of degrees.
RotateOp2D(float) - Constructor for record class net.fokinatorr.sparkle.graphics.impl.TransformOp.RotateOp2D
Creates an instance of a RotateOp2D record class.
rotateRight(double) - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
Rotates right the given count of degrees.
RotationMode - Enum Class in net.fokinatorr.sparkle.phys
Changes the way a physical object should be transformed depending on its direction value.
run() - Method in interface net.fokinatorr.sparkle.event.dispatcher.ListenerRemover
Equivalent to ListenerRemover.remove().
run() - Method in interface net.fokinatorr.sparkle.util.stopwatch.Stopwatch
Starts or resumes the stopwatch.
runLater(Runnable) - Method in interface net.fokinatorr.sparkle.graphics.GraphicsManager
Schedules the given task to run in the graphics loop.
runLater(Runnable) - Method in class net.fokinatorr.sparkle.graphics.impl.OpenGLGraphicsManager
 
RUNNING - Enum constant in enum class net.fokinatorr.sparkle.SparkleApp.State
The app instance is running.
RUNNING - Enum constant in enum class net.fokinatorr.sparkle.stage.Stage.State
The stage has been started and is running.
RUNNING - Enum constant in enum class net.fokinatorr.sparkle.util.stopwatch.Stopwatch.State
Stopwatch is running
runWithoutStageRedraw(Stage, Runnable) - Method in class net.fokinatorr.sparkle.util.GraphicsUtils
Runs the given code, disabling redraws on the given stage.

S

S - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
SamplesSoundBufferProvider - Class in net.fokinatorr.sparkle.audio.impl.bufferprovider
A SoundBufferProvider that uses a PCM sample buffer as a sound buffer source.
SamplesSoundBufferProvider() - Constructor for class net.fokinatorr.sparkle.audio.impl.bufferprovider.SamplesSoundBufferProvider
 
sansSerif(double) - Static method in class net.fokinatorr.sparkle.graphics.font.Font
Creates a font builder with "Noto Sans" family and the given size.
save() - Method in class net.fokinatorr.sparkle.graphics.impl.gl.GLRenderCanvas
 
save() - Method in interface net.fokinatorr.sparkle.graphics.render.RenderCanvas
Saves the current graphics state (transformations, styling, clipping) onto a stack.
say(String) - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
Creates a text bubble near this sprite with the given text that lasts until the next text bubble.
SAY - Enum constant in enum class net.fokinatorr.sparkle.stage.sprite.BubbleState.BubbleType
 
sayFor(String, long) - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
Creates a text bubble near this sprite with the given text that lasts for the given count of milliseconds.
scale(double, double) - Method in class net.fokinatorr.sparkle.graphics.impl.gl.GLRenderCanvas
 
scale(double, double) - Method in class net.fokinatorr.sparkle.graphics.impl.GraphicsState
Scales the transform by the given deltas.
scale(double, double) - Method in interface net.fokinatorr.sparkle.graphics.render.RenderCanvas
Scales the coordinate system by the specified factors.
scale(Point2D) - Method in interface net.fokinatorr.sparkle.graphics.render.RenderCanvas
Scales the coordinate system by the specified delta vector.
ScaleOp2D(float, float) - Constructor for record class net.fokinatorr.sparkle.graphics.impl.TransformOp.ScaleOp2D
Creates an instance of a ScaleOp2D record class.
Scaling - Class in net.fokinatorr.sparkle.graphics.impl.sw
High-quality image scaling using bicubic interpolation.
Scaling() - Constructor for class net.fokinatorr.sparkle.graphics.impl.sw.Scaling
 
SCROLL_LOCK - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
self() - Method in class net.fokinatorr.sparkle.audio.impl.BaseSoundSource
This method must return this sound source.
self() - Method in class net.fokinatorr.sparkle.audio.impl.StaticSoundSource
This method must return this sound source.
self() - Method in class net.fokinatorr.sparkle.audio.impl.StreamingSoundSource
This method must return this sound source.
SEMI_BOLD - Enum constant in enum class net.fokinatorr.sparkle.graphics.font.FontWeight
 
SEMICOLON - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
serif(double) - Static method in class net.fokinatorr.sparkle.graphics.font.Font
Creates a font builder with the default family and the given size.
set(double) - Method in class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicDouble
Sets the value to the given value, with memory effects as specified by VarHandle.setVolatile(Object...).
set(float) - Method in class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicFloat
Sets the value to the given value, with memory effects as specified by VarHandle.setVolatile(Object...).
set(int, double) - Method in class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicDoubleArray
Sets the element at index i to newValue, with memory effects as specified by VarHandle.setVolatile(Object...).
setAlpha(byte) - Method in class net.fokinatorr.sparkle.graphics.impl.gl.GLRenderCanvas
 
setAlpha(byte) - Method in interface net.fokinatorr.sparkle.graphics.render.RenderCanvas
Sets the alpha (transparency) value for all drawing operations.
setARGB(int, int, int) - Method in class net.fokinatorr.sparkle.graphics.impl.IntBufferPixelAccessor
 
setARGB(int, int, int) - Method in interface net.fokinatorr.sparkle.graphics.PixelWriter
Sets a single pixel.
setBackdrop(int) - Method in class net.fokinatorr.sparkle.stage.Stage
Sets the backdrop index to the given one.
setBackdrop(int, boolean) - Method in class net.fokinatorr.sparkle.stage.Stage
Sets the backdrop index to the given one.
setBackdrop(String) - Method in class net.fokinatorr.sparkle.stage.Stage
Sets the backdrop name to the given one.
setBackdrop(String, boolean) - Method in class net.fokinatorr.sparkle.stage.Stage
Sets the backdrop name to the given one.
setBlendMode(BlendMode) - Method in class net.fokinatorr.sparkle.graphics.impl.gl.GLRenderCanvas
 
setBlendMode(BlendMode) - Method in interface net.fokinatorr.sparkle.graphics.render.RenderCanvas
Sets the blend mode for combining source pixels with destination pixels.
setBooleanValue(boolean) - Method in class net.fokinatorr.sparkle.variable.BooleanVariable
Sets the value of this variable to the given one.
setBooleanValue(boolean) - Method in interface net.fokinatorr.sparkle.variable.Variable
Sets the current value as boolean (optional operation).
setByteValue(byte) - Method in class net.fokinatorr.sparkle.variable.ByteVariable
Sets the value of this variable to the given one.
setByteValue(byte) - Method in class net.fokinatorr.sparkle.variable.DoubleVariable
Sets the current value as byte.
setByteValue(byte) - Method in class net.fokinatorr.sparkle.variable.FloatVariable
Sets the current value as byte.
setByteValue(byte) - Method in class net.fokinatorr.sparkle.variable.IntVariable
Sets the current value as byte.
setByteValue(byte) - Method in class net.fokinatorr.sparkle.variable.LongVariable
Sets the current value as byte.
setByteValue(byte) - Method in class net.fokinatorr.sparkle.variable.ShortVariable
Sets the current value as byte.
setByteValue(byte) - Method in interface net.fokinatorr.sparkle.variable.Variable
Sets the current value as byte (optional operation).
setCharValue(char) - Method in class net.fokinatorr.sparkle.variable.CharVariable
Sets the current value of this variable.
setCharValue(char) - Method in interface net.fokinatorr.sparkle.variable.Variable
Sets the current value as char (optional operation).
setClipH(double) - Method in class net.fokinatorr.sparkle.graphics.impl.GraphicsState
Sets the height of clipping region.
setClipW(double) - Method in class net.fokinatorr.sparkle.graphics.impl.GraphicsState
Sets the width of clipping region.
setClipX(double) - Method in class net.fokinatorr.sparkle.graphics.impl.GraphicsState
Sets the X coordinate of the top-left corner of clipping region.
setClipY(double) - Method in class net.fokinatorr.sparkle.graphics.impl.GraphicsState
Sets the Y coordinate of the top-left corner of clipping region.
setCostume(int) - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
Sets the costume index to the given one.
setCostume(String) - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
Sets the costume name to the given one.
setDirection(double) - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
Sets the current direction to the given value.
setDirtyTransform() - Method in class net.fokinatorr.sparkle.graphics.impl.gl.element.GLTransformedVertexArray
Marks that a change in one of transform matrices has occurred and the final transform needs to be recalculated.
setDoubleValue(double) - Method in class net.fokinatorr.sparkle.variable.DoubleVariable
Sets the value of this variable to the given one.
setDoubleValue(double) - Method in class net.fokinatorr.sparkle.variable.FloatVariable
Sets the current value as double.
setDoubleValue(double) - Method in interface net.fokinatorr.sparkle.variable.Variable
Sets the current value as double (optional operation).
setEffects(GraphicEffectMap) - Method in class net.fokinatorr.sparkle.graphics.impl.gl.GLRenderCanvas
 
setEffects(GraphicEffectMap) - Method in interface net.fokinatorr.sparkle.graphics.render.RenderCanvas
Sets the graphic effects map to apply to subsequent drawing operations.
setEventLifecycleAccess(EventLifecycleAccess) - Method in class net.fokinatorr.sparkle.internal.access.SharedSecrets
 
setFillARGB(int) - Method in class net.fokinatorr.sparkle.graphics.impl.gl.GLRenderCanvas
 
setFillARGB(int) - Method in interface net.fokinatorr.sparkle.graphics.render.RenderCanvas
Sets the fill color for shape filling operations.
setFloatValue(float) - Method in class net.fokinatorr.sparkle.variable.DoubleVariable
Sets the current value as float.
setFloatValue(float) - Method in class net.fokinatorr.sparkle.variable.FloatVariable
Sets the value of this variable to the given one.
setFloatValue(float) - Method in interface net.fokinatorr.sparkle.variable.Variable
Sets the current value as float (optional operation).
setFPSLimit(int) - Method in class net.fokinatorr.sparkle.stage.Stage
Sets the current framerate limit to the given value.
setFullscreen(boolean) - Method in class net.fokinatorr.sparkle.graphics.impl.surface.AbstractGLFWWindowSurface
 
setFullscreen(boolean) - Method in interface net.fokinatorr.sparkle.graphics.render.surface.RenderingSurface
Changes the fullscreen state of this surface, if RenderingSurface.Feature.FULLSCREENABLE is supported.
setFullscreen(boolean) - Method in interface net.fokinatorr.sparkle.graphics.render.surface.WindowSurface
 
setHeight(int) - Method in class net.fokinatorr.sparkle.stage.Stage
Sets the new height for this stage to the given value.
setIdentity() - Method in class net.fokinatorr.sparkle.graphics.impl.gl.GLRenderCanvas
 
setIdentity() - Method in interface net.fokinatorr.sparkle.graphics.render.RenderCanvas
Resets the current graphics state to default values.
setIntValue(int) - Method in class net.fokinatorr.sparkle.variable.DoubleVariable
Sets the current value as int.
setIntValue(int) - Method in class net.fokinatorr.sparkle.variable.FloatVariable
Sets the current value as int.
setIntValue(int) - Method in class net.fokinatorr.sparkle.variable.IntVariable
Sets the value of this variable to the given one.
setIntValue(int) - Method in class net.fokinatorr.sparkle.variable.LongVariable
Sets the current value as int.
setIntValue(int) - Method in interface net.fokinatorr.sparkle.variable.Variable
Sets the current value as int (optional operation).
setLineWidth(double) - Method in class net.fokinatorr.sparkle.graphics.impl.gl.GLRenderCanvas
 
setLineWidth(double) - Method in class net.fokinatorr.sparkle.graphics.impl.GraphicsState
Sets the new line width.
setLineWidth(double) - Method in interface net.fokinatorr.sparkle.graphics.render.RenderCanvas
Sets the line width for stroke operations.
setLongValue(long) - Method in class net.fokinatorr.sparkle.variable.DoubleVariable
Sets the current value as long.
setLongValue(long) - Method in class net.fokinatorr.sparkle.variable.FloatVariable
Sets the current value as long.
setLongValue(long) - Method in class net.fokinatorr.sparkle.variable.LongVariable
Sets the value of this variable to the given one.
setLongValue(long) - Method in interface net.fokinatorr.sparkle.variable.Variable
Sets the current value as long (optional operation).
setName(String) - Method in class net.fokinatorr.sparkle.graphics.impl.surface.AbstractGLFWWindowSurface
 
setName(String) - Method in interface net.fokinatorr.sparkle.graphics.render.surface.EmbeddedSurface
 
setName(String) - Method in interface net.fokinatorr.sparkle.graphics.render.surface.RenderingSurface
Sets the name for this surface, if RenderingSurface.Feature.NAMEABLE is supported.
setName(String) - Method in interface net.fokinatorr.sparkle.graphics.render.surface.WindowSurface
 
setNewBackdropId(int) - Method in class net.fokinatorr.sparkle.event.BackdropChangeEvent.Before
Sets the new backdrop ID.
setPos(int, int) - Method in class net.fokinatorr.sparkle.graphics.impl.surface.AbstractGLFWWindowSurface
 
setPos(int, int) - Method in interface net.fokinatorr.sparkle.graphics.render.surface.RenderingSurface
Sets the position of the top-left corner of this surface, if RenderingSurface.Feature.MOVABLE is supported.
setPos(int, int) - Method in interface net.fokinatorr.sparkle.graphics.render.surface.WindowSurface
 
setRenderContext(Stage, RenderingContext) - Method in interface net.fokinatorr.sparkle.internal.access.StageAccess
 
setResizable(boolean) - Method in class net.fokinatorr.sparkle.graphics.impl.surface.AbstractGLFWWindowSurface
 
setResizable(boolean) - Method in interface net.fokinatorr.sparkle.graphics.render.surface.RenderingSurface
Changes the resizable state of this surface, if RenderingSurface.Feature.RESIZABLE is supported.
setResizable(boolean) - Method in interface net.fokinatorr.sparkle.graphics.render.surface.WindowSurface
 
setRotationMode(RotationMode) - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
Updates the rotation mode to the given value.
setShortValue(short) - Method in class net.fokinatorr.sparkle.variable.DoubleVariable
Sets the current value as short.
setShortValue(short) - Method in class net.fokinatorr.sparkle.variable.FloatVariable
Sets the current value as short.
setShortValue(short) - Method in class net.fokinatorr.sparkle.variable.IntVariable
Sets the current value as short.
setShortValue(short) - Method in class net.fokinatorr.sparkle.variable.LongVariable
Sets the current value as short.
setShortValue(short) - Method in class net.fokinatorr.sparkle.variable.ShortVariable
Sets the value of this variable to the given one.
setShortValue(short) - Method in interface net.fokinatorr.sparkle.variable.Variable
Sets the current value as short (optional operation).
setShouldClose() - Method in class net.fokinatorr.sparkle.graphics.impl.surface.AbstractGLFWWindowSurface
 
setShouldClose() - Method in interface net.fokinatorr.sparkle.graphics.render.RenderingContext
Requests the surface to close; in other words, makes RenderingContext.shouldClose() return true on the next call.
setShouldClose() - Method in interface net.fokinatorr.sparkle.graphics.render.surface.RenderingSurface
Requests this surface to close; in other words, makes RenderingSurface.shouldClose() return true on the next call.
setSize(double) - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
Sets both X and Y stretches to the given value.
setSize(int, int) - Method in class net.fokinatorr.sparkle.graphics.impl.surface.AbstractGLFWWindowSurface
 
setSize(int, int) - Method in interface net.fokinatorr.sparkle.graphics.render.surface.EmbeddedSurface
 
setSize(int, int) - Method in interface net.fokinatorr.sparkle.graphics.render.surface.HeadlessSurface
 
setSize(int, int) - Method in interface net.fokinatorr.sparkle.graphics.render.surface.RenderingSurface
Sets the new size for this surface, if RenderingSurface.Feature.RESIZABLE is supported.
setSize(int, int) - Method in interface net.fokinatorr.sparkle.graphics.render.surface.WindowSurface
 
setSize(int, int) - Method in class net.fokinatorr.sparkle.stage.Stage
Sets the width and height for this stage to the given values.
setSpriteAccess(SpriteAccess) - Method in class net.fokinatorr.sparkle.internal.access.SharedSecrets
 
setStageAccess(StageAccess) - Method in class net.fokinatorr.sparkle.internal.access.SharedSecrets
 
setState(SoundInstance.State) - Method in interface net.fokinatorr.sparkle.audio.SoundInstance
Calls one of the state changing methods depending on the given state enum.
setStretchX(double) - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
Sets the X axis stretch to the given value.
setStretchY(double) - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
Sets the Y axis stretch to the given value.
setStrokeARGB(int) - Method in class net.fokinatorr.sparkle.graphics.impl.gl.GLRenderCanvas
 
setStrokeARGB(int) - Method in interface net.fokinatorr.sparkle.graphics.render.RenderCanvas
Sets the stroke color for shape outline drawing operations.
setSuppressRedraw(Stage, boolean) - Method in interface net.fokinatorr.sparkle.internal.access.StageAccess
 
setTPSLimit(int) - Method in class net.fokinatorr.sparkle.stage.Stage
Sets the current tick rate limit to the given value.
setUniform(String, float) - Method in class net.fokinatorr.sparkle.graphics.impl.gl.shader.GLShaderProgram
Updates uniform variable for this program with the specified floating-point value.
setUniform(String, float, float) - Method in class net.fokinatorr.sparkle.graphics.impl.gl.shader.GLShaderProgram
Updates uniform variable for this program with the specified floating-point 2D vector components.
setUniform(String, float, float, float, float) - Method in class net.fokinatorr.sparkle.graphics.impl.gl.shader.GLShaderProgram
Updates uniform variable for this program with the specified floating-point 4D vector components.
setUniform(String, int) - Method in class net.fokinatorr.sparkle.graphics.impl.gl.shader.GLShaderProgram
Updates uniform variable for this program with the specified integer value.
setUniform(String, Matrix4fc) - Method in class net.fokinatorr.sparkle.graphics.impl.gl.shader.GLShaderProgram
Updates uniform variable for this program with the specified 4x4 floating-point matrix.
setValue(Boolean) - Method in class net.fokinatorr.sparkle.variable.BooleanVariable
Deprecated.
setValue(Byte) - Method in class net.fokinatorr.sparkle.variable.ByteVariable
Deprecated.
setValue(Character) - Method in class net.fokinatorr.sparkle.variable.CharVariable
Deprecated.
setValue(Double) - Method in class net.fokinatorr.sparkle.variable.DoubleVariable
Deprecated.
setValue(Float) - Method in class net.fokinatorr.sparkle.variable.FloatVariable
Deprecated.
setValue(Integer) - Method in class net.fokinatorr.sparkle.variable.IntVariable
Deprecated.
Please use IntVariable.setIntValue(int) instead.
setValue(Long) - Method in class net.fokinatorr.sparkle.variable.LongVariable
Deprecated.
setValue(Short) - Method in class net.fokinatorr.sparkle.variable.ShortVariable
Deprecated.
setValue(T) - Method in class net.fokinatorr.sparkle.variable.ObjectVariable
Sets the value of this variable to the given one.
setValue(T) - Method in interface net.fokinatorr.sparkle.variable.Variable
Sets the value of this variable to the given one.
setVisible(boolean) - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
Shows this sprite if the given value is true, or hides this sprite otherwise.
setWidth(int) - Method in class net.fokinatorr.sparkle.stage.Stage
Sets the width for this stage to the given value.
setX(double) - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
Sets the x coordinate to the given value.
setY(double) - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
Sets the y coordinate to the given value.
ShaderCompileException - Exception Class in net.fokinatorr.sparkle.graphics.impl.gl.shader
Thrown by GLShaderProgram's factory methods when shader compilation fails.
ShaderCompileException(String, String, String) - Constructor for exception class net.fokinatorr.sparkle.graphics.impl.gl.shader.ShaderCompileException
 
ShaderLoader - Class in net.fokinatorr.sparkle.graphics.impl.gl.shader
Loads shader files, replacing snippet placeholders with actual snippets.
ShaderLoader() - Constructor for class net.fokinatorr.sparkle.graphics.impl.gl.shader.ShaderLoader
 
ShaderProgramLinkException - Exception Class in net.fokinatorr.sparkle.graphics.impl.gl.shader
Thrown by GLShaderProgram's factory methods when shader program linking fails.
ShaderProgramLinkException(String, String) - Constructor for exception class net.fokinatorr.sparkle.graphics.impl.gl.shader.ShaderProgramLinkException
 
ShaderType - Enum Class in net.fokinatorr.sparkle.graphics.impl.gl.shader
Represents a GL shader type.
shape() - Method in record class net.fokinatorr.sparkle.phys2d.impl.ShapeHitbox2D
Returns the value of the shape record component.
shape(Shape) - Static method in interface net.fokinatorr.sparkle.phys2d.Hitbox2D
Creates a 2D hitbox matching the given shape without rotating the shape.
ShapeHitbox2D - Record Class in net.fokinatorr.sparkle.phys2d.impl
A 2D hitbox matching the given shape's position and bounds.
ShapeHitbox2D(Shape) - Constructor for record class net.fokinatorr.sparkle.phys2d.impl.ShapeHitbox2D
Creates an instance of a ShapeHitbox2D record class.
SharedSecrets - Class in net.fokinatorr.sparkle.internal.access
Similarly to Java's jdk.internal.access.SharedSecrets, this class is a repository of "shared secrets" used to avoid reflection when calling package-private methods in bounds of this module.
SharedSecrets() - Constructor for class net.fokinatorr.sparkle.internal.access.SharedSecrets
 
shortValue() - Method in class net.fokinatorr.sparkle.variable.ByteVariable
shortValue() - Method in class net.fokinatorr.sparkle.variable.ShortVariable
ShortVariable - Class in net.fokinatorr.sparkle.variable
A variable storing a short value.
ShortVariable() - Constructor for class net.fokinatorr.sparkle.variable.ShortVariable
Creates a new ShortVariable with initial value 0.
ShortVariable(short) - Constructor for class net.fokinatorr.sparkle.variable.ShortVariable
Creates a new ShortVariable with the given initial value.
shouldClose() - Method in class net.fokinatorr.sparkle.graphics.impl.surface.AbstractGLFWWindowSurface
 
shouldClose() - Method in interface net.fokinatorr.sparkle.graphics.render.RenderingContext
Checks if the surface should close and clears this flag.
shouldClose() - Method in interface net.fokinatorr.sparkle.graphics.render.surface.RenderingSurface
Check if this surface should close and clears this flag.
show() - Method in class net.fokinatorr.sparkle.graphics.impl.surface.AbstractGLFWWindowSurface
 
show() - Method in interface net.fokinatorr.sparkle.graphics.render.surface.RenderingSurface
Shows this surface, if RenderingSurface.Feature.HIDEABLE is supported.
show() - Method in interface net.fokinatorr.sparkle.graphics.render.surface.WindowSurface
 
size() - Method in class net.fokinatorr.sparkle.effect.EffectMap
size(double) - Method in class net.fokinatorr.sparkle.graphics.font.Font.FontBuilder
Sets the desired size for the resulting font.
SKEW_X - Enum constant in enum class net.fokinatorr.sparkle.effect.graphics.GraphicEffect
The skew graphic effect.
SKEW_Y - Enum constant in enum class net.fokinatorr.sparkle.effect.graphics.GraphicEffect
The skew graphic effect.
SLASH - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
SoundBuffer - Class in net.fokinatorr.sparkle.audio.impl
Manages an OpenAL sound buffer.
SoundBuffer(long, ShortBuffer, SoundBuffer.DataFormat, int) - Constructor for class net.fokinatorr.sparkle.audio.impl.SoundBuffer
Creates a new SoundBuffer.
SoundBuffer.DataFormat - Enum Class in net.fokinatorr.sparkle.audio.impl
The data format of a sound buffer.
SoundBufferProvider - Interface in net.fokinatorr.sparkle.audio.impl.bufferprovider
Provides sound buffers for a streaming sound source.
SoundBufferProvider.Iterator - Interface in net.fokinatorr.sparkle.audio.impl.bufferprovider
An iterator over a SoundBufferProvider.
SoundDecoder - Interface in net.fokinatorr.sparkle.audio.io
A sound decoder can decode a file, a stream of bytes, or a byte buffer into a ParsedSound (PCM data).
SoundEffect - Enum Class in net.fokinatorr.sparkle.effect.sounds
A sound effect.
SoundEffectMap - Class in net.fokinatorr.sparkle.effect.sounds
An effect map that stores sound effects.
SoundEffectMap() - Constructor for class net.fokinatorr.sparkle.effect.sounds.SoundEffectMap
Creates a new SoundEffectMap with all effect values set to respective default ones.
SoundInstance<SELF> - Interface in net.fokinatorr.sparkle.audio
A playable sound instance.
SoundInstance.State - Enum Class in net.fokinatorr.sparkle.audio
A state of a sound instance.
soundsByIndex() - Method in interface net.fokinatorr.sparkle.assets.Assets
Returns an immutable list of sounds.
soundsIndexesByName() - Method in interface net.fokinatorr.sparkle.assets.Assets
Returns a function that maps sound names to sound indexes, and returns value less than 0 for absent names.
sourceId - Variable in class net.fokinatorr.sparkle.audio.impl.BaseSoundSource
The OpenAL source ID.
SPACE - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
SparkleApp - Class in net.fokinatorr.sparkle
Base class for all Sparkle apps.
SparkleApp() - Constructor for class net.fokinatorr.sparkle.SparkleApp
 
SparkleApp.State - Enum Class in net.fokinatorr.sparkle
The app state.
SparkleInit - Class in net.fokinatorr.sparkle
Initialization configuration for Sparkle.
SparkleInit() - Constructor for class net.fokinatorr.sparkle.SparkleInit
 
Sprite - Class in net.fokinatorr.sparkle.stage.sprite
A general-purpose 2D renderable with Scratch-like API.
Sprite(Assets) - Constructor for class net.fokinatorr.sparkle.stage.sprite.Sprite
Creates a new Sprite instance.
SpriteAccess - Interface in net.fokinatorr.sparkle.internal.access
 
spriteId() - Method in record class net.fokinatorr.sparkle.stage.RenderableID.SpriteID
Returns the value of the spriteId record component.
SpriteID(String, int) - Constructor for record class net.fokinatorr.sparkle.stage.RenderableID.SpriteID
Creates an instance of a SpriteID record class.
stage() - Method in record class net.fokinatorr.sparkle.event.BackdropChangeEvent.After
Returns the value of the stage record component.
stage() - Method in class net.fokinatorr.sparkle.event.BackdropChangeEvent.Before
Returns the stage whose backdrop is changed.
stage() - Method in interface net.fokinatorr.sparkle.event.BackdropChangeEvent
Returns the stage whose backdrop is changed.
stage() - Method in interface net.fokinatorr.sparkle.event.input.InputEvent
Returns the stage on which the input was performed.
stage() - Method in record class net.fokinatorr.sparkle.event.input.KeyboardEvent.CharInputEvent
Returns the value of the stage record component.
stage() - Method in record class net.fokinatorr.sparkle.event.input.KeyboardEvent.KeyPressedEvent
Returns the value of the stage record component.
stage() - Method in record class net.fokinatorr.sparkle.event.input.KeyboardEvent.KeyReleasedEvent
Returns the value of the stage record component.
stage() - Method in record class net.fokinatorr.sparkle.event.input.KeyboardEvent.KeyRepeatedEvent
Returns the value of the stage record component.
stage() - Method in interface net.fokinatorr.sparkle.event.input.KeyboardEvent
Returns the stage on which the event was done.
stage() - Method in record class net.fokinatorr.sparkle.event.input.MouseEvent.MouseClickedEvent
Returns the value of the stage record component.
stage() - Method in record class net.fokinatorr.sparkle.event.input.MouseEvent.MouseCursorMovedEvent
Returns the value of the stage record component.
stage() - Method in record class net.fokinatorr.sparkle.event.input.MouseEvent.MousePressedEvent
Returns the value of the stage record component.
stage() - Method in record class net.fokinatorr.sparkle.event.input.MouseEvent.MouseReleasedEvent
Returns the value of the stage record component.
stage() - Method in record class net.fokinatorr.sparkle.event.input.MouseEvent.MouseScrolledEvent
Returns the value of the stage record component.
stage() - Method in interface net.fokinatorr.sparkle.event.input.MouseEvent
Returns the stage on which the event was done.
Stage - Class in net.fokinatorr.sparkle.stage
A stage, containing backdrop, sprites and other renderable objects.
Stage() - Constructor for class net.fokinatorr.sparkle.stage.Stage
 
Stage.State - Enum Class in net.fokinatorr.sparkle.stage
Represents the state of a stage.
StageAccess - Interface in net.fokinatorr.sparkle.internal.access
 
StageCreator - Interface in net.fokinatorr.sparkle.stage
A factory interface for controlled creation and customization of Stage instances.
StageStateChangeEvent - Interface in net.fokinatorr.sparkle.event.lifecycle
Base interface for events that are fired when a stage's state is changed.
StageStateChangeEvent.StartEvent - Class in net.fokinatorr.sparkle.event.lifecycle
This event is fired when the start button is clicked.
StageStateChangeEvent.StopEvent - Class in net.fokinatorr.sparkle.event.lifecycle
This event is fired when the stop button is clicked, or the stage was closed.
StandardJavaProviderIterator - Class in net.fokinatorr.sparkle.audio.impl.bufferprovider
A SoundBufferProvider.Iterator that uses the standard Java Iterable and Iterator API.
StandardJavaProviderIterator() - Constructor for class net.fokinatorr.sparkle.audio.impl.bufferprovider.StandardJavaProviderIterator
 
start() - Method in class net.fokinatorr.sparkle.stage.Stage
Fires the start event on this stage, then, after its dispatch completes, starts the stage's loop thread.
start() - Method in class net.fokinatorr.sparkle.util.stopwatch.AbstractStopwatch
Starts or resumes the stopwatch.
start() - Method in class net.fokinatorr.sparkle.util.stopwatch.InstantStopwatch
Starts or resumes the stopwatch.
start() - Method in interface net.fokinatorr.sparkle.util.stopwatch.Stopwatch
Starts or resumes the stopwatch.
start(GraphicsManager) - Method in class net.fokinatorr.sparkle.SparkleApp
Called after SparkleApp.init() on the graphics thread.
START - Enum constant in enum class net.fokinatorr.sparkle.stage.ControlPanel.Button
Starts the stage with Stage.start().
startOver() - Method in interface net.fokinatorr.sparkle.audio.impl.bufferprovider.SoundBufferProvider.Iterator
Starts iterating from the beginning.
startOver() - Method in class net.fokinatorr.sparkle.audio.impl.bufferprovider.StandardJavaProviderIterator
Starts iterating from the beginning.
startSound(String) - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
Starts playing a sound with the given name.
startSound(String) - Method in class net.fokinatorr.sparkle.stage.Stage
Starts playing a sound with the given name.
startSound(String, boolean) - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
Starts playing a sound with the given name.
startSound(String, boolean) - Method in class net.fokinatorr.sparkle.stage.Stage
Starts playing a sound with the given name.
startSound(String, boolean, boolean) - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
Starts playing a sound with the given name.
startSound(String, boolean, SoundEffectMap) - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
Starts playing a sound with the given name.
startSound(String, SoundEffectMap) - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
Starts playing a sound with the given name.
startTime() - Method in class net.fokinatorr.sparkle.util.stopwatch.InstantStopwatch
Returns a timestamp representing the time this stopwatch was started, never null.
startTime() - Method in interface net.fokinatorr.sparkle.util.stopwatch.Stopwatch
Returns a timestamp representing the time this stopwatch was started, never null.
state - Variable in class net.fokinatorr.sparkle.util.stopwatch.AbstractStopwatch
State of this stopwatch
StaticSoundSource - Class in net.fokinatorr.sparkle.audio.impl
Manages a static OpenAL sound source, a sound source with only one static buffer.
StaticSoundSource(SoundBuffer) - Constructor for class net.fokinatorr.sparkle.audio.impl.StaticSoundSource
Creates a new SoundSource with the given buffer attached.
STEREO_16BIT - Enum constant in enum class net.fokinatorr.sparkle.audio.impl.SoundBuffer.DataFormat
 
STEREO_16BIT - Enum constant in enum class net.fokinatorr.sparkle.audio.io.ParsedSound.DataFormat
 
STEREO_8BIT - Enum constant in enum class net.fokinatorr.sparkle.audio.impl.SoundBuffer.DataFormat
 
STEREO_8BIT - Enum constant in enum class net.fokinatorr.sparkle.audio.io.ParsedSound.DataFormat
 
stop() - Method in class net.fokinatorr.sparkle.audio.impl.BaseSoundSource
If the state of this source is initial or stopped, does nothing, otherwise sets the state of this source to stopped.
stop() - Method in interface net.fokinatorr.sparkle.audio.SoundInstance
If this sound is in initial state or stopped, does nothing, otherwise stops this sound.
stop() - Method in class net.fokinatorr.sparkle.SparkleApp
Called during shutdown on the terminator thread, when all rendering contexts close or on explicit shutdown request.
stop() - Method in class net.fokinatorr.sparkle.stage.Stage
Fires the stop event on this stage, then, after its dispatch completes, stops the stage's loop thread.
stop() - Method in class net.fokinatorr.sparkle.util.stopwatch.AbstractStopwatch
Stops the stopwatch and clear its stats.
stop() - Method in class net.fokinatorr.sparkle.util.stopwatch.InstantStopwatch
Stops the stopwatch and clear its stats.
stop() - Method in interface net.fokinatorr.sparkle.util.stopwatch.Stopwatch
Stops the stopwatch and clear its stats.
STOP - Enum constant in enum class net.fokinatorr.sparkle.stage.ControlPanel.Button
Stops the stage with Stage.stop().
STOPPED - Enum constant in enum class net.fokinatorr.sparkle.audio.impl.BaseSoundSource.SourceState
 
STOPPED - Enum constant in enum class net.fokinatorr.sparkle.audio.SoundInstance.State
The stopped state.
STOPPED - Enum constant in enum class net.fokinatorr.sparkle.stage.Stage.State
The stage has been started before, but it's now stopped.
STOPPED - Enum constant in enum class net.fokinatorr.sparkle.util.stopwatch.Stopwatch.State
Stopwatch was stopped and is not running
STOPPING - Enum constant in enum class net.fokinatorr.sparkle.stage.Stage.State
The stage has been started before, and it's stopping.
Stopwatch - Interface in net.fokinatorr.sparkle.util.stopwatch
A stopwatch
Stopwatch.State - Enum Class in net.fokinatorr.sparkle.util.stopwatch
Stopwatch state
stream(ByteBuffer) - Method in class net.fokinatorr.sparkle.util.BufferUtils
Creates a stream over the given ByteBuffer without copying its data into the heap.
stream(CharBuffer) - Method in class net.fokinatorr.sparkle.util.BufferUtils
Creates a stream over the given CharBuffer without copying its data into the heap.
stream(DoubleBuffer) - Method in class net.fokinatorr.sparkle.util.BufferUtils
Creates a stream over the given DoubleBuffer without copying its data into the heap.
stream(FloatBuffer) - Method in class net.fokinatorr.sparkle.util.BufferUtils
Creates a stream over the given FloatBuffer without copying its data into the heap.
stream(IntBuffer) - Method in class net.fokinatorr.sparkle.util.BufferUtils
Creates a stream over the given IntBuffer without copying its data into the heap.
stream(LongBuffer) - Method in class net.fokinatorr.sparkle.util.BufferUtils
Creates a stream over the given LongBuffer without copying its data into the heap.
stream(ShortBuffer) - Method in class net.fokinatorr.sparkle.util.BufferUtils
Creates a stream over the given ShortBuffer without copying its data into the heap.
StreamingSoundSource - Class in net.fokinatorr.sparkle.audio.impl
Manages a streaming OpenAL sound source.
StreamingSoundSource(long, SoundBufferProvider, int) - Constructor for class net.fokinatorr.sparkle.audio.impl.StreamingSoundSource
Creates a new SoundSource with the given sound buffers enqueued.
strikethrough() - Method in class net.fokinatorr.sparkle.graphics.font.Font.FontBuilder
Makes the font builder struck through.
strokeARGB() - Method in record class net.fokinatorr.sparkle.graphics.image.VectorImage.Vector
Returns the value of the strokeARGB record component.
stroked(int, double) - Method in record class net.fokinatorr.sparkle.graphics.image.VectorImage.Vector
Creates a stroked-only version of this vector.
styled(int, int, double) - Method in record class net.fokinatorr.sparkle.graphics.image.VectorImage.Vector
Creates a stroked and filled version of this vector.
submitImage(double, double, double, double) - Method in class net.fokinatorr.sparkle.graphics.impl.gl.GLSubCanvas
 
submitImage(double, double, double, double) - Method in interface net.fokinatorr.sparkle.graphics.render.RenderCanvas
Draws the final rendered image on the parent canvas as described in drawImage(), if this canvas is a sub-canvas.
submitImage(Point2D, Point2D) - Method in interface net.fokinatorr.sparkle.graphics.render.RenderCanvas
SVGImage - Class in net.fokinatorr.sparkle.graphics.image.impl
An SVG image is a vector-based format.
SVGImage() - Constructor for class net.fokinatorr.sparkle.graphics.image.impl.SVGImage
 
sx() - Method in record class net.fokinatorr.sparkle.graphics.impl.TransformOp.ScaleOp2D
Returns the value of the sx record component.
sy() - Method in record class net.fokinatorr.sparkle.graphics.impl.TransformOp.ScaleOp2D
Returns the value of the sy record component.

T

T - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
TAB - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
terminate() - Method in class net.fokinatorr.sparkle.SparkleApp
Attempts to gracefully terminate execution of this app.
TERMINATED - Enum constant in enum class net.fokinatorr.sparkle.SparkleApp.State
The app instance is terminated.
TERMINATING - Enum constant in enum class net.fokinatorr.sparkle.SparkleApp.State
The app instance is being terminated.
TESS_CTRL - Enum constant in enum class net.fokinatorr.sparkle.graphics.impl.gl.shader.ShaderType
 
TESS_EVAL - Enum constant in enum class net.fokinatorr.sparkle.graphics.impl.gl.shader.ShaderType
 
texId() - Method in record class net.fokinatorr.sparkle.graphics.impl.gl.GLFramebuffer
Returns the value of the texId record component.
texturesByIndex() - Method in interface net.fokinatorr.sparkle.assets.Assets
Returns an immutable list of textures.
texturesIndexesByName() - Method in interface net.fokinatorr.sparkle.assets.Assets
Returns a function that maps texture names to texture indexes, and returns value less than 0 for absent names.
THIN - Enum constant in enum class net.fokinatorr.sparkle.graphics.font.FontWeight
 
think(String) - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
Creates a think cloud near this sprite with the given text that lasts until the next text bubble.
THINK - Enum constant in enum class net.fokinatorr.sparkle.stage.sprite.BubbleState.BubbleType
 
thinkFor(String, long) - Method in class net.fokinatorr.sparkle.stage.sprite.Sprite
Creates a think cloud near this sprite with the given text that lasts for the given count of milliseconds.
Thread Safety - Section in interface net.fokinatorr.sparkle.graphics.image.Image
 
ThreadType - Enum Class in net.fokinatorr.sparkle.util.concurrent
Different kinds of threads.
tick() - Method in interface net.fokinatorr.sparkle.audio.AudioManager
Advances the audio manager by one tick.
tick() - Method in class net.fokinatorr.sparkle.audio.impl.BaseSoundSource
Ticks this source.
tick() - Method in class net.fokinatorr.sparkle.audio.impl.OpenALAudioManager
Advances the audio manager by one tick.
tick() - Method in class net.fokinatorr.sparkle.audio.impl.StreamingSoundSource
Ticks this source.
tick() - Method in interface net.fokinatorr.sparkle.graphics.GraphicsManager
Advances the graphics manager by one tick.
tick() - Method in class net.fokinatorr.sparkle.graphics.impl.OpenGLGraphicsManager
 
TickEvent - Class in net.fokinatorr.sparkle.event.lifecycle
This event is fired every stage loop tick, up to Stage.getFPSLimit() times per second.
TickEvent() - Constructor for class net.fokinatorr.sparkle.event.lifecycle.TickEvent
 
timeElapsed() - Method in class net.fokinatorr.sparkle.util.stopwatch.InstantStopwatch
Returns how much time elapsed since the stopwatch started (in milliseconds).
timeElapsed() - Method in interface net.fokinatorr.sparkle.util.stopwatch.Stopwatch
Returns how much time elapsed since the stopwatch started (in milliseconds).
toBuilder(ThreadGroup) - Method in enum class net.fokinatorr.sparkle.util.concurrent.ThreadType
Creates a builder matching the characteristics of this thread type.
TOP_LEFT - Enum constant in enum class net.fokinatorr.sparkle.stage.ControlPanel.Corner
 
TOP_RIGHT - Enum constant in enum class net.fokinatorr.sparkle.stage.ControlPanel.Corner
 
toPublicAPIState() - Method in enum class net.fokinatorr.sparkle.audio.impl.BaseSoundSource.SourceState
Converts this OpenAL source state to a SoundInstance.State.
toString() - Method in record class net.fokinatorr.sparkle.assets.Assets.NamedAsset
Returns a string representation of this record class.
toString() - Method in record class net.fokinatorr.sparkle.audio.io.ParsedSound
Returns a string representation of this record class.
toString() - Method in record class net.fokinatorr.sparkle.event.BackdropChangeEvent.After
Returns a string representation of this event.
toString() - Method in class net.fokinatorr.sparkle.event.BackdropChangeEvent.Before
Returns a string representation of this event.
toString() - Method in record class net.fokinatorr.sparkle.event.input.KeyboardEvent.CharInputEvent
Returns a string representation of this record class.
toString() - Method in record class net.fokinatorr.sparkle.event.input.KeyboardEvent.KeyPressedEvent
Returns a string representation of this record class.
toString() - Method in record class net.fokinatorr.sparkle.event.input.KeyboardEvent.KeyReleasedEvent
Returns a string representation of this record class.
toString() - Method in record class net.fokinatorr.sparkle.event.input.KeyboardEvent.KeyRepeatedEvent
Returns a string representation of this record class.
toString() - Method in record class net.fokinatorr.sparkle.event.input.MouseEvent.MouseClickedEvent
Returns a string representation of this record class.
toString() - Method in record class net.fokinatorr.sparkle.event.input.MouseEvent.MouseCursorMovedEvent
Returns a string representation of this record class.
toString() - Method in record class net.fokinatorr.sparkle.event.input.MouseEvent.MousePressedEvent
Returns a string representation of this record class.
toString() - Method in record class net.fokinatorr.sparkle.event.input.MouseEvent.MouseReleasedEvent
Returns a string representation of this record class.
toString() - Method in record class net.fokinatorr.sparkle.event.input.MouseEvent.MouseScrolledEvent
Returns a string representation of this record class.
toString() - Method in record class net.fokinatorr.sparkle.event.MessageEvent
Returns a string representation of this record class.
toString() - Method in record class net.fokinatorr.sparkle.graphics.image.VectorImage.Vector
Returns a string representation of this record class.
toString() - Method in record class net.fokinatorr.sparkle.graphics.impl.gl.GLFramebuffer
Returns a string representation of this record class.
toString() - Method in record class net.fokinatorr.sparkle.graphics.impl.TransformOp.MulOp2D
Returns a string representation of this record class.
toString() - Method in record class net.fokinatorr.sparkle.graphics.impl.TransformOp.RotateOp2D
Returns a string representation of this record class.
toString() - Method in record class net.fokinatorr.sparkle.graphics.impl.TransformOp.ScaleOp2D
Returns a string representation of this record class.
toString() - Method in record class net.fokinatorr.sparkle.graphics.impl.TransformOp.TranslateOp2D
Returns a string representation of this record class.
toString() - Method in record class net.fokinatorr.sparkle.phys2d.impl.AndHitbox2D
Returns a string representation of this record class.
toString() - Method in record class net.fokinatorr.sparkle.phys2d.impl.NotHitbox2D
Returns a string representation of this record class.
toString() - Method in record class net.fokinatorr.sparkle.phys2d.impl.OrHitbox2D
Returns a string representation of this record class.
toString() - Method in record class net.fokinatorr.sparkle.phys2d.impl.ShapeHitbox2D
Returns a string representation of this record class.
toString() - Method in record class net.fokinatorr.sparkle.phys2d.impl.TransformedHitbox2D
Returns a string representation of this record class.
toString() - Method in record class net.fokinatorr.sparkle.phys2d.Point2D
Returns a string representation of this record class.
toString() - Method in record class net.fokinatorr.sparkle.stage.RenderableID.OtherID
Returns a string representation of this record class.
toString() - Method in record class net.fokinatorr.sparkle.stage.RenderableID.SpriteID
Returns a string representation of this record class.
toString() - Method in class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicDouble
 
toString() - Method in class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicFloat
 
toString() - Method in class net.fokinatorr.sparkle.util.stopwatch.AbstractStopwatch
Returns a string representation of this Stopwatch.
toString() - Method in enum class net.fokinatorr.sparkle.util.Version
 
toString() - Method in class net.fokinatorr.sparkle.variable.ByteVariable
Returns a string representation of the current value.
toString() - Method in class net.fokinatorr.sparkle.variable.CharVariable
Returns a string representation of the current value.
toString() - Method in class net.fokinatorr.sparkle.variable.DoubleVariable
Returns a string representation of the current value.
toString() - Method in class net.fokinatorr.sparkle.variable.FloatVariable
Returns a string representation of the current value.
toString() - Method in class net.fokinatorr.sparkle.variable.IntVariable
Returns a string representation of the current value.
toString() - Method in class net.fokinatorr.sparkle.variable.LongVariable
Returns a string representation of the current value.
toString() - Method in class net.fokinatorr.sparkle.variable.ObjectVariable
Returns a string representation of the current value.
toString() - Method in class net.fokinatorr.sparkle.variable.ShortVariable
Returns a string representation of the current value.
toString(int) - Method in class net.fokinatorr.sparkle.graphics.ARGB
Returns a hexadecimal color notation string representation of the given color.
transform() - Method in record class net.fokinatorr.sparkle.phys2d.impl.TransformedHitbox2D
Returns the value of the transform record component.
transform(AffineTransform) - Method in interface net.fokinatorr.sparkle.phys2d.Hitbox2D
Transforms this hitbox using the given AffineTransform instance.
transform(AffineTransform) - Method in record class net.fokinatorr.sparkle.phys2d.impl.TransformedHitbox2D
 
TransformedHitbox2D - Record Class in net.fokinatorr.sparkle.phys2d.impl
A 2D hitbox transformed with an AffineTransform instance.
TransformedHitbox2D(Hitbox2D, AffineTransform) - Constructor for record class net.fokinatorr.sparkle.phys2d.impl.TransformedHitbox2D
Creates an instance of a TransformedHitbox2D record class.
TransformOp - Interface in net.fokinatorr.sparkle.graphics.impl
A transform operation to apply to a matrix.
TransformOp.MulOp2D - Record Class in net.fokinatorr.sparkle.graphics.impl
Multiply by the specified transform matrix.
TransformOp.RotateOp2D - Record Class in net.fokinatorr.sparkle.graphics.impl
Rotate by the specified degrees.
TransformOp.ScaleOp2D - Record Class in net.fokinatorr.sparkle.graphics.impl
Scale by the specified delta.
TransformOp.TranslateOp2D - Record Class in net.fokinatorr.sparkle.graphics.impl
Translate by the specified delta.
translate(double, double) - Method in class net.fokinatorr.sparkle.graphics.impl.gl.GLRenderCanvas
 
translate(double, double) - Method in class net.fokinatorr.sparkle.graphics.impl.GraphicsState
Translates the transform by the given deltas.
translate(double, double) - Method in interface net.fokinatorr.sparkle.graphics.render.RenderCanvas
Translates the coordinate system by the specified amounts (subsequent drawing operations will be offset by (dx, dy)).
translate(double, double) - Method in record class net.fokinatorr.sparkle.phys2d.Point2D
Returns a new 2D point moved by dx units along the X axis and dy units along the Y axis.
translate(Point2D) - Method in interface net.fokinatorr.sparkle.graphics.render.RenderCanvas
Translates the coordinate system by the specified delta vector.
translate(Point2D) - Method in record class net.fokinatorr.sparkle.phys2d.Point2D
Returns a new 2D point with both coordinates translated by the given point's coordinates respectively.
TranslateOp2D(float, float) - Constructor for record class net.fokinatorr.sparkle.graphics.impl.TransformOp.TranslateOp2D
Creates an instance of a TranslateOp2D record class.
TRANSLUCENT - Enum constant in enum class net.fokinatorr.sparkle.graphics.render.surface.RenderingSurface.Feature
 
transparent(int) - Method in class net.fokinatorr.sparkle.graphics.ARGB
Turns the given color into its fully transparent version.
transparentColor(byte, byte, byte) - Method in class net.fokinatorr.sparkle.graphics.ARGB
Creates a new, fully transparent color with the given values.
triangulate(Shape) - Method in class net.fokinatorr.sparkle.graphics.impl.gl.element.GLVertexArrayCache
Returns vertex arrays for each subpath of the given Shape for filling operations.
tx() - Method in record class net.fokinatorr.sparkle.graphics.impl.TransformOp.TranslateOp2D
Returns the value of the tx record component.
ty() - Method in record class net.fokinatorr.sparkle.graphics.impl.TransformOp.TranslateOp2D
Returns the value of the ty record component.
TypeReference<T> - Class in net.fokinatorr.sparkle.util
A class used for reifying generic types.
TypeReference() - Constructor for class net.fokinatorr.sparkle.util.TypeReference
Creates a new TypeReference.

U

U - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
unbind() - Static method in class net.fokinatorr.sparkle.graphics.impl.gl.element.GLTransformedVertexArray
Unbinds the currently bound vertex array.
unbind() - Static method in class net.fokinatorr.sparkle.graphics.impl.gl.element.GLVertexArray
Unbinds the currently bound vertex array.
underline() - Method in class net.fokinatorr.sparkle.graphics.font.Font.FontBuilder
Makes the font builder underlined.
unload() - Method in interface net.fokinatorr.sparkle.graphics.image.Image
Unloads internal data associated with this image.
unload() - Method in class net.fokinatorr.sparkle.graphics.image.impl.AWTRasterImage
 
unload() - Method in class net.fokinatorr.sparkle.graphics.image.impl.SVGImage
 
unregisterRenderable(String) - Method in class net.fokinatorr.sparkle.stage.Stage
Unregisters the renderable object with the given ID, i.e.
unregisterSprite(String) - Method in class net.fokinatorr.sparkle.stage.Stage
Unregisters the sprite with the given ID, i.e.
unuse(boolean) - Method in class net.fokinatorr.sparkle.graphics.impl.gl.shader.GLShaderProgram
Stops using this program in current context.
UP - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
UP_DOWN - Enum constant in enum class net.fokinatorr.sparkle.phys.RotationMode
Apply no rotation and mirror vertically if cosine of direction is negative.
updateAndGet(int, DoubleUnaryOperator) - Method in class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicDoubleArray
Atomically updates (with memory effects as specified by VarHandle.compareAndSet(Object...)) the element at index i with the results of applying the given function, returning the updated value.
updateAndGet(FloatUnaryOperator) - Method in class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicFloat
Atomically updates (with memory effects as specified by VarHandle.compareAndSet(Object...)) the current value with the results of applying the given function, returning the updated value.
updateAndGet(DoubleUnaryOperator) - Method in class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicDouble
Atomically updates (with memory effects as specified by VarHandle.compareAndSet(Object...)) the current value with the results of applying the given function, returning the updated value.
use() - Method in class net.fokinatorr.sparkle.graphics.impl.gl.shader.GLShaderProgram
Starts using this program in current context.

V

V - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
V0_1_BETA - Enum constant in enum class net.fokinatorr.sparkle.util.Version
 
Valid Method Signature - Section in annotation interface net.fokinatorr.sparkle.event.annotation.EventListener
 
valueOf(int) - Static method in enum class net.fokinatorr.sparkle.audio.impl.BaseSoundSource.SourceState
Returns a source state corresponding to the given OpenAL source state.
valueOf(int) - Static method in enum class net.fokinatorr.sparkle.audio.impl.SoundBuffer.DataFormat
Returns a DataFormat with the given OpenAL format.
valueOf(int) - Static method in enum class net.fokinatorr.sparkle.graphics.font.FontWeight
Returns a font weight with the given scalar value.
valueOf(int, int) - Static method in enum class net.fokinatorr.sparkle.audio.io.ParsedSound.DataFormat
Attempts to find an appropriate instance for given parameters.
valueOf(String) - Static method in enum class net.fokinatorr.sparkle.audio.impl.BaseSoundSource.SourceState
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.fokinatorr.sparkle.audio.impl.io.VorbisSoundDecoder
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.fokinatorr.sparkle.audio.impl.SoundBuffer.DataFormat
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.fokinatorr.sparkle.audio.io.ParsedSound.DataFormat
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.fokinatorr.sparkle.audio.SoundInstance.State
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.fokinatorr.sparkle.effect.graphics.GraphicEffect
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.fokinatorr.sparkle.effect.sounds.SoundEffect
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.fokinatorr.sparkle.event.input.Key
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.fokinatorr.sparkle.event.input.MouseButton
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.fokinatorr.sparkle.graphics.BlendMode.BlendType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.fokinatorr.sparkle.graphics.BlendMode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.fokinatorr.sparkle.graphics.font.FontPosture
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.fokinatorr.sparkle.graphics.font.FontWeight
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.fokinatorr.sparkle.graphics.impl.gl.shader.ShaderType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.fokinatorr.sparkle.graphics.render.surface.RenderingSurface.Feature
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.fokinatorr.sparkle.phys.RotationMode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.fokinatorr.sparkle.phys2d.impl.AlwaysHitbox2D
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.fokinatorr.sparkle.phys2d.impl.NeverHitbox2D
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.fokinatorr.sparkle.SparkleApp.State
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.fokinatorr.sparkle.stage.ControlPanel.Button
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.fokinatorr.sparkle.stage.ControlPanel.Corner
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.fokinatorr.sparkle.stage.sprite.BubbleState.BubbleType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.fokinatorr.sparkle.stage.Stage.State
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.fokinatorr.sparkle.util.concurrent.ThreadType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.fokinatorr.sparkle.util.stopwatch.Stopwatch.State
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.fokinatorr.sparkle.util.Version
Returns the enum constant of this class with the specified name.
values - Variable in class net.fokinatorr.sparkle.effect.EffectMap
The values array.
values() - Static method in enum class net.fokinatorr.sparkle.audio.impl.BaseSoundSource.SourceState
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.fokinatorr.sparkle.audio.impl.io.VorbisSoundDecoder
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.fokinatorr.sparkle.audio.impl.SoundBuffer.DataFormat
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.fokinatorr.sparkle.audio.io.ParsedSound.DataFormat
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.fokinatorr.sparkle.audio.SoundInstance.State
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Method in class net.fokinatorr.sparkle.effect.EffectMap
 
values() - Static method in enum class net.fokinatorr.sparkle.effect.graphics.GraphicEffect
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.fokinatorr.sparkle.effect.sounds.SoundEffect
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.fokinatorr.sparkle.event.input.Key
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.fokinatorr.sparkle.event.input.MouseButton
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.fokinatorr.sparkle.graphics.BlendMode.BlendType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.fokinatorr.sparkle.graphics.BlendMode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.fokinatorr.sparkle.graphics.font.FontPosture
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.fokinatorr.sparkle.graphics.font.FontWeight
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.fokinatorr.sparkle.graphics.impl.gl.shader.ShaderType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.fokinatorr.sparkle.graphics.render.surface.RenderingSurface.Feature
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.fokinatorr.sparkle.phys.RotationMode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.fokinatorr.sparkle.phys2d.impl.AlwaysHitbox2D
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.fokinatorr.sparkle.phys2d.impl.NeverHitbox2D
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.fokinatorr.sparkle.SparkleApp.State
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.fokinatorr.sparkle.stage.ControlPanel.Button
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.fokinatorr.sparkle.stage.ControlPanel.Corner
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.fokinatorr.sparkle.stage.sprite.BubbleState.BubbleType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.fokinatorr.sparkle.stage.Stage.State
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.fokinatorr.sparkle.util.concurrent.ThreadType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.fokinatorr.sparkle.util.stopwatch.Stopwatch.State
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.fokinatorr.sparkle.util.Version
Returns an array containing the constants of this enum class, in the order they are declared.
Variable<T> - Interface in net.fokinatorr.sparkle.variable
Base interface for all variables stored within a sprite or a stage.
variables - Variable in class net.fokinatorr.sparkle.variable.AbstractVariableStorage
 
VariableStorage<ID> - Interface in net.fokinatorr.sparkle.variable
An object that stores variables mapped to IDs.
variablesView - Variable in class net.fokinatorr.sparkle.variable.AbstractVariableStorage
 
vector() - Method in record class net.fokinatorr.sparkle.graphics.image.VectorImage.Vector
Returns the value of the vector record component.
Vector(Shape, int, int, double) - Constructor for record class net.fokinatorr.sparkle.graphics.image.VectorImage.Vector
Creates an instance of a Vector record class.
VectorImage - Interface in net.fokinatorr.sparkle.graphics.image
A vector image is an image defined with vector shapes (shapes with a path), which means it has a variable resolution and can return different pixel data depending on scaling factors.
VectorImage.Vector - Record Class in net.fokinatorr.sparkle.graphics.image
A vector of a vector image.
Version - Enum Class in net.fokinatorr.sparkle.util
Framework version info.
VERTEX - Enum constant in enum class net.fokinatorr.sparkle.graphics.impl.gl.shader.ShaderType
 
VIRTUAL - Enum constant in enum class net.fokinatorr.sparkle.util.concurrent.ThreadType
Virtual thread.
volume() - Method in interface net.fokinatorr.sparkle.audio.SoundInstance
Returns the volume of this sound.
volume(double) - Method in interface net.fokinatorr.sparkle.audio.SoundInstance
Sets the volume for this sound.
VOLUME - Enum constant in enum class net.fokinatorr.sparkle.effect.sounds.SoundEffect
The volume sound effect.
VorbisSoundDecoder - Enum Class in net.fokinatorr.sparkle.audio.impl.io
A sound decoder that reads and parses Ogg Vorbis sounds into ParsedSounds.

W

W - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
waitFor(long) - Method in class net.fokinatorr.sparkle.util.WaitUtils
Waits for the given count of milliseconds and returns.
waitForOrUntil(BooleanSupplier, long) - Method in class net.fokinatorr.sparkle.util.WaitUtils
Waits until the given condition supplier evaluates to true or until the given timeout is reached, then returns.
waitUntil(BooleanSupplier) - Method in class net.fokinatorr.sparkle.util.WaitUtils
Waits until the given condition supplier evaluates to true.
WaitUtils - Class in net.fokinatorr.sparkle.util
This class has methods for accurate waiting.
WaitUtils() - Constructor for class net.fokinatorr.sparkle.util.WaitUtils
 
wasStarted() - Method in interface net.fokinatorr.sparkle.util.stopwatch.Stopwatch
Determines whether this stopwatch was started.
weakCompareAndSetPlain(double, double) - Method in class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicDouble
Possibly atomically sets the value to newValue if the current value == expectedValue, with memory effects as specified by VarHandle.weakCompareAndSetPlain(Object...).
weakCompareAndSetPlain(float, float) - Method in class net.fokinatorr.sparkle.util.concurrent.atomic.AtomicFloat
Possibly atomically sets the value to newValue if the current value == expectedValue, with memory effects as specified by VarHandle.weakCompareAndSetPlain(Object...).
when(Class, Consumer) - Method in class net.fokinatorr.sparkle.util.Global
Adds a listener to the global event dispatcher (the event dispatcher registered in the global context).
WHIRL - Enum constant in enum class net.fokinatorr.sparkle.effect.graphics.GraphicEffect
The whirl graphic effect.
width() - Method in record class net.fokinatorr.sparkle.graphics.impl.gl.GLFramebuffer
Returns the value of the width record component.
width() - Method in interface net.fokinatorr.sparkle.graphics.render.framebuffer.Framebuffer
Returns the width of underlying framebuffer.
width() - Method in class net.fokinatorr.sparkle.graphics.render.framebuffer.OffscreenFramebuffer
 
WindowSurface - Interface in net.fokinatorr.sparkle.graphics.render.surface
A window rendering surface.
withDefaults() - Static method in class net.fokinatorr.sparkle.graphics.render.renderer.RendererRegistry
Creates a renderer registry with default renderers pre-registered.
WORLD_1 - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
This key does not have a US mapping, and has different meanings on different layouts.
WORLD_2 - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
This key does not have a US mapping, and has different meanings on different layouts.
wrapClamp(double, double, double) - Method in class net.fokinatorr.sparkle.util.Mth
Returns value wrap-around clamped between min and max (the result is clamped to the range [min, max)).
wrapClamp(int, int, int) - Method in class net.fokinatorr.sparkle.util.Mth
Returns value wrap-around clamped between min and max (the result is clamped to the range [min, max)).
writePixels(int[], int, int, int, int, int, int) - Method in class net.fokinatorr.sparkle.graphics.impl.IntBufferPixelAccessor
 
writePixels(int[], int, int, int, int, int, int) - Method in interface net.fokinatorr.sparkle.graphics.PixelWriter
Copies pixel data from an array.

X

x() - Method in record class net.fokinatorr.sparkle.event.input.MouseEvent.MouseClickedEvent
Returns the value of the x record component.
x() - Method in record class net.fokinatorr.sparkle.event.input.MouseEvent.MouseCursorMovedEvent
Returns the X coordinate on the stage where this event was performed.
x() - Method in record class net.fokinatorr.sparkle.event.input.MouseEvent.MousePressedEvent
Returns the value of the x record component.
x() - Method in record class net.fokinatorr.sparkle.event.input.MouseEvent.MouseReleasedEvent
Returns the value of the x record component.
x() - Method in record class net.fokinatorr.sparkle.event.input.MouseEvent.MouseScrolledEvent
Returns the value of the x record component.
x() - Method in interface net.fokinatorr.sparkle.event.input.MouseEvent
Returns the X coordinate on the stage where this event was performed.
x() - Method in record class net.fokinatorr.sparkle.phys2d.Point2D
Returns the value of the x record component.
x(double) - Method in record class net.fokinatorr.sparkle.phys2d.Point2D
Returns a new 2D point with the specified X coordinate and this one's Y coordinate.
X - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 

Y

y() - Method in record class net.fokinatorr.sparkle.event.input.MouseEvent.MouseClickedEvent
Returns the value of the y record component.
y() - Method in record class net.fokinatorr.sparkle.event.input.MouseEvent.MouseCursorMovedEvent
Returns the Y coordinate on the stage where this event was performed.
y() - Method in record class net.fokinatorr.sparkle.event.input.MouseEvent.MousePressedEvent
Returns the value of the y record component.
y() - Method in record class net.fokinatorr.sparkle.event.input.MouseEvent.MouseReleasedEvent
Returns the value of the y record component.
y() - Method in record class net.fokinatorr.sparkle.event.input.MouseEvent.MouseScrolledEvent
Returns the value of the y record component.
y() - Method in interface net.fokinatorr.sparkle.event.input.MouseEvent
Returns the Y coordinate on the stage where this event was performed.
y() - Method in record class net.fokinatorr.sparkle.phys2d.Point2D
Returns the value of the y record component.
y(double) - Method in record class net.fokinatorr.sparkle.phys2d.Point2D
Returns a new 2D point with this one's X coordinate and the specified Y coordinate.
Y - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 

Z

Z - Enum constant in enum class net.fokinatorr.sparkle.event.input.Key
 
ZERO - Static variable in record class net.fokinatorr.sparkle.phys2d.Point2D
A 2D point with both coordinates set to 0.
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form