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

$

$(double, double) - Static method in class io.github.srcimon.screwbox.core.Vector
Creates a new Instance of Vector at the given coordinates.
$$(double, double, double, double) - Static method in class io.github.srcimon.screwbox.core.Bounds
Creates a new Bounds at the given Bounds.origin().

A

A - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
active() - Method in class io.github.srcimon.screwbox.core.utils.Latch
Returns the currently active one value.
active() - Method in class io.github.srcimon.screwbox.core.utils.TrippleLatch
 
activeCondition(Predicate<Engine>) - Method in class io.github.srcimon.screwbox.core.ui.UiMenuItem
 
activeCount() - Method in interface io.github.srcimon.screwbox.core.audio.Audio
Returns the count of currently playing Sounds.
activeCount(Sound) - Method in interface io.github.srcimon.screwbox.core.audio.Audio
Returns the count of currently playing instances of the given Sound.
activeItemIndex() - Method in class io.github.srcimon.screwbox.core.ui.UiMenu
 
activeScene() - Method in interface io.github.srcimon.screwbox.core.scenes.Scenes
 
add(double) - Method in class io.github.srcimon.screwbox.core.Percent
Returns a new instance with the sum of both values.
add(double, double) - Method in class io.github.srcimon.screwbox.core.Vector
Returns a new Vector representing the sum of the current Vector and the given x- and y-components.
add(int, int) - Method in class io.github.srcimon.screwbox.core.graphics.Offset
 
add(Duration) - Method in class io.github.srcimon.screwbox.core.Duration
Adds another Duration to this Duration.
add(Component) - Method in class io.github.srcimon.screwbox.core.environment.Entity
 
add(Component...) - Method in class io.github.srcimon.screwbox.core.environment.Entity
 
add(Offset) - Method in class io.github.srcimon.screwbox.core.graphics.Offset
 
add(Scene...) - Method in interface io.github.srcimon.screwbox.core.scenes.Scenes
 
add(Vector) - Method in class io.github.srcimon.screwbox.core.Vector
Returns a new Vector representing the sum of the current and the other Vector.
addAll(List<T>, List<T>) - Static method in class io.github.srcimon.screwbox.core.utils.ListUtil
Adds Elements to a list much faster as ArrayList.addAll(Collection).
addCharacter(char, Sprite) - Method in class io.github.srcimon.screwbox.core.graphics.Pixelfont
Adds a new character and the corresponding Sprite to the Pixelfont.
addCharacters(List<Character>, List<Sprite>) - Method in class io.github.srcimon.screwbox.core.graphics.Pixelfont
Adds new characters with corresponding Sprites to the Pixelfont.
addConeLight(Vector, Rotation, Rotation, LightOptions) - Method in interface io.github.srcimon.screwbox.core.graphics.Light
Adds a directed light to the World.
addEntities(Entity...) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
 
addEntities(List<Entity>) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
 
addEntity(int, Component...) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
 
addEntity(int, String, Component...) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
 
addEntity(Component...) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
 
addEntity(Entity) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
 
addEntity(String, Component...) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
 
addEntry(Sprite, Vector, double, Percent, Rotation, Flip, int) - Method in class io.github.srcimon.screwbox.core.graphics.SpriteBatch
 
addFullBrightnessArea(Bounds) - Method in interface io.github.srcimon.screwbox.core.graphics.Light
Adds an area to the World that is fully illuminated.
addItem(String) - Method in class io.github.srcimon.screwbox.core.ui.UiMenu
 
addItem(Function<Engine, String>) - Method in class io.github.srcimon.screwbox.core.ui.UiMenu
 
addListener(GraphicsConfigurationListener) - Method in class io.github.srcimon.screwbox.core.graphics.GraphicsConfiguration
 
addOrReplace(Scene) - Method in interface io.github.srcimon.screwbox.core.scenes.Scenes
 
addOrReplaceSystem(EntitySystem) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
 
addPointLight(Vector, LightOptions) - Method in interface io.github.srcimon.screwbox.core.graphics.Light
Adds a pointlight to the World.
addShadowCaster(Bounds) - Method in interface io.github.srcimon.screwbox.core.graphics.Light
Adds object that cast shadows.
addShadowCasters(List<Bounds>) - Method in interface io.github.srcimon.screwbox.core.graphics.Light
Adds objects that cast shadows.
addSpotLight(Vector, LightOptions) - Method in interface io.github.srcimon.screwbox.core.graphics.Light
Adds a spotlight to the World.
addSystem(EntitySystem) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
Adds an EntitySystem to the Environment with default SystemOrder.SIMULATION.
addSystem(SystemOrder, EntitySystem) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
Adds an EntitySystem to the Environment with the given SystemOrder (overwrites annotated SystemOrder if present.
addSystems(EntitySystem...) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
 
addX(double) - Method in class io.github.srcimon.screwbox.core.Vector
Returns a new Vector representing the sum of the current Vector and the given x-component.
addX(int) - Method in class io.github.srcimon.screwbox.core.graphics.Offset
 
addY(double) - Method in class io.github.srcimon.screwbox.core.Vector
Returns a new Vector representing the sum of the current Vector and the given y-component.
addY(int) - Method in class io.github.srcimon.screwbox.core.graphics.Offset
 
ALL - Enum constant in enum class io.github.srcimon.screwbox.core.physics.Borders
 
allFrames() - Method in class io.github.srcimon.screwbox.core.graphics.Sprite
Returns all Frames contained in this Sprite.
allIntersecting(List<Bounds>) - Method in class io.github.srcimon.screwbox.core.Bounds
Returns only the Bounds that intersect this Bounds.
ambientLight() - Method in interface io.github.srcimon.screwbox.core.graphics.Light
Returns the brightness that illuminates the World even without a lightsource.
animatedFromFile(String, Size, Duration) - Static method in class io.github.srcimon.screwbox.core.graphics.Sprite
 
ANTIALIASING - Enum constant in enum class io.github.srcimon.screwbox.core.graphics.GraphicsConfigurationEvent.ConfigurationProperty
 
applyOn(Line) - Method in class io.github.srcimon.screwbox.core.Rotation
Rotates the given Line by the given Rotation around Line.from().
applyOn(Percent) - Method in enum class io.github.srcimon.screwbox.core.environment.tweening.TweenMode
 
Archetype - Class in io.github.srcimon.screwbox.core.environment
Describes a specific type of Entity by its Components.
area() - Method in class io.github.srcimon.screwbox.core.Grid
Returns the area of this Grid in the World.
AreaTriggerSystem - Class in io.github.srcimon.screwbox.core.environment.logic
 
AreaTriggerSystem() - Constructor for class io.github.srcimon.screwbox.core.environment.logic.AreaTriggerSystem
 
areEffectsMuted() - Method in interface io.github.srcimon.screwbox.core.audio.Audio
Returns true if effects are muted.
ARROW_DOWN - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
ARROW_LEFT - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
ARROW_RIGHT - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
ARROW_UP - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
arrowKeysMovement(double) - Method in interface io.github.srcimon.screwbox.core.keyboard.Keyboard
Returns the resulting Vector of a arrow-keys-movement scheme with the given length.
as(SourceImport.Converter<T>) - Method in class io.github.srcimon.screwbox.core.environment.SourceImport
 
as(SourceImport.Converter<T>) - Method in class io.github.srcimon.screwbox.core.environment.SourceImport.ConditionalSourceImport
 
as(SourceImport.Converter<T>) - Method in class io.github.srcimon.screwbox.core.environment.SourceImport.MatchingSourceImportWithKey
 
AspectRatio - Enum Class in io.github.srcimon.screwbox.core.graphics
 
asset(Supplier<T>) - Static method in class io.github.srcimon.screwbox.core.assets.Asset
Creates a new Asset.
Asset<T> - Class in io.github.srcimon.screwbox.core.assets
Asset is used to wrap your i/o intense game resources like graphics and sounds when loaded for the first time.
assetFromFile(String) - Static method in class io.github.srcimon.screwbox.core.audio.Sound
Creates a new Asset for a Sound.
assetFromFile(String) - Static method in class io.github.srcimon.screwbox.core.graphics.Sprite
Creates an Asset for a Sprite with a single Frame from the given image file in the class path.
AssetLocation - Class in io.github.srcimon.screwbox.core.assets
Marks Asset positions in your game classes.
assets() - Method in interface io.github.srcimon.screwbox.core.Engine
Loads your game Assets.
Assets - Interface in io.github.srcimon.screwbox.core.assets
Preload Assets in your game Classes.
assignActive(T) - Method in class io.github.srcimon.screwbox.core.utils.Latch
Overwrites the currently active value.
AStarAlgorithm - Class in io.github.srcimon.screwbox.core.physics
An implementation of the A* algorithm.
AStarAlgorithm() - Constructor for class io.github.srcimon.screwbox.core.physics.AStarAlgorithm
 
async() - Method in interface io.github.srcimon.screwbox.core.Engine
Execute long running tasks within the Engine.
Async - Interface in io.github.srcimon.screwbox.core.async
Execute long running tasks within the Engine.
at(double, double) - Static method in class io.github.srcimon.screwbox.core.graphics.Offset
Creates a new Offset on the given coordinates.
at(int, int) - Static method in class io.github.srcimon.screwbox.core.graphics.Offset
Creates a new Offset on the given coordinates.
atNanos(long) - Static method in class io.github.srcimon.screwbox.core.Time
Returns the a new instance for a specific Time whithin the JVM.
atOrigin(double, double, double, double) - Static method in class io.github.srcimon.screwbox.core.Bounds
Creates a new Bounds at the given Bounds.origin().
atOrigin(Vector, double, double) - Static method in class io.github.srcimon.screwbox.core.Bounds
Creates a new Bounds at the given Bounds.origin().
atPosition(double, double, double, double) - Static method in class io.github.srcimon.screwbox.core.Bounds
Creates a new Bounds at the given Bounds.position().
atPosition(Vector, double, double) - Static method in class io.github.srcimon.screwbox.core.Bounds
Creates a new Bounds at the given Bounds.position().
audio() - Method in interface io.github.srcimon.screwbox.core.Engine
Controls the audio playback of the Engine.
Audio - Interface in io.github.srcimon.screwbox.core.audio
Controls the audio playback of the Engine.
AutomovementComponent - Class in io.github.srcimon.screwbox.core.environment.physics
 
AutomovementComponent(double) - Constructor for class io.github.srcimon.screwbox.core.environment.physics.AutomovementComponent
 
AutomovementDebugSystem - Class in io.github.srcimon.screwbox.core.environment.debug
 
AutomovementDebugSystem() - Constructor for class io.github.srcimon.screwbox.core.environment.debug.AutomovementDebugSystem
 
AutomovementSystem - Class in io.github.srcimon.screwbox.core.environment.physics
 
AutomovementSystem() - Constructor for class io.github.srcimon.screwbox.core.environment.physics.AutomovementSystem
 
availableFonts() - Method in interface io.github.srcimon.screwbox.core.graphics.Graphics
Returns a list of all font names that can were found on the current system.

B

b() - Method in class io.github.srcimon.screwbox.core.graphics.Color
Returns blue value of the Color.
B - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
BACKSPACE - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
backtrack(Grid.Node) - Method in class io.github.srcimon.screwbox.core.Grid
 
backupInactive() - Method in class io.github.srcimon.screwbox.core.utils.TrippleLatch
 
between(Time, Time) - Static method in class io.github.srcimon.screwbox.core.Duration
Creates a new instance with the duration between two given Time values.
between(Vector, Vector) - Static method in class io.github.srcimon.screwbox.core.Line
Creates a new instance of Line defined by the two endpoints.
BLACK - Static variable in class io.github.srcimon.screwbox.core.graphics.Color
The color black.
block(int, int) - Method in class io.github.srcimon.screwbox.core.Grid
 
block(Grid.Node) - Method in class io.github.srcimon.screwbox.core.Grid
 
blockArea(Bounds) - Method in class io.github.srcimon.screwbox.core.Grid
 
blockAt(Vector) - Method in class io.github.srcimon.screwbox.core.Grid
 
blockedCount() - Method in class io.github.srcimon.screwbox.core.Grid
 
blockedNeighbors(Grid.Node) - Method in class io.github.srcimon.screwbox.core.Grid
 
BlockPathComponent - Class in io.github.srcimon.screwbox.core.environment.physics
 
BlockPathComponent() - Constructor for class io.github.srcimon.screwbox.core.environment.physics.BlockPathComponent
 
BLUE - Static variable in class io.github.srcimon.screwbox.core.graphics.Color
The color blue.
BOLD - Enum constant in enum class io.github.srcimon.screwbox.core.graphics.Font.Style
 
Borders - Enum Class in io.github.srcimon.screwbox.core.physics
 
BOTH - Enum constant in enum class io.github.srcimon.screwbox.core.graphics.Flip
flipped horizontally and vertically
bottomLeft() - Method in class io.github.srcimon.screwbox.core.Bounds
 
bottomRight() - Method in class io.github.srcimon.screwbox.core.Bounds
 
bounce - Variable in class io.github.srcimon.screwbox.core.environment.physics.ColliderComponent
 
bounds - Variable in class io.github.srcimon.screwbox.core.environment.core.TransformComponent
 
Bounds - Class in io.github.srcimon.screwbox.core
Bounds represents a space in the 2d world.

C

C - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
Cache<K,V> - Class in io.github.srcimon.screwbox.core.utils
 
Cache() - Constructor for class io.github.srcimon.screwbox.core.utils.Cache
 
calculateBounds(UiMenuItem, UiMenu, Screen) - Method in class io.github.srcimon.screwbox.core.ui.ScrollingUiLayouter
 
calculateBounds(UiMenuItem, UiMenu, Screen) - Method in class io.github.srcimon.screwbox.core.ui.SimpleUiLayouter
 
calculateBounds(UiMenuItem, UiMenu, Screen) - Method in interface io.github.srcimon.screwbox.core.ui.UiLayouter
 
calculateBounds(UiMenuItem, UiMenu, Screen) - Method in class io.github.srcimon.screwbox.core.ui.WobblyUiLayouter
 
CameraComponent - Class in io.github.srcimon.screwbox.core.environment.camera
 
CameraComponent(double) - Constructor for class io.github.srcimon.screwbox.core.environment.camera.CameraComponent
 
CameraMovementComponent - Class in io.github.srcimon.screwbox.core.environment.camera
 
CameraMovementComponent(double, int) - Constructor for class io.github.srcimon.screwbox.core.environment.camera.CameraMovementComponent
 
cameraPosition() - Method in interface io.github.srcimon.screwbox.core.graphics.Graphics
 
CameraUpdateSystem - Class in io.github.srcimon.screwbox.core.environment.camera
 
CameraUpdateSystem() - Constructor for class io.github.srcimon.screwbox.core.environment.camera.CameraUpdateSystem
 
cameraZoom() - Method in interface io.github.srcimon.screwbox.core.graphics.Graphics
Returns the currently used camera zoom.
castingHorizontal(double) - Method in class io.github.srcimon.screwbox.core.physics.RaycastBuilder
 
castingTo(double, double) - Method in class io.github.srcimon.screwbox.core.physics.RaycastBuilder
 
castingTo(Vector) - Method in class io.github.srcimon.screwbox.core.physics.RaycastBuilder
 
castingVertical(double) - Method in class io.github.srcimon.screwbox.core.physics.RaycastBuilder
 
center - Variable in class io.github.srcimon.screwbox.core.environment.tweening.TweenOrbitPositionComponent
 
center() - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
 
center() - Method in record class io.github.srcimon.screwbox.core.graphics.ScreenBounds
 
center() - Method in class io.github.srcimon.screwbox.core.graphics.Size
 
changedProperty() - Method in class io.github.srcimon.screwbox.core.graphics.GraphicsConfigurationEvent
Returns the property of the GraphicsConfiguration that has been changed.
characterCount() - Method in class io.github.srcimon.screwbox.core.graphics.Pixelfont
Returns the current count of different characters in the Pixelfont.
checkingBorders(Borders) - Method in class io.github.srcimon.screwbox.core.physics.RaycastBuilder
 
checkingFor(Archetype) - Method in class io.github.srcimon.screwbox.core.physics.RaycastBuilder
 
checkingFor(Archetype) - Method in class io.github.srcimon.screwbox.core.physics.SelectEntityBuilder
 
CircleTransition - Class in io.github.srcimon.screwbox.core.graphics.transitions
 
CircleTransition() - Constructor for class io.github.srcimon.screwbox.core.graphics.transitions.CircleTransition
 
clamp(double, double, double) - Static method in class io.github.srcimon.screwbox.core.utils.MathUtil
Returns value but never a value below min and never a value exceeding max.
classPathElements() - Static method in class io.github.srcimon.screwbox.core.utils.Resources
Returns all element names in the classpath.
clear() - Method in class io.github.srcimon.screwbox.core.utils.Cache
 
clear(K) - Method in class io.github.srcimon.screwbox.core.utils.Cache
 
clearedInstance() - Method in class io.github.srcimon.screwbox.core.Grid
Returns a new instance without any blocked Grid.Nodes.
clearEntities() - Method in interface io.github.srcimon.screwbox.core.environment.Environment
Drops all current Entitys.
close() - Method in interface io.github.srcimon.screwbox.core.window.Window
 
closeMenu() - Method in interface io.github.srcimon.screwbox.core.ui.Ui
Closes the current open UiMenu.
code() - Method in enum class io.github.srcimon.screwbox.core.keyboard.Key
The corresponding key code of the key.
collidedEntities - Variable in class io.github.srcimon.screwbox.core.environment.physics.CollisionDetectionComponent
 
ColliderComponent - Class in io.github.srcimon.screwbox.core.environment.physics
 
ColliderComponent() - Constructor for class io.github.srcimon.screwbox.core.environment.physics.ColliderComponent
 
ColliderComponent(double) - Constructor for class io.github.srcimon.screwbox.core.environment.physics.ColliderComponent
 
ColliderComponent(double, Percent) - Constructor for class io.github.srcimon.screwbox.core.environment.physics.ColliderComponent
 
ColliderComponent(double, Percent, boolean) - Constructor for class io.github.srcimon.screwbox.core.environment.physics.ColliderComponent
 
CollisionDetectionComponent - Class in io.github.srcimon.screwbox.core.environment.physics
 
CollisionDetectionComponent() - Constructor for class io.github.srcimon.screwbox.core.environment.physics.CollisionDetectionComponent
 
CollisionDetectionSystem - Class in io.github.srcimon.screwbox.core.environment.physics
 
CollisionDetectionSystem() - Constructor for class io.github.srcimon.screwbox.core.environment.physics.CollisionDetectionSystem
 
color() - Method in record class io.github.srcimon.screwbox.core.graphics.LightOptions
Returns the value of the color record component.
color(Color) - Method in record class io.github.srcimon.screwbox.core.graphics.LightOptions
 
Color - Class in io.github.srcimon.screwbox.core.graphics
Used to store color information used in Graphics.
colorAt(int, int) - Method in class io.github.srcimon.screwbox.core.graphics.Frame
Returns the Color of the pixel at the given position.
colorAt(Offset) - Method in class io.github.srcimon.screwbox.core.graphics.Frame
Returns the Color of the pixel at the given position.
COMMA - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
compareTo(Size) - Method in class io.github.srcimon.screwbox.core.graphics.Size
 
compareTo(SpriteBatch.SpriteBatchEntry) - Method in record class io.github.srcimon.screwbox.core.graphics.SpriteBatch.SpriteBatchEntry
 
compareTo(Line) - Method in class io.github.srcimon.screwbox.core.Line
 
compareTo(Rotation) - Method in class io.github.srcimon.screwbox.core.Rotation
 
Component - Interface in io.github.srcimon.screwbox.core.environment
 
componentAdded(EntityEvent) - Method in interface io.github.srcimon.screwbox.core.environment.EntityListener
invoked when a Component was added to the Entity.
componentCount() - Method in class io.github.srcimon.screwbox.core.environment.Entity
 
componentRemoved(EntityEvent) - Method in interface io.github.srcimon.screwbox.core.environment.EntityListener
invoked when a Component was removed from the Entity.
cone - Variable in class io.github.srcimon.screwbox.core.environment.light.ConeLightComponent
 
ConeLightComponent - Class in io.github.srcimon.screwbox.core.environment.light
 
ConeLightComponent(Rotation, Rotation, LightOptions) - Constructor for class io.github.srcimon.screwbox.core.environment.light.ConeLightComponent
 
configuration() - Method in interface io.github.srcimon.screwbox.core.graphics.Graphics
Read and change the current GraphicsConfiguration.
configurationChanged(GraphicsConfigurationEvent) - Method in interface io.github.srcimon.screwbox.core.graphics.GraphicsConfigurationListener
invoked when a property of the GraphicsConfiguration is changed.
ConsoleLoggingAdapter - Class in io.github.srcimon.screwbox.core.log
 
ConsoleLoggingAdapter() - Constructor for class io.github.srcimon.screwbox.core.log.ConsoleLoggingAdapter
 
contains(Archetype) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
 
contains(Offset) - Method in record class io.github.srcimon.screwbox.core.graphics.ScreenBounds
Returns true if the given Offset is within the ScreenBounds.
contains(Vector) - Method in class io.github.srcimon.screwbox.core.Bounds
Checks if the given position is within this Bounds.
contains(Class<? extends Component>) - Method in class io.github.srcimon.screwbox.core.environment.Archetype
Returns true if the given Component class is contained in this Archetype.
contains(Class<? extends Scene>) - Method in interface io.github.srcimon.screwbox.core.scenes.Scenes
 
containsDuplicates(List<T>) - Static method in class io.github.srcimon.screwbox.core.utils.ListUtil
Returns true if the given List contains duplicate entries.
content() - Method in class io.github.srcimon.screwbox.core.audio.Sound
The binary content of the sound.
CONTROL - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
convert(T) - Method in interface io.github.srcimon.screwbox.core.environment.SourceImport.Converter
 
createEngine() - Static method in class io.github.srcimon.screwbox.core.ScrewBox
Creates an Engine instance.
createEngine(String) - Static method in class io.github.srcimon.screwbox.core.ScrewBox
Creates an Engine instance.
createSavegame(String) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
Creates a savegame file with the given name.
cropHorizontal() - Method in class io.github.srcimon.screwbox.core.graphics.Frame
Returns a new instance of a Frame without transparent pixels on the left and the right side.
cropHorizontal() - Method in class io.github.srcimon.screwbox.core.graphics.Sprite
Returns a version of this Sprite where the transparent space on the left and the right side were reduced to a minimum.
currentMenu() - Method in interface io.github.srcimon.screwbox.core.ui.Ui
Returns the current UiMenu.
currentResolution() - Method in interface io.github.srcimon.screwbox.core.graphics.Graphics
Returns the current screen resolution.

D

D - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
DARK_BLUE - Static variable in class io.github.srcimon.screwbox.core.graphics.Color
The color dark blue.
DARK_GREEN - Static variable in class io.github.srcimon.screwbox.core.graphics.Color
The color dark green.
debug(String) - Method in interface io.github.srcimon.screwbox.core.log.Log
Logs a message using LogLevel.DEBUG.
DEBUG - Enum constant in enum class io.github.srcimon.screwbox.core.log.LogLevel
Used for verbose output.
DEFAULT - Enum constant in enum class io.github.srcimon.screwbox.core.graphics.MouseCursor
The default cursor of the current operation system.
defaultFont() - Static method in class io.github.srcimon.screwbox.core.graphics.Pixelfont
Creates a white monospace Font, containing a restricted set of characters, numbers and symbols.
defaultFont(Color) - Static method in class io.github.srcimon.screwbox.core.graphics.Pixelfont
Creates a monospace Font, containing a restricted set of characters, numbers and symbols.
DefaultLoadingScene - Class in io.github.srcimon.screwbox.core.scenes
 
DefaultLoadingScene() - Constructor for class io.github.srcimon.screwbox.core.scenes.DefaultLoadingScene
 
DefaultScene - Class in io.github.srcimon.screwbox.core.scenes
 
DefaultScene() - Constructor for class io.github.srcimon.screwbox.core.scenes.DefaultScene
 
definedBy(Offset, Offset) - Static method in class io.github.srcimon.screwbox.core.graphics.Size
Returns a new instance of Size defined by two edges.
degrees() - Method in class io.github.srcimon.screwbox.core.Rotation
Returns the degrees value of this Rotation.
degrees(double) - Static method in class io.github.srcimon.screwbox.core.Rotation
Creates a new Rotation by the given Rotation.degrees().
deleteSavegame(String) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
Deletes the savegame with the given name.
delta() - Method in interface io.github.srcimon.screwbox.core.loop.Loop
Returns an abstraction of delta time between two frames.
delta(double) - Method in interface io.github.srcimon.screwbox.core.loop.Loop
Same as Loop.delta() but multiplies the result by the given factor.
DijkstraAlgorithm - Class in io.github.srcimon.screwbox.core.physics
An implementation of the Dijkstra algorithm.
DijkstraAlgorithm() - Constructor for class io.github.srcimon.screwbox.core.physics.DijkstraAlgorithm
 
direction - Variable in class io.github.srcimon.screwbox.core.environment.light.ConeLightComponent
 
disable() - Method in interface io.github.srcimon.screwbox.core.log.Log
Turns off logging completely.
disableLogging() - Method in interface io.github.srcimon.screwbox.core.assets.Assets
Disables logging of loading results.
distance - Variable in class io.github.srcimon.screwbox.core.environment.tweening.TweenOrbitPositionComponent
 
distance(Grid.Node) - Method in record class io.github.srcimon.screwbox.core.Grid.Node
Returns the distance between this Grid.Node and another Grid.Node.
distanceTo(Vector) - Method in class io.github.srcimon.screwbox.core.Vector
Calculates the distance between this and the other Vector.
DOT - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
downKeys() - Method in interface io.github.srcimon.screwbox.core.keyboard.Keyboard
Returns all currently down Keys.
drag() - Method in interface io.github.srcimon.screwbox.core.mouse.Mouse
Returns the drag movement of the mouse since the last frame.
draw(Screen, Percent) - Method in class io.github.srcimon.screwbox.core.graphics.transitions.CircleTransition
 
draw(Screen, Percent) - Method in class io.github.srcimon.screwbox.core.graphics.transitions.FadeOutTransition
 
draw(Screen, Percent) - Method in class io.github.srcimon.screwbox.core.graphics.transitions.FadingScreenTransition
 
draw(Screen, Percent) - Method in class io.github.srcimon.screwbox.core.graphics.transitions.HorizontalLinesTransition
 
draw(Screen, Percent) - Method in class io.github.srcimon.screwbox.core.graphics.transitions.MosaikTransition
 
draw(Screen, Percent) - Method in interface io.github.srcimon.screwbox.core.graphics.transitions.ScreenTransition
 
draw(Screen, Percent) - Method in class io.github.srcimon.screwbox.core.graphics.transitions.SwipeTransition
 
drawCircle(Offset, int, Color) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
 
drawCircle(Offset, int, Color, int) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
 
drawCircle(Vector, double, Color, int) - Method in interface io.github.srcimon.screwbox.core.graphics.World
 
drawColor() - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
 
drawColor() - Method in interface io.github.srcimon.screwbox.core.graphics.World
 
drawColor(Color) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
 
drawColor(Color) - Method in interface io.github.srcimon.screwbox.core.graphics.World
 
drawFadingCircle(Offset, int, Color) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
 
drawFadingCircle(Vector, double, Color) - Method in interface io.github.srcimon.screwbox.core.graphics.World
 
drawLine(Offset, Offset) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
 
drawLine(Offset, Offset, Color) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
 
drawLine(Line) - Method in interface io.github.srcimon.screwbox.core.graphics.World
 
drawLine(Line, Color) - Method in interface io.github.srcimon.screwbox.core.graphics.World
 
drawLine(Vector, Vector) - Method in interface io.github.srcimon.screwbox.core.graphics.World
 
drawLine(Vector, Vector, Color) - Method in interface io.github.srcimon.screwbox.core.graphics.World
 
drawOrder - Variable in class io.github.srcimon.screwbox.core.environment.rendering.RenderComponent
 
drawOrder() - Method in record class io.github.srcimon.screwbox.core.graphics.SpriteBatch.SpriteBatchEntry
Returns the value of the drawOrder record component.
drawRectangle(Bounds, Color) - Method in interface io.github.srcimon.screwbox.core.graphics.World
 
drawRectangle(Bounds, Rotation, Color) - Method in interface io.github.srcimon.screwbox.core.graphics.World
 
drawRectangle(Offset, Size, Color) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
 
drawRectangle(Offset, Size, Rotation, Color) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
 
drawSprite(Sprite, Offset) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
 
drawSprite(Sprite, Offset, double, Percent) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
 
drawSprite(Sprite, Offset, double, Percent, Rotation) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
 
drawSprite(Sprite, Offset, double, Percent, Rotation, Flip, ScreenBounds) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
 
drawSprite(Sprite, Offset, Percent) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
 
drawSprite(Sprite, Vector) - Method in interface io.github.srcimon.screwbox.core.graphics.World
 
drawSprite(Sprite, Vector, double, Percent, Rotation, Flip, Bounds) - Method in interface io.github.srcimon.screwbox.core.graphics.World
 
drawSprite(Sprite, Vector, Percent) - Method in interface io.github.srcimon.screwbox.core.graphics.World
 
drawSprite(Sprite, Vector, Percent, Rotation, Flip) - Method in interface io.github.srcimon.screwbox.core.graphics.World
 
drawSprite(Supplier<Sprite>, Offset) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
 
drawSprite(Supplier<Sprite>, Offset, double, Percent) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
 
drawSprite(Supplier<Sprite>, Offset, double, Percent, Rotation) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
 
drawSprite(Supplier<Sprite>, Offset, double, Percent, Rotation, Flip, ScreenBounds) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
 
drawSprite(Supplier<Sprite>, Offset, Percent) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
 
drawSpriteBatch(SpriteBatch) - Method in interface io.github.srcimon.screwbox.core.graphics.World
 
drawSpriteBatch(SpriteBatch, Bounds) - Method in interface io.github.srcimon.screwbox.core.graphics.World
 
drawText(Offset, String) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
 
drawText(Offset, String, double) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
 
drawText(Offset, String, Font) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
 
drawText(Offset, String, Font, Color) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
 
drawText(Offset, String, Pixelfont) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
 
drawText(Offset, String, Pixelfont, double) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
 
drawText(Offset, String, Pixelfont, Percent) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
 
drawText(Offset, String, Pixelfont, Percent, double) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
 
drawText(Vector, String, Font) - Method in interface io.github.srcimon.screwbox.core.graphics.World
 
drawText(Vector, String, Font, Color) - Method in interface io.github.srcimon.screwbox.core.graphics.World
 
drawTextCentered(Offset, String) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
 
drawTextCentered(Offset, String, double) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
 
drawTextCentered(Offset, String, Font) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
 
drawTextCentered(Offset, String, Font, Color) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
 
drawTextCentered(Offset, String, Pixelfont) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
 
drawTextCentered(Offset, String, Pixelfont, double) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
 
drawTextCentered(Offset, String, Pixelfont, Percent) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
 
drawTextCentered(Offset, String, Pixelfont, Percent, double) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
 
drawTextCentered(Vector, String, Font) - Method in interface io.github.srcimon.screwbox.core.graphics.World
 
drawTextCentered(Vector, String, Font, Color) - Method in interface io.github.srcimon.screwbox.core.graphics.World
 
drawTextCentered(Vector, String, Pixelfont, Percent) - Method in interface io.github.srcimon.screwbox.core.graphics.World
 
drawTextCentered(Vector, String, Pixelfont, Percent, double) - Method in interface io.github.srcimon.screwbox.core.graphics.World
 
dummy16x16() - Static method in class io.github.srcimon.screwbox.core.graphics.Sprite
Returns a dummy Sprite.
dummy16x16animated() - Static method in class io.github.srcimon.screwbox.core.graphics.Sprite
Returns an animated dummy Sprite.
dummyEffect() - Static method in class io.github.srcimon.screwbox.core.audio.Sound
Returns a short dummy sound effect.
duration - Variable in class io.github.srcimon.screwbox.core.environment.rendering.ScreenTransitionComponent
 
duration - Variable in class io.github.srcimon.screwbox.core.environment.tweening.TweenComponent
 
duration() - Method in class io.github.srcimon.screwbox.core.audio.Sound
Returns the Duration of the Sound.
duration() - Method in class io.github.srcimon.screwbox.core.graphics.Frame
 
duration() - Method in class io.github.srcimon.screwbox.core.graphics.Sprite
 
Duration - Class in io.github.srcimon.screwbox.core
Represents a Duration between two Times.

E

E - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
effectVolume() - Method in interface io.github.srcimon.screwbox.core.audio.Audio
Returns the current volume for effects.
emptyWhenNull(List<T>) - Static method in class io.github.srcimon.screwbox.core.utils.ListUtil
 
enable() - Method in interface io.github.srcimon.screwbox.core.log.Log
Turns on logging again.
enableLight() - Method in interface io.github.srcimon.screwbox.core.environment.Environment
Adds systems for light rendering.
enableLogging() - Method in interface io.github.srcimon.screwbox.core.assets.Assets
Activates logging of loading results.
enableLogic() - Method in interface io.github.srcimon.screwbox.core.environment.Environment
Adds systems needed for stateful entities and area triggers.
enablePhysics() - Method in interface io.github.srcimon.screwbox.core.environment.Environment
Adds all systems needed for physics support in this Environment.
enableRendering() - Method in interface io.github.srcimon.screwbox.core.environment.Environment
Adds systems needed for rendering Sprites.
enableTweening() - Method in interface io.github.srcimon.screwbox.core.environment.Environment
Adds systems needed for tweening.
Engine - Interface in io.github.srcimon.screwbox.core
This is the central point of controlling the ScrewBox-Engine.
enter(Entity, Engine) - Method in interface io.github.srcimon.screwbox.core.environment.logic.EntityState
 
ENTER - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
entities() - Method in interface io.github.srcimon.screwbox.core.environment.Environment
Returns all Entitys currently attached.
entity() - Method in class io.github.srcimon.screwbox.core.environment.EntityEvent
Returns the Entity where the Component was added or removed from.
Entity - Class in io.github.srcimon.screwbox.core.environment
 
Entity() - Constructor for class io.github.srcimon.screwbox.core.environment.Entity
 
Entity(Integer) - Constructor for class io.github.srcimon.screwbox.core.environment.Entity
 
Entity(Integer, String) - Constructor for class io.github.srcimon.screwbox.core.environment.Entity
 
Entity(String) - Constructor for class io.github.srcimon.screwbox.core.environment.Entity
 
entityCount() - Method in interface io.github.srcimon.screwbox.core.environment.Environment
 
EntityEvent - Class in io.github.srcimon.screwbox.core.environment
Occurs when a Component is added or removed from an Entity.
EntityEvent(Entity) - Constructor for class io.github.srcimon.screwbox.core.environment.EntityEvent
 
EntityListener - Interface in io.github.srcimon.screwbox.core.environment
Listener interface for receiving EntityEvents.
EntityState - Interface in io.github.srcimon.screwbox.core.environment.logic
 
EntitySystem - Interface in io.github.srcimon.screwbox.core.environment
EntitySystems implement the game logic.
entriesInDrawOrder() - Method in class io.github.srcimon.screwbox.core.graphics.SpriteBatch
 
environment() - Method in interface io.github.srcimon.screwbox.core.Engine
Returns the games Entity management system (Environment).
Environment - Interface in io.github.srcimon.screwbox.core.environment
The Environment manages all Environment.entities() and all Environment.systems() that are contained in a Scene.
environmentOf(Class<? extends Scene>) - Method in interface io.github.srcimon.screwbox.core.scenes.Scenes
 
equals(Object) - Method in class io.github.srcimon.screwbox.core.Bounds
 
equals(Object) - Method in class io.github.srcimon.screwbox.core.Duration
 
equals(Object) - Method in class io.github.srcimon.screwbox.core.environment.Archetype
 
equals(Object) - Method in class io.github.srcimon.screwbox.core.graphics.Color
 
equals(Object) - Method in record class io.github.srcimon.screwbox.core.graphics.LightOptions
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class io.github.srcimon.screwbox.core.graphics.Offset
 
equals(Object) - Method in record class io.github.srcimon.screwbox.core.graphics.ScreenBounds
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class io.github.srcimon.screwbox.core.graphics.Size
 
equals(Object) - Method in record class io.github.srcimon.screwbox.core.graphics.SpriteBatch.SpriteBatchEntry
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.srcimon.screwbox.core.Grid.Node
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class io.github.srcimon.screwbox.core.Line
 
equals(Object) - Method in class io.github.srcimon.screwbox.core.Percent
 
equals(Object) - Method in class io.github.srcimon.screwbox.core.Rotation
 
equals(Object) - Method in class io.github.srcimon.screwbox.core.Time
 
equals(Object) - Method in class io.github.srcimon.screwbox.core.Vector
 
equals(Object) - Method in record class io.github.srcimon.screwbox.core.window.FilesDropedOnWindow
Indicates whether some other object is "equal to" this one.
error(String) - Method in interface io.github.srcimon.screwbox.core.log.Log
Logs a message using LogLevel.ERROR.
error(Throwable) - Method in interface io.github.srcimon.screwbox.core.log.Log
Logs a message using LogLevel.ERROR containing the stacktrace of the given Throwable.
ERROR - Enum constant in enum class io.github.srcimon.screwbox.core.log.LogLevel
Used when an error occured that didn't kill the engine.
ESCAPE - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
everyMinute() - Static method in class io.github.srcimon.screwbox.core.utils.Sheduler
Creates a new Sheduler with one minute interval.
everySecond() - Static method in class io.github.srcimon.screwbox.core.utils.Sheduler
Creates a new Sheduler with one second interval.
exit(Entity, Engine) - Method in interface io.github.srcimon.screwbox.core.environment.logic.EntityState
 
extents() - Method in class io.github.srcimon.screwbox.core.Bounds
 
extractArea(Offset, Size) - Method in class io.github.srcimon.screwbox.core.graphics.Frame
Returns a new Frame created from a sub image of this Frame.
extractFrom(Bounds) - Method in enum class io.github.srcimon.screwbox.core.physics.Borders
 

F

F - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
F1 - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
F10 - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
F11 - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
F12 - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
F2 - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
F3 - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
F4 - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
F5 - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
F6 - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
F7 - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
F8 - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
F9 - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
FadeOutTransition - Class in io.github.srcimon.screwbox.core.graphics.transitions
 
FadeOutTransition(ScreenTransition) - Constructor for class io.github.srcimon.screwbox.core.graphics.transitions.FadeOutTransition
 
FadingScreenTransition - Class in io.github.srcimon.screwbox.core.graphics.transitions
 
FadingScreenTransition() - Constructor for class io.github.srcimon.screwbox.core.graphics.transitions.FadingScreenTransition
 
fetch(Archetype) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
 
fetchAll(Archetype) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
 
fetchAllHaving(Class<? extends Component>) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
 
fetchAllHaving(Class<? extends Component>, Class<? extends Component>) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
 
fetchById(int) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
 
fetchHaving(Class<? extends Component>) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
 
fetchHaving(Class<? extends Component>, Class<? extends Component>) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
 
files() - Method in record class io.github.srcimon.screwbox.core.window.FilesDropedOnWindow
Returns the value of the files record component.
filesDropedOnWindow() - Method in interface io.github.srcimon.screwbox.core.window.Window
Returns all Files droped on the Window at the current frame.
FilesDropedOnWindow - Record Class in io.github.srcimon.screwbox.core.window
 
FilesDropedOnWindow(List<File>, Offset) - Constructor for record class io.github.srcimon.screwbox.core.window.FilesDropedOnWindow
Creates an instance of a FilesDropedOnWindow record class.
fill() - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
 
fillCircle(Offset, int) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
 
fillCircle(Offset, int, Color) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
 
fillCircle(Vector, double) - Method in interface io.github.srcimon.screwbox.core.graphics.World
 
fillCircle(Vector, double, Color) - Method in interface io.github.srcimon.screwbox.core.graphics.World
 
fillRectangle(Bounds) - Method in interface io.github.srcimon.screwbox.core.graphics.World
 
fillRectangle(Bounds, Color) - Method in interface io.github.srcimon.screwbox.core.graphics.World
 
fillRectangle(Offset, Size) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
 
fillRectangle(Offset, Size, Color) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
 
fillRectangle(ScreenBounds) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
 
fillRectangle(ScreenBounds, Color) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
 
fillWith(Color) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
 
fillWith(Offset, Sprite) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
 
fillWith(Offset, Sprite, double) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
 
fillWith(Offset, Sprite, double, Percent) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
 
fillWith(Sprite) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
 
fillWith(Sprite, double) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
 
findClassesInPackage(String) - Static method in class io.github.srcimon.screwbox.core.utils.Reflections
Returns a list of all Classes in the given Package.
findHits() - Method in class io.github.srcimon.screwbox.core.physics.Raycast
 
findPath(Grid, Grid.Node, Grid.Node) - Method in class io.github.srcimon.screwbox.core.physics.AStarAlgorithm
 
findPath(Grid, Grid.Node, Grid.Node) - Method in class io.github.srcimon.screwbox.core.physics.DijkstraAlgorithm
 
findPath(Grid, Grid.Node, Grid.Node) - Method in interface io.github.srcimon.screwbox.core.physics.PathfindingAlgorithm
 
findPath(Grid, Vector, Vector) - Method in interface io.github.srcimon.screwbox.core.physics.Physics
 
findPath(Vector, Vector) - Method in interface io.github.srcimon.screwbox.core.physics.Physics
 
firstNode() - Method in class io.github.srcimon.screwbox.core.Path
 
fixedInterval(Duration) - Static method in class io.github.srcimon.screwbox.core.utils.Lurk
 
flip - Variable in class io.github.srcimon.screwbox.core.environment.rendering.RenderComponent
 
flip() - Method in record class io.github.srcimon.screwbox.core.graphics.SpriteBatch.SpriteBatchEntry
Returns the value of the flip record component.
Flip - Enum Class in io.github.srcimon.screwbox.core.graphics
Returns the vertical and or horizontal flip (mirror) mode for an Sprite.
FlipSpriteComponent - Class in io.github.srcimon.screwbox.core.environment.rendering
 
FlipSpriteComponent() - Constructor for class io.github.srcimon.screwbox.core.environment.rendering.FlipSpriteComponent
 
FlipSpriteSystem - Class in io.github.srcimon.screwbox.core.environment.rendering
 
FlipSpriteSystem() - Constructor for class io.github.srcimon.screwbox.core.environment.rendering.FlipSpriteSystem
 
Font - Class in io.github.srcimon.screwbox.core.graphics
 
Font(String, int) - Constructor for class io.github.srcimon.screwbox.core.graphics.Font
 
Font(String, int, Font.Style) - Constructor for class io.github.srcimon.screwbox.core.graphics.Font
 
Font.Style - Enum Class in io.github.srcimon.screwbox.core.graphics
 
force - Variable in class io.github.srcimon.screwbox.core.environment.physics.MagnetComponent
 
forcedFetch(Archetype) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
 
forcedFetchById(int) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
 
forcedFetchHaving(Class<? extends Component>) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
 
forcedFetchHaving(Class<? extends Component>, Class<? extends Component>) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
 
format() - Method in class io.github.srcimon.screwbox.core.audio.Sound
Returns the Sound.Format of the Sound.
fps() - Method in interface io.github.srcimon.screwbox.core.loop.Loop
Returns the current count of frames per second.
frame(int) - Method in class io.github.srcimon.screwbox.core.graphics.Sprite
Returns the frame with the given number, starting with 0.
frame(Time) - Method in class io.github.srcimon.screwbox.core.graphics.Sprite
Returns the Frame for the given Time.
Frame - Class in io.github.srcimon.screwbox.core.graphics
 
Frame(Image, Duration) - Constructor for class io.github.srcimon.screwbox.core.graphics.Frame
 
frameCount() - Method in class io.github.srcimon.screwbox.core.graphics.Sprite
Returns the count of Frames in the Sprite.
frameNumber() - Method in interface io.github.srcimon.screwbox.core.loop.Loop
Returns the number of the current frame (Each iteration of the game loop is called frame).
freeArea(Bounds) - Method in class io.github.srcimon.screwbox.core.Grid
 
freeAt(Vector) - Method in class io.github.srcimon.screwbox.core.Grid
 
freeCount() - Method in class io.github.srcimon.screwbox.core.Grid
 
freshInstance() - Method in class io.github.srcimon.screwbox.core.graphics.Sprite
Returns a new Sprite withe the same Frames.
friction - Variable in class io.github.srcimon.screwbox.core.environment.physics.ColliderComponent
 
from - Variable in class io.github.srcimon.screwbox.core.environment.tweening.TweenOpacityComponent
 
from - Variable in class io.github.srcimon.screwbox.core.environment.tweening.TweenPositionComponent
 
from() - Method in class io.github.srcimon.screwbox.core.Line
The starting point of the Line.
fromCode(int) - Static method in enum class io.github.srcimon.screwbox.core.keyboard.Key
Returns the Key with the given code.
fromFile(String) - Static method in class io.github.srcimon.screwbox.core.audio.Sound
Creates a new Sound from file.
fromFile(String) - Static method in class io.github.srcimon.screwbox.core.graphics.Frame
Returns a Frame created from a file.
fromFile(String) - Static method in class io.github.srcimon.screwbox.core.graphics.Sprite
Creates a Sprite with a single Frame from the given image file in the class path.
fromImage(Image) - Static method in class io.github.srcimon.screwbox.core.graphics.Frame
Returns a Frame from the given Image.
fromImage(Image) - Static method in class io.github.srcimon.screwbox.core.graphics.Sprite
Returns a Sprite with one Frame containing the given Image.
fromMidi(byte[]) - Static method in class io.github.srcimon.screwbox.core.audio.Sound
Creates a new Sound from midi content.
fromWav(byte[]) - Static method in class io.github.srcimon.screwbox.core.audio.Sound
Creates a new Sound from wav content.
FULLSCREEN_JVM_OPTION - Static variable in class io.github.srcimon.screwbox.core.utils.MacOsSupport
JVM option required to support fullscreen on MacOs.

G

g() - Method in class io.github.srcimon.screwbox.core.graphics.Color
Returns green value of the Color.
G - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
GeometryUtil - Class in io.github.srcimon.screwbox.core.utils
 
get() - Method in class io.github.srcimon.screwbox.core.assets.Asset
Retrieves the Asset actual resource.
get(Class<T>) - Method in class io.github.srcimon.screwbox.core.environment.Entity
 
get(K) - Method in class io.github.srcimon.screwbox.core.utils.Cache
 
get(K) - Method in class io.github.srcimon.screwbox.core.utils.TimeoutCache
 
getAll() - Method in class io.github.srcimon.screwbox.core.environment.Entity
 
getComponentClasses() - Method in class io.github.srcimon.screwbox.core.environment.Entity
 
getOrElse(K, Supplier<V>) - Method in class io.github.srcimon.screwbox.core.utils.Cache
 
GlobalBoundsComponent - Class in io.github.srcimon.screwbox.core.environment.core
 
GlobalBoundsComponent() - Constructor for class io.github.srcimon.screwbox.core.environment.core.GlobalBoundsComponent
 
glow() - Method in record class io.github.srcimon.screwbox.core.graphics.LightOptions
Returns the value of the glow record component.
glow(double) - Method in record class io.github.srcimon.screwbox.core.graphics.LightOptions
 
glowColor() - Method in record class io.github.srcimon.screwbox.core.graphics.LightOptions
Returns the value of the glowColor record component.
glowColor(Color) - Method in record class io.github.srcimon.screwbox.core.graphics.LightOptions
 
glowing(double) - Static method in record class io.github.srcimon.screwbox.core.graphics.LightOptions
 
graphics() - Method in interface io.github.srcimon.screwbox.core.Engine
Provides access to the Graphics, which has methods for drawing on screen, changing the GraphicsConfiguration, to update and read the Graphics.cameraPosition() and to adjust the Window.
Graphics - Interface in io.github.srcimon.screwbox.core.graphics
Gives access to all graphics related configuration and operations.
GraphicsConfiguration - Class in io.github.srcimon.screwbox.core.graphics
 
GraphicsConfiguration() - Constructor for class io.github.srcimon.screwbox.core.graphics.GraphicsConfiguration
 
GraphicsConfigurationEvent - Class in io.github.srcimon.screwbox.core.graphics
Occurs on any Change of the GraphicsConfiguration properties.
GraphicsConfigurationEvent(Object, GraphicsConfigurationEvent.ConfigurationProperty) - Constructor for class io.github.srcimon.screwbox.core.graphics.GraphicsConfigurationEvent
 
GraphicsConfigurationEvent.ConfigurationProperty - Enum Class in io.github.srcimon.screwbox.core.graphics
 
GraphicsConfigurationListener - Interface in io.github.srcimon.screwbox.core.graphics
Listener interface for receiving GraphicsConfigurationEvents.
gravity - Variable in class io.github.srcimon.screwbox.core.environment.physics.GravityComponent
 
GravityComponent - Class in io.github.srcimon.screwbox.core.environment.physics
 
GravityComponent(Vector) - Constructor for class io.github.srcimon.screwbox.core.environment.physics.GravityComponent
 
gravityModifier - Variable in class io.github.srcimon.screwbox.core.environment.physics.PhysicsComponent
 
GravitySystem - Class in io.github.srcimon.screwbox.core.environment.physics
 
GravitySystem() - Constructor for class io.github.srcimon.screwbox.core.environment.physics.GravitySystem
 
GREEN - Static variable in class io.github.srcimon.screwbox.core.graphics.Color
The color green.
GREY - Static variable in class io.github.srcimon.screwbox.core.graphics.Color
The color grey.
grid() - Method in interface io.github.srcimon.screwbox.core.physics.Physics
 
Grid - Class in io.github.srcimon.screwbox.core
A Grid to raster your game world.
Grid(Bounds, int) - Constructor for class io.github.srcimon.screwbox.core.Grid
 
Grid(Bounds, int, boolean) - Constructor for class io.github.srcimon.screwbox.core.Grid
 
Grid.Node - Record Class in io.github.srcimon.screwbox.core
A node in (or out of) the Grid.

H

H - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
half() - Static method in class io.github.srcimon.screwbox.core.Percent
Returns 50 percent.
hasActiveTasks(Object) - Method in interface io.github.srcimon.screwbox.core.async.Async
Returns true if there are any active tasks running in the given context.
hasCharacter(char) - Method in class io.github.srcimon.screwbox.core.graphics.Pixelfont
Checks if the given character is contained in the Pixelfont.
hasComponent(Class<? extends Component>) - Method in class io.github.srcimon.screwbox.core.environment.Entity
Checks if the given Component-class is present in this Entity.
hasFocus() - Method in interface io.github.srcimon.screwbox.core.window.Window
Returns true if the Window currently has focus.
hashCode() - Method in class io.github.srcimon.screwbox.core.Bounds
 
hashCode() - Method in class io.github.srcimon.screwbox.core.Duration
 
hashCode() - Method in class io.github.srcimon.screwbox.core.environment.Archetype
 
hashCode() - Method in class io.github.srcimon.screwbox.core.graphics.Color
 
hashCode() - Method in record class io.github.srcimon.screwbox.core.graphics.LightOptions
Returns a hash code value for this object.
hashCode() - Method in class io.github.srcimon.screwbox.core.graphics.Offset
 
hashCode() - Method in record class io.github.srcimon.screwbox.core.graphics.ScreenBounds
Returns a hash code value for this object.
hashCode() - Method in class io.github.srcimon.screwbox.core.graphics.Size
 
hashCode() - Method in record class io.github.srcimon.screwbox.core.graphics.SpriteBatch.SpriteBatchEntry
Returns a hash code value for this object.
hashCode() - Method in record class io.github.srcimon.screwbox.core.Grid.Node
Returns a hash code value for this object.
hashCode() - Method in class io.github.srcimon.screwbox.core.Line
 
hashCode() - Method in class io.github.srcimon.screwbox.core.Percent
 
hashCode() - Method in class io.github.srcimon.screwbox.core.Rotation
 
hashCode() - Method in class io.github.srcimon.screwbox.core.Time
 
hashCode() - Method in class io.github.srcimon.screwbox.core.Vector
 
hashCode() - Method in record class io.github.srcimon.screwbox.core.window.FilesDropedOnWindow
Returns a hash code value for this object.
hasHit() - Method in class io.github.srcimon.screwbox.core.physics.Raycast
 
hasScrolled() - Method in interface io.github.srcimon.screwbox.core.mouse.Mouse
Returns true if there was any scrolling since the last frame.
height() - Method in class io.github.srcimon.screwbox.core.Bounds
Returns the height of this Bounds.
height() - Method in class io.github.srcimon.screwbox.core.graphics.Pixelfont
Returns the height of the pixelfont.
height() - Method in class io.github.srcimon.screwbox.core.graphics.Size
The height of this Size.
height() - Method in class io.github.srcimon.screwbox.core.Grid
 
HIDDEN - Enum constant in enum class io.github.srcimon.screwbox.core.graphics.MouseCursor
Not visible cursor.
HORIZONTAL - Enum constant in enum class io.github.srcimon.screwbox.core.graphics.Flip
flipped horizontally
HorizontalLinesTransition - Class in io.github.srcimon.screwbox.core.graphics.transitions
 
HorizontalLinesTransition(int) - Constructor for class io.github.srcimon.screwbox.core.graphics.transitions.HorizontalLinesTransition
 

I

I - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
id() - Method in class io.github.srcimon.screwbox.core.assets.AssetLocation
Returns a unique id of the AssetLocation.
id() - Method in class io.github.srcimon.screwbox.core.environment.Entity
 
ignoreCollisions - Variable in class io.github.srcimon.screwbox.core.environment.physics.PhysicsComponent
 
ignoreOneWayCollisions - Variable in class io.github.srcimon.screwbox.core.environment.physics.PhysicsComponent
 
ignoringEntitesNotIn(Bounds) - Method in class io.github.srcimon.screwbox.core.physics.RaycastBuilder
 
ignoringEntities(Entity...) - Method in class io.github.srcimon.screwbox.core.physics.RaycastBuilder
 
ignoringEntitiesHaving(Class<? extends Component>) - Method in class io.github.srcimon.screwbox.core.physics.RaycastBuilder
 
ignoringEntitiesHaving(Class<? extends Component>) - Method in class io.github.srcimon.screwbox.core.physics.SelectEntityBuilder
 
ignoringEntitiesMatching(Predicate<Entity>) - Method in class io.github.srcimon.screwbox.core.physics.RaycastBuilder
 
image() - Method in class io.github.srcimon.screwbox.core.graphics.Frame
 
image(Time) - Method in class io.github.srcimon.screwbox.core.graphics.Sprite
Returns the Image for the given Time.
importSource(List<T>) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
Provides a compact syntax for importing Entitys from multiple custom sources using conditions and SourceImport.Converter.
importSource(T) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
Provides a compact syntax for importing Entitys from a custom source using conditions and SourceImport.Converter.
inactive() - Method in class io.github.srcimon.screwbox.core.utils.Latch
Returns the currently inactive value.
inactive() - Method in class io.github.srcimon.screwbox.core.utils.TrippleLatch
 
inflated(double) - Method in class io.github.srcimon.screwbox.core.Bounds
Returns a new instance of Bounds at the same Bounds.position() but with different Bounds.size().
inflatedTop(int) - Method in class io.github.srcimon.screwbox.core.Bounds
Same as Bounds.inflated(double) but only inflates the top Line of the Bounds.
info(String) - Method in interface io.github.srcimon.screwbox.core.log.Log
Logs a message using LogLevel.INFO.
INFO - Enum constant in enum class io.github.srcimon.screwbox.core.log.LogLevel
Used for noteworthy engine events.
interactWith(UiMenu, UiLayouter, Engine) - Method in class io.github.srcimon.screwbox.core.ui.KeyboardAndMouseInteractor
 
interactWith(UiMenu, UiLayouter, Engine) - Method in class io.github.srcimon.screwbox.core.ui.KeyboardInteractor
 
interactWith(UiMenu, UiLayouter, Engine) - Method in interface io.github.srcimon.screwbox.core.ui.UiInteractor
 
intersection(Bounds) - Method in class io.github.srcimon.screwbox.core.Bounds
Returns the intersection area between this Bounds and the other Bounds.
intersectionPoint(Line) - Method in class io.github.srcimon.screwbox.core.Line
Returns the intersection Point of this and the other Line.
intersects(Bounds) - Method in class io.github.srcimon.screwbox.core.Bounds
Checks if this Bounds intersects another Bounds.
intersects(ScreenBounds) - Method in record class io.github.srcimon.screwbox.core.graphics.ScreenBounds
 
intersects(Line) - Method in class io.github.srcimon.screwbox.core.Line
Checks if the two given Lines intersect each other.
intervalWithDeviation(Duration, Percent) - Static method in class io.github.srcimon.screwbox.core.utils.Lurk
 
invert() - Method in class io.github.srcimon.screwbox.core.Percent
Returns the inverted value of the percentage.
invert() - Method in class io.github.srcimon.screwbox.core.Vector
Returns a new Vector with inverted X- and Y-components.
invertVertical() - Method in enum class io.github.srcimon.screwbox.core.graphics.Flip
Returns the Flip with inverted vertical component.
invertX() - Method in class io.github.srcimon.screwbox.core.Vector
Returns a new Vector with inverted X-component.
invertY() - Method in class io.github.srcimon.screwbox.core.Vector
Returns a new Vector with inverted Y-component.
invisible() - Static method in class io.github.srcimon.screwbox.core.graphics.Frame
Returns an invisible Frame.
invisible() - Static method in class io.github.srcimon.screwbox.core.graphics.Sprite
Returns an invisible Sprite.
io.github.srcimon.screwbox.core - package io.github.srcimon.screwbox.core
 
io.github.srcimon.screwbox.core.assets - package io.github.srcimon.screwbox.core.assets
 
io.github.srcimon.screwbox.core.async - package io.github.srcimon.screwbox.core.async
 
io.github.srcimon.screwbox.core.audio - package io.github.srcimon.screwbox.core.audio
 
io.github.srcimon.screwbox.core.environment - package io.github.srcimon.screwbox.core.environment
 
io.github.srcimon.screwbox.core.environment.camera - package io.github.srcimon.screwbox.core.environment.camera
 
io.github.srcimon.screwbox.core.environment.core - package io.github.srcimon.screwbox.core.environment.core
 
io.github.srcimon.screwbox.core.environment.debug - package io.github.srcimon.screwbox.core.environment.debug
 
io.github.srcimon.screwbox.core.environment.light - package io.github.srcimon.screwbox.core.environment.light
 
io.github.srcimon.screwbox.core.environment.logic - package io.github.srcimon.screwbox.core.environment.logic
 
io.github.srcimon.screwbox.core.environment.physics - package io.github.srcimon.screwbox.core.environment.physics
 
io.github.srcimon.screwbox.core.environment.rendering - package io.github.srcimon.screwbox.core.environment.rendering
 
io.github.srcimon.screwbox.core.environment.tweening - package io.github.srcimon.screwbox.core.environment.tweening
 
io.github.srcimon.screwbox.core.graphics - package io.github.srcimon.screwbox.core.graphics
 
io.github.srcimon.screwbox.core.graphics.transitions - package io.github.srcimon.screwbox.core.graphics.transitions
 
io.github.srcimon.screwbox.core.keyboard - package io.github.srcimon.screwbox.core.keyboard
 
io.github.srcimon.screwbox.core.log - package io.github.srcimon.screwbox.core.log
This module contains super basic logging functionality.
io.github.srcimon.screwbox.core.loop - package io.github.srcimon.screwbox.core.loop
 
io.github.srcimon.screwbox.core.mouse - package io.github.srcimon.screwbox.core.mouse
 
io.github.srcimon.screwbox.core.physics - package io.github.srcimon.screwbox.core.physics
 
io.github.srcimon.screwbox.core.scenes - package io.github.srcimon.screwbox.core.scenes
 
io.github.srcimon.screwbox.core.ui - package io.github.srcimon.screwbox.core.ui
 
io.github.srcimon.screwbox.core.utils - package io.github.srcimon.screwbox.core.utils
 
io.github.srcimon.screwbox.core.window - package io.github.srcimon.screwbox.core.window
 
isActive() - Method in interface io.github.srcimon.screwbox.core.log.Log
Checks if logging is currently active.
isActive(Sound) - Method in interface io.github.srcimon.screwbox.core.audio.Audio
Returns true of there is any active playing instances of the given Sound.
isActive(Engine) - Method in class io.github.srcimon.screwbox.core.ui.UiMenuItem
 
isActive(UiMenuItem, Engine) - Method in class io.github.srcimon.screwbox.core.ui.UiMenu
 
isActive(Class<? extends Scene>) - Method in interface io.github.srcimon.screwbox.core.scenes.Scenes
 
isAfter(Time) - Method in class io.github.srcimon.screwbox.core.Time
Specifies if this instance is after the given Time instance.
isAnyButtonDown() - Method in interface io.github.srcimon.screwbox.core.mouse.Mouse
Returns true if there was MouseButton down.
isAnyKeyDown() - Method in interface io.github.srcimon.screwbox.core.keyboard.Keyboard
Returns true if any key is down at the moment.
isAtLeast(Duration) - Method in class io.github.srcimon.screwbox.core.Duration
Returns true if the Duration is at least that long with the other Duration.
isBefore(Time) - Method in class io.github.srcimon.screwbox.core.Time
Specifies if this instance is before the given Time instance.
isBlocked(int, int) - Method in class io.github.srcimon.screwbox.core.Grid
 
isBlocked(Grid.Node) - Method in class io.github.srcimon.screwbox.core.Grid
 
isCursorOnScreen() - Method in interface io.github.srcimon.screwbox.core.mouse.Mouse
Checks if the Cursor is on the Screen or not.
isDown(Key) - Method in interface io.github.srcimon.screwbox.core.keyboard.Keyboard
Returns true if the given Key is down at the moment.
isDown(KeyCombination) - Method in interface io.github.srcimon.screwbox.core.keyboard.Keyboard
Returns true if the given KeyCombination is down at the moment.
isDown(MouseButton) - Method in interface io.github.srcimon.screwbox.core.mouse.Mouse
Checks if the given MouseButton is pressed.
isEmpty() - Method in class io.github.srcimon.screwbox.core.environment.Entity
Returns true if the Entity has no Component.
isFree(int, int) - Method in class io.github.srcimon.screwbox.core.Grid
Retruns true if the given position is not blocked and inside the Grid.
isFree(Grid.Node) - Method in class io.github.srcimon.screwbox.core.Grid
 
isFullscreen() - Method in class io.github.srcimon.screwbox.core.graphics.GraphicsConfiguration
 
isHorizontal() - Method in enum class io.github.srcimon.screwbox.core.graphics.Flip
 
isLessThan(Duration) - Method in class io.github.srcimon.screwbox.core.Duration
Returns true if the Duration is at less than the other Duration.
isLoaded() - Method in class io.github.srcimon.screwbox.core.assets.Asset
Returns true if the Asset has been loaded.
isLoaded() - Method in class io.github.srcimon.screwbox.core.assets.AssetLocation
Returns true if Asset is already loaded.
isLooped - Variable in class io.github.srcimon.screwbox.core.environment.tweening.TweenComponent
 
isMacOs() - Static method in class io.github.srcimon.screwbox.core.utils.MacOsSupport
Returns true if the current operation system is MacOs.
isMax() - Method in class io.github.srcimon.screwbox.core.Percent
Returns true if value is 1.0.
isMusicMuted() - Method in interface io.github.srcimon.screwbox.core.audio.Audio
Returns true if music is muted.
isMuted() - Method in interface io.github.srcimon.screwbox.core.audio.Audio
Returns true if all playback is muted.
isNone() - Method in class io.github.srcimon.screwbox.core.Rotation
Checks if there isn't any rotation.
isOneWay - Variable in class io.github.srcimon.screwbox.core.environment.physics.ColliderComponent
 
isPreparing() - Method in interface io.github.srcimon.screwbox.core.assets.Assets
Returns true if preparing is currently in progress.
isPressed(Key) - Method in interface io.github.srcimon.screwbox.core.keyboard.Keyboard
Returns true if the given Key was typed right now.
isPressed(MouseButton) - Method in interface io.github.srcimon.screwbox.core.mouse.Mouse
Checks if the given MouseButton was just pressed (Will be false in the next frame.).
isPressedLeft() - Method in interface io.github.srcimon.screwbox.core.mouse.Mouse
Checks if the left mouse button was just pressed (Will be false in the next frame.).
isPressedRight() - Method in interface io.github.srcimon.screwbox.core.mouse.Mouse
Checks if the right mouse button was just pressed (Will be false in the next frame.).
isSelectedItem(UiMenuItem) - Method in class io.github.srcimon.screwbox.core.ui.UiMenu
 
isSet() - Method in class io.github.srcimon.screwbox.core.Time
Returns true if this instance is not unset.
isSystemPresent(Class<? extends EntitySystem>) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
 
isTick() - Method in class io.github.srcimon.screwbox.core.utils.Sheduler
Checks if the timer is triggered now.
isTick(Time) - Method in class io.github.srcimon.screwbox.core.utils.Sheduler
Checks if the timer is triggered at the given Time.
isTriggered - Variable in class io.github.srcimon.screwbox.core.environment.logic.SignalComponent
 
isUnset() - Method in class io.github.srcimon.screwbox.core.Time
Returns true if this instance is unset.
isUseAntialising() - Method in class io.github.srcimon.screwbox.core.graphics.GraphicsConfiguration
Returns true if antialising is used.
isVertical() - Method in enum class io.github.srcimon.screwbox.core.graphics.Flip
 
isVisible(Offset) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
Returns true if the given Offset is within the Screen area.
isVisible(ScreenBounds) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
Returns true if the given ScreenBounds is within the Screen area.
isWarmedUp() - Method in interface io.github.srcimon.screwbox.core.Engine
Returns true if the engine has reached a certain speed for once.
isZero() - Method in class io.github.srcimon.screwbox.core.Percent
Returns true if value is 0.
isZero() - Method in class io.github.srcimon.screwbox.core.Vector
Checks if Vector is located on coordinates 0:0.
ITALIC - Enum constant in enum class io.github.srcimon.screwbox.core.graphics.Font.Style
 
ITALIC_BOLD - Enum constant in enum class io.github.srcimon.screwbox.core.graphics.Font.Style
 
itemCount() - Method in class io.github.srcimon.screwbox.core.ui.UiMenu
 
itemIndex(UiMenuItem) - Method in class io.github.srcimon.screwbox.core.ui.UiMenu
 
items() - Method in class io.github.srcimon.screwbox.core.ui.UiMenu
 

J

J - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 

K

K - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
Key - Enum Class in io.github.srcimon.screwbox.core.keyboard
A key on your Keyboard.
keyboard() - Method in interface io.github.srcimon.screwbox.core.Engine
Retrieve information about the current Keyboard state.
Keyboard - Interface in io.github.srcimon.screwbox.core.keyboard
 
KeyboardAndMouseInteractor - Class in io.github.srcimon.screwbox.core.ui
 
KeyboardAndMouseInteractor() - Constructor for class io.github.srcimon.screwbox.core.ui.KeyboardAndMouseInteractor
 
KeyboardInteractor - Class in io.github.srcimon.screwbox.core.ui
 
KeyboardInteractor() - Constructor for class io.github.srcimon.screwbox.core.ui.KeyboardInteractor
 
KeyCombination - Class in io.github.srcimon.screwbox.core.keyboard
A combination of multiple Keys.
keys() - Method in class io.github.srcimon.screwbox.core.keyboard.KeyCombination
Returns all Keys in that KeyCombination.

L

L - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
label(Engine) - Method in class io.github.srcimon.screwbox.core.ui.UiMenuItem
 
lastNode() - Method in class io.github.srcimon.screwbox.core.Path
 
lastUpdate() - Method in interface io.github.srcimon.screwbox.core.loop.Loop
Returns the Time of the last update cycle.
Latch<T> - Class in io.github.srcimon.screwbox.core.utils
Utility class that holds two instances of a class to be easily swapped between an active and inactive state.
LEFT - Enum constant in enum class io.github.srcimon.screwbox.core.mouse.MouseButton
The left mouse button.
length() - Method in class io.github.srcimon.screwbox.core.Line
 
length() - Method in class io.github.srcimon.screwbox.core.Vector
Returns the length of the Vector.
length(double) - Method in class io.github.srcimon.screwbox.core.Vector
Returns a new Vector in the same direction but at the given length.
light() - Method in interface io.github.srcimon.screwbox.core.graphics.Graphics
Subsystem for creating and rendering light effects to the screen.
Light - Interface in io.github.srcimon.screwbox.core.graphics
Subsystem for creating and rendering light effects to the screen.
LIGHT_FALLOFF - Enum constant in enum class io.github.srcimon.screwbox.core.graphics.GraphicsConfigurationEvent.ConfigurationProperty
 
LightBlockingComponent - Class in io.github.srcimon.screwbox.core.environment.light
 
LightBlockingComponent() - Constructor for class io.github.srcimon.screwbox.core.environment.light.LightBlockingComponent
 
lightFalloff() - Method in class io.github.srcimon.screwbox.core.graphics.GraphicsConfiguration
 
lightFalloff(Percent) - Method in class io.github.srcimon.screwbox.core.graphics.GraphicsConfiguration
 
LIGHTMAP_BLUR - Enum constant in enum class io.github.srcimon.screwbox.core.graphics.GraphicsConfigurationEvent.ConfigurationProperty
 
LIGHTMAP_SCALE - Enum constant in enum class io.github.srcimon.screwbox.core.graphics.GraphicsConfigurationEvent.ConfigurationProperty
 
lightmapBlur() - Method in class io.github.srcimon.screwbox.core.graphics.GraphicsConfiguration
Returns the current blur of the lightmap.
lightmapScale() - Method in class io.github.srcimon.screwbox.core.graphics.GraphicsConfiguration
Returns the current lightmap resolution modifier.
LightOptions - Record Class in io.github.srcimon.screwbox.core.graphics
 
LightOptions(double, Color, double, Color) - Constructor for record class io.github.srcimon.screwbox.core.graphics.LightOptions
Creates an instance of a LightOptions record class.
LightRenderSystem - Class in io.github.srcimon.screwbox.core.environment.light
 
LightRenderSystem() - Constructor for class io.github.srcimon.screwbox.core.environment.light.LightRenderSystem
 
Line - Class in io.github.srcimon.screwbox.core
Defines the Line between two Vectors.
LINEAR_IN - Enum constant in enum class io.github.srcimon.screwbox.core.environment.tweening.TweenMode
Linear fade in: 0 to 1
LINEAR_OUT - Enum constant in enum class io.github.srcimon.screwbox.core.environment.tweening.TweenMode
Linear fade out: 1 to 0
listAssetLocationsInClassPackage(Class<?>) - Method in interface io.github.srcimon.screwbox.core.assets.Assets
List all AssetLocation defined in the package of the given class.
listAssetLocationsInPackage(String) - Method in interface io.github.srcimon.screwbox.core.assets.Assets
List all AssetLocation defined in the given package.
ListUtil - Class in io.github.srcimon.screwbox.core.utils
 
load() - Method in class io.github.srcimon.screwbox.core.assets.Asset
Loads the actual resource in the Asset wrapper so it can be received very fast on get().
load() - Method in class io.github.srcimon.screwbox.core.assets.AssetLocation
Loads the Asset.
loadBinary(String) - Static method in class io.github.srcimon.screwbox.core.utils.Resources
 
loadingDuration() - Method in class io.github.srcimon.screwbox.core.assets.AssetLocation
Returns the Duration it took to load the Asset.
loadJson(String, Class<T>) - Static method in class io.github.srcimon.screwbox.core.utils.Resources
 
loadSavegame(String) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
Loads a previously created savegame file and restores the saved Environment.entities() in the Environment.
log() - Method in interface io.github.srcimon.screwbox.core.Engine
Provides some super basic logging features and the ability to pick up engine log events via Log.setAdapter(LoggingAdapter) (log.LoggingAdapter)}.
log(LogLevel, String) - Method in class io.github.srcimon.screwbox.core.log.ConsoleLoggingAdapter
 
log(LogLevel, String) - Method in interface io.github.srcimon.screwbox.core.log.Log
Logs a message using the given LogLevel.
log(LogLevel, String) - Method in interface io.github.srcimon.screwbox.core.log.LoggingAdapter
Is invoked whenever a log message should be created.
Log - Interface in io.github.srcimon.screwbox.core.log
Provides some super basic logging features and the ability to pick up engine log events via Log.setAdapter(LoggingAdapter).
logError(String) - Method in class io.github.srcimon.screwbox.core.log.ConsoleLoggingAdapter
 
LogFpsSystem - Class in io.github.srcimon.screwbox.core.environment.debug
 
LogFpsSystem() - Constructor for class io.github.srcimon.screwbox.core.environment.debug.LogFpsSystem
 
LoggingAdapter - Interface in io.github.srcimon.screwbox.core.log
Attaches the Engine logging events your preferred logging system.
LogLevel - Enum Class in io.github.srcimon.screwbox.core.log
Severity of a log message.
logNormal(String) - Method in class io.github.srcimon.screwbox.core.log.ConsoleLoggingAdapter
 
loop() - Method in interface io.github.srcimon.screwbox.core.Engine
Provides access to current performance metrics and to controls the target frames per second.
Loop - Interface in io.github.srcimon.screwbox.core.loop
Provides access to current performance metrics and to controls the target frames per second.
Lurk - Class in io.github.srcimon.screwbox.core.utils
 

M

M - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
MacOsSupport - Class in io.github.srcimon.screwbox.core.utils
Gives support for MacOs specific features.
MagnetComponent - Class in io.github.srcimon.screwbox.core.environment.physics
 
MagnetComponent(double, double) - Constructor for class io.github.srcimon.screwbox.core.environment.physics.MagnetComponent
 
magnetModifier - Variable in class io.github.srcimon.screwbox.core.environment.physics.PhysicsComponent
 
MagnetSystem - Class in io.github.srcimon.screwbox.core.environment.physics
 
MagnetSystem() - Constructor for class io.github.srcimon.screwbox.core.environment.physics.MagnetSystem
 
matches(Entity) - Method in class io.github.srcimon.screwbox.core.environment.Archetype
Returns true if the given Entity contains all Components of the Archetype.
matches(Size) - Method in enum class io.github.srcimon.screwbox.core.graphics.AspectRatio
 
MathUtil - Class in io.github.srcimon.screwbox.core.utils
Utility functions for math operations.
max() - Static method in class io.github.srcimon.screwbox.core.Bounds
Creates a new Bounds on maximum size and Bounds.position() on the center of the game World.
max() - Static method in class io.github.srcimon.screwbox.core.Percent
Returns 100 percent.
maxX() - Method in class io.github.srcimon.screwbox.core.Bounds
 
maxY() - Method in class io.github.srcimon.screwbox.core.Bounds
 
merge(List<T>, List<T>) - Static method in class io.github.srcimon.screwbox.core.utils.ListUtil
 
MIDDLE - Enum constant in enum class io.github.srcimon.screwbox.core.mouse.MouseButton
The middle mouse button.
MIDI - Enum constant in enum class io.github.srcimon.screwbox.core.audio.Sound.Format
 
milliseconds() - Method in class io.github.srcimon.screwbox.core.Duration
Returns the total milliseconds of the Duration.
milliseconds() - Method in class io.github.srcimon.screwbox.core.Time
The seconds value that represents the current Time.
MIN_TARGET_FPS - Static variable in interface io.github.srcimon.screwbox.core.loop.Loop
The minimum target frames per second.
minX() - Method in class io.github.srcimon.screwbox.core.Bounds
 
minY() - Method in class io.github.srcimon.screwbox.core.Bounds
 
mode - Variable in class io.github.srcimon.screwbox.core.environment.tweening.TweenComponent
 
modifier(double) - Static method in class io.github.srcimon.screwbox.core.utils.MathUtil
Returns 1 if value is positive or -1 if value is negative.
momentum - Variable in class io.github.srcimon.screwbox.core.environment.physics.PhysicsComponent
 
MosaikTransition - Class in io.github.srcimon.screwbox.core.graphics.transitions
 
MosaikTransition(int, int) - Constructor for class io.github.srcimon.screwbox.core.graphics.transitions.MosaikTransition
 
mouse() - Method in interface io.github.srcimon.screwbox.core.Engine
Subsystem for getting Information on the Mouse.
Mouse - Interface in io.github.srcimon.screwbox.core.mouse
Subsystem for getting Information on the Mouse.
MouseButton - Enum Class in io.github.srcimon.screwbox.core.mouse
The mouse-Buttons.
MouseCursor - Enum Class in io.github.srcimon.screwbox.core.graphics
Some predefined mouse cursors that you can use.
moveBy(double, double) - Method in class io.github.srcimon.screwbox.core.Bounds
Returns a instance of this Bounds that was moved by the given X and Y values to a new position.
moveBy(Vector) - Method in class io.github.srcimon.screwbox.core.Bounds
Returns a instance of this Bounds that was moved by the given Vector to a new position.
moveCameraBy(Vector) - Method in interface io.github.srcimon.screwbox.core.graphics.Graphics
Moves the camera position by the given Vector.
moveTo(Offset) - Method in interface io.github.srcimon.screwbox.core.window.Window
Moves the Window to a new position.
moveTo(Vector) - Method in class io.github.srcimon.screwbox.core.Bounds
Returns a instance of this Bounds that was moved to the given Bounds.position.
multipleFromFile(String, Size) - Static method in class io.github.srcimon.screwbox.core.graphics.Sprite
 
multiply(double) - Method in class io.github.srcimon.screwbox.core.Percent
Returns a new instance with the current value multiplied with the given value.
multiply(double) - Method in class io.github.srcimon.screwbox.core.Vector
Returns a Vector whose components are multiplied with the given factor.
musicVolume() - Method in interface io.github.srcimon.screwbox.core.audio.Audio
Returns the current volume for music.
mute() - Method in interface io.github.srcimon.screwbox.core.audio.Audio
Mutes all playback.
muteEffects() - Method in interface io.github.srcimon.screwbox.core.audio.Audio
Mutes effects playback.
muteMusic() - Method in interface io.github.srcimon.screwbox.core.audio.Audio
Mutes music playback.

N

N - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
name() - Method in interface io.github.srcimon.screwbox.core.Engine
Returns the name of the Engine.
name() - Method in class io.github.srcimon.screwbox.core.environment.Entity
 
name() - Method in class io.github.srcimon.screwbox.core.graphics.Font
 
name(String) - Method in class io.github.srcimon.screwbox.core.environment.Entity
 
nanos() - Method in class io.github.srcimon.screwbox.core.Duration
Returns the total nanoseconds of the Duration.
nanos() - Method in class io.github.srcimon.screwbox.core.Time
The nanoseconds value that represents the current Time.
NANOS_PER_MICROSECOND - Static variable in class io.github.srcimon.screwbox.core.Time
Count of nanoseconds per microsecond.
NANOS_PER_MILLISECOND - Static variable in class io.github.srcimon.screwbox.core.Time
Count of nanoseconds per millisecond.
NANOS_PER_SECOND - Static variable in class io.github.srcimon.screwbox.core.Time
Count of nanoseconds per second.
nearestHit() - Method in class io.github.srcimon.screwbox.core.physics.Raycast
 
neighbors(Grid.Node) - Method in class io.github.srcimon.screwbox.core.Grid
 
nextItem(Engine) - Method in class io.github.srcimon.screwbox.core.ui.UiMenu
 
Node(int, int, Grid.Node) - Constructor for record class io.github.srcimon.screwbox.core.Grid.Node
Creates an instance of a Node record class.
nodeAt(int, int) - Method in class io.github.srcimon.screwbox.core.Grid
Returns the Grid.Node at the given Position.
nodeCount() - Method in class io.github.srcimon.screwbox.core.Grid
Returns the count of Grid.Nodes in the Grid.
nodeCount() - Method in class io.github.srcimon.screwbox.core.Path
 
nodes() - Method in class io.github.srcimon.screwbox.core.Grid
Returns all Grid.Nodes in the Grid.
nodes() - Method in class io.github.srcimon.screwbox.core.Path
 
noGlow(double) - Static method in record class io.github.srcimon.screwbox.core.graphics.LightOptions
 
noHit() - Method in class io.github.srcimon.screwbox.core.physics.Raycast
 
none() - Static method in class io.github.srcimon.screwbox.core.Duration
Creates a new instance with no duration at all.
none() - Static method in class io.github.srcimon.screwbox.core.graphics.Size
Returns a Size without any extends.
none() - Static method in class io.github.srcimon.screwbox.core.Rotation
Creates a new Rotation of zero Rotation.degrees().
NONE - Enum constant in enum class io.github.srcimon.screwbox.core.graphics.Flip
not flipped
normal(Vector, double) - Static method in class io.github.srcimon.screwbox.core.Line
Creates a new instance of Line defined by the starting point and the length of the line goint up from this point.
NORMAL - Enum constant in enum class io.github.srcimon.screwbox.core.graphics.Font.Style
 
now() - Static method in class io.github.srcimon.screwbox.core.Time
Returns a new instance for the current Time.
NUMBER_1 - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
NUMBER_2 - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
NUMBER_3 - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
NUMBER_4 - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
NUMBER_5 - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
NUMBER_6 - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 

O

O - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
of(double) - Static method in class io.github.srcimon.screwbox.core.Percent
Returns a new instance with the given values.
of(double, double) - Static method in class io.github.srcimon.screwbox.core.graphics.Size
Returns a new instance of Size with the given Size.width() and Size.height().
of(double, double) - Static method in class io.github.srcimon.screwbox.core.Vector
Creates a new Instance of Vector at the given coordinates.
of(int, int) - Static method in class io.github.srcimon.screwbox.core.graphics.Size
Returns a new instance of Size with the given Size.width() and Size.height().
of(Line) - Static method in class io.github.srcimon.screwbox.core.Rotation
Returns the Rotation between a given Line and a vertical line from the Line.from().
of(Class<? extends Component>...) - Static method in class io.github.srcimon.screwbox.core.environment.Archetype
Creates a new Archetype.
of(T, T) - Static method in class io.github.srcimon.screwbox.core.utils.Latch
New instance with the given variables.
of(T, T, T) - Static method in class io.github.srcimon.screwbox.core.utils.TrippleLatch
 
ofExecution(Runnable) - Static method in class io.github.srcimon.screwbox.core.Duration
Creates a new instance with the duration of the time it took to execute the given Runnable.
offset() - Method in record class io.github.srcimon.screwbox.core.graphics.ScreenBounds
Returns the value of the offset record component.
offset() - Method in interface io.github.srcimon.screwbox.core.mouse.Mouse
Returns the current mouse Offset at the Screen.
offset() - Method in record class io.github.srcimon.screwbox.core.window.FilesDropedOnWindow
Returns the value of the offset record component.
Offset - Class in io.github.srcimon.screwbox.core.graphics
Represents a Position on the Window.
ofKeys(Key...) - Static method in class io.github.srcimon.screwbox.core.keyboard.KeyCombination
Creats a new instance of the given Keys.
ofMicros(long) - Static method in class io.github.srcimon.screwbox.core.Duration
Creates a new instance with the duration of the given value of microseconds.
ofMillis(long) - Static method in class io.github.srcimon.screwbox.core.Duration
Creates a new instance with the duration of the given value of milliseconds.
ofMomentum(double, double) - Static method in class io.github.srcimon.screwbox.core.Rotation
Returns the Rotation-value of an objects momentum.
ofMovement(Vector) - Static method in class io.github.srcimon.screwbox.core.Rotation
Returns the Rotation-value of an objects momentum.
ofNanos(long) - Static method in class io.github.srcimon.screwbox.core.Duration
Creates a new instance with the duration of the given value of nanoseconds.
ofSeconds(long) - Static method in class io.github.srcimon.screwbox.core.Duration
Creates a new instance with the duration of the given value of seconds.
onActivate(Consumer<Engine>) - Method in class io.github.srcimon.screwbox.core.ui.UiMenuItem
 
onEnter(Engine) - Method in interface io.github.srcimon.screwbox.core.scenes.Scene
 
onExit(Engine) - Method in interface io.github.srcimon.screwbox.core.scenes.Scene
 
onExit(Engine) - Method in class io.github.srcimon.screwbox.core.ui.UiMenu
 
opacity - Variable in class io.github.srcimon.screwbox.core.environment.rendering.RenderComponent
 
opacity() - Method in class io.github.srcimon.screwbox.core.graphics.Color
Returns the colors opacity value.
opacity() - Method in record class io.github.srcimon.screwbox.core.graphics.SpriteBatch.SpriteBatchEntry
Returns the value of the opacity record component.
opacity(double) - Method in class io.github.srcimon.screwbox.core.graphics.Color
Creates a new instance with same RGB-components, but custom Color.opacity().
opacity(Percent) - Method in class io.github.srcimon.screwbox.core.graphics.Color
Creates a new instance with same RGB-components, but custom Color.opacity().
opacityModifier - Variable in class io.github.srcimon.screwbox.core.environment.rendering.ReflectionComponent
 
open() - Method in interface io.github.srcimon.screwbox.core.window.Window
 
openMenu(UiMenu) - Method in interface io.github.srcimon.screwbox.core.ui.Ui
Opens a UiMenu.
openPreviousMenu() - Method in interface io.github.srcimon.screwbox.core.ui.Ui
Opens the previous UiMenu.
OPTIMIZATION - Enum constant in enum class io.github.srcimon.screwbox.core.environment.SystemOrder
 
OptimizeLightPerformanceSystem - Class in io.github.srcimon.screwbox.core.environment.light
 
OptimizeLightPerformanceSystem() - Constructor for class io.github.srcimon.screwbox.core.environment.light.OptimizeLightPerformanceSystem
 
OptimizePhysicsPerformanceSystem - Class in io.github.srcimon.screwbox.core.environment.physics
 
OptimizePhysicsPerformanceSystem() - Constructor for class io.github.srcimon.screwbox.core.environment.physics.OptimizePhysicsPerformanceSystem
 
options - Variable in class io.github.srcimon.screwbox.core.environment.light.ConeLightComponent
 
options - Variable in class io.github.srcimon.screwbox.core.environment.light.PointLightComponent
 
options - Variable in class io.github.srcimon.screwbox.core.environment.light.SpotLightComponent
 
ORANGE - Static variable in class io.github.srcimon.screwbox.core.graphics.Color
The color orange.
Order - Annotation Interface in io.github.srcimon.screwbox.core.environment
 
origin() - Method in class io.github.srcimon.screwbox.core.Bounds
 
origin() - Static method in class io.github.srcimon.screwbox.core.graphics.Offset
Upper left corner of the Window.
overlapArea(Bounds) - Method in class io.github.srcimon.screwbox.core.Bounds
Calculates the area of overlap between this Bounds and the other Bounds.

P

P - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
padding() - Method in class io.github.srcimon.screwbox.core.graphics.Pixelfont
The space between characters of this font.
PAGE_DOWN - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
PAGE_UP - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
parent() - Method in record class io.github.srcimon.screwbox.core.Grid.Node
Returns the value of the parent record component.
path - Variable in class io.github.srcimon.screwbox.core.environment.physics.AutomovementComponent
 
Path - Class in io.github.srcimon.screwbox.core
 
pathfindingAlgorithm() - Method in interface io.github.srcimon.screwbox.core.physics.Physics
Returns the currently used PathfindingAlgorithm.
PathfindingAlgorithm - Interface in io.github.srcimon.screwbox.core.physics
 
PathfindingSystem - Class in io.github.srcimon.screwbox.core.environment.physics
 
PathfindingSystem(int, Sheduler) - Constructor for class io.github.srcimon.screwbox.core.environment.physics.PathfindingSystem
 
Percent - Class in io.github.srcimon.screwbox.core
A percent value between 0.0 and 1.0.
physics() - Method in interface io.github.srcimon.screwbox.core.Engine
Advanced searching for entities, pathfinding, raycasting and adjusting Entites to a Grid.
Physics - Interface in io.github.srcimon.screwbox.core.physics
Advanced searching for entities, pathfinding, raycasting and adjusting Entites to a Grid.
PhysicsComponent - Class in io.github.srcimon.screwbox.core.environment.physics
 
PhysicsComponent() - Constructor for class io.github.srcimon.screwbox.core.environment.physics.PhysicsComponent
 
PhysicsComponent(Vector) - Constructor for class io.github.srcimon.screwbox.core.environment.physics.PhysicsComponent
 
PhysicsSystem - Class in io.github.srcimon.screwbox.core.environment.physics
 
PhysicsSystem() - Constructor for class io.github.srcimon.screwbox.core.environment.physics.PhysicsSystem
 
pixelCount() - Method in class io.github.srcimon.screwbox.core.graphics.Size
 
Pixelfont - Class in io.github.srcimon.screwbox.core.graphics
A font made of Sprites (even animated ones) for system independent rendering.
Pixelfont() - Constructor for class io.github.srcimon.screwbox.core.graphics.Pixelfont
 
playEffect(Sound) - Method in interface io.github.srcimon.screwbox.core.audio.Audio
Plays a Sound a single time with Audio.effectVolume().
playEffect(Supplier<Sound>) - Method in interface io.github.srcimon.screwbox.core.audio.Audio
Plays a Sound from an Asset a single time with Audio.effectVolume().
playEffectLooped(Sound) - Method in interface io.github.srcimon.screwbox.core.audio.Audio
Plays a Sound looped with Audio.effectVolume().
playMusic(Sound) - Method in interface io.github.srcimon.screwbox.core.audio.Audio
Plays a Sound looped with Audio.musicVolume().
playMusicLooped(Sound) - Method in interface io.github.srcimon.screwbox.core.audio.Audio
Plays a Sound looped with Audio.musicVolume() ()}.
plus(Duration) - Method in class io.github.srcimon.screwbox.core.Time
Returns a new instance of Time after the current Time instance.
plusMillis(long) - Method in class io.github.srcimon.screwbox.core.Time
Returns a new instance of Time after the current Time instance.
plusSeconds(long) - Method in class io.github.srcimon.screwbox.core.Time
Returns a new instance of Time after the current Time instance.
PointLightComponent - Class in io.github.srcimon.screwbox.core.environment.light
 
PointLightComponent(LightOptions) - Constructor for class io.github.srcimon.screwbox.core.environment.light.PointLightComponent
 
populate(Environment) - Method in class io.github.srcimon.screwbox.core.scenes.DefaultLoadingScene
 
populate(Environment) - Method in interface io.github.srcimon.screwbox.core.scenes.Scene
 
position() - Method in class io.github.srcimon.screwbox.core.Bounds
 
position() - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
Returns the position of the Screen relative to the monitor.
position() - Method in record class io.github.srcimon.screwbox.core.graphics.SpriteBatch.SpriteBatchEntry
Returns the value of the position record component.
position() - Method in interface io.github.srcimon.screwbox.core.mouse.Mouse
Returns the current mouse position in the World.
position() - Method in interface io.github.srcimon.screwbox.core.window.Window
Returns the current position of the Window.
PREPARATION - Enum constant in enum class io.github.srcimon.screwbox.core.environment.SystemOrder
 
prepareClassPackage(Class<?>) - Method in interface io.github.srcimon.screwbox.core.assets.Assets
Loads all unloaded AssetLocations in the package of the given class.
prepareClassPackageAsync(Class<?>) - Method in interface io.github.srcimon.screwbox.core.assets.Assets
Start asynchronous loading of all unloaded Assets in the package of the given class.
preparePackage(String) - Method in interface io.github.srcimon.screwbox.core.assets.Assets
Loads all unloaded AssetLocations in the given package.
preparePackageAsync(String) - Method in interface io.github.srcimon.screwbox.core.assets.Assets
Start asynchronous loading of all unloaded Assets in the given package.
PRESENTATION_BACKGROUND - Enum constant in enum class io.github.srcimon.screwbox.core.environment.SystemOrder
 
PRESENTATION_EFFECTS - Enum constant in enum class io.github.srcimon.screwbox.core.environment.SystemOrder
 
PRESENTATION_LIGHT - Enum constant in enum class io.github.srcimon.screwbox.core.environment.SystemOrder
 
PRESENTATION_OVERLAY - Enum constant in enum class io.github.srcimon.screwbox.core.environment.SystemOrder
 
PRESENTATION_PREPARE - Enum constant in enum class io.github.srcimon.screwbox.core.environment.SystemOrder
 
PRESENTATION_TRANSITIONS - Enum constant in enum class io.github.srcimon.screwbox.core.environment.SystemOrder
 
PRESENTATION_UI - Enum constant in enum class io.github.srcimon.screwbox.core.environment.SystemOrder
 
PRESENTATION_UI_BACKGROUND - Enum constant in enum class io.github.srcimon.screwbox.core.environment.SystemOrder
 
PRESENTATION_UI_FOREGROUND - Enum constant in enum class io.github.srcimon.screwbox.core.environment.SystemOrder
 
PRESENTATION_WORLD - Enum constant in enum class io.github.srcimon.screwbox.core.environment.SystemOrder
 
pressedKeys() - Method in interface io.github.srcimon.screwbox.core.keyboard.Keyboard
Returns all pressed Keys.
previousItem(Engine) - Method in class io.github.srcimon.screwbox.core.ui.UiMenu
 
progress - Variable in class io.github.srcimon.screwbox.core.environment.tweening.TweenComponent
 
put(K, V) - Method in class io.github.srcimon.screwbox.core.utils.Cache
 
put(K, V) - Method in class io.github.srcimon.screwbox.core.utils.TimeoutCache
 

Q

Q - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
quater() - Static method in class io.github.srcimon.screwbox.core.Percent
Returns 25 percent.
QuitOnKeySystem - Class in io.github.srcimon.screwbox.core.environment.core
 
QuitOnKeySystem() - Constructor for class io.github.srcimon.screwbox.core.environment.core.QuitOnKeySystem
 
QuitOnKeySystem(Key) - Constructor for class io.github.srcimon.screwbox.core.environment.core.QuitOnKeySystem
 

R

r() - Method in class io.github.srcimon.screwbox.core.graphics.Color
Returns red value of the Color.
R - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
radians() - Method in class io.github.srcimon.screwbox.core.Rotation
Returns the radians value of this Rotation.
radius() - Method in record class io.github.srcimon.screwbox.core.graphics.LightOptions
Returns the value of the radius record component.
radius(double) - Method in record class io.github.srcimon.screwbox.core.graphics.LightOptions
 
random() - Static method in class io.github.srcimon.screwbox.core.graphics.Color
Creates a random Color with full Color.opacity().
randomFrom(List<T>) - Static method in class io.github.srcimon.screwbox.core.utils.ListUtil
 
randomFrom(T...) - Static method in class io.github.srcimon.screwbox.core.utils.ListUtil
 
range - Variable in class io.github.srcimon.screwbox.core.environment.physics.MagnetComponent
 
ray() - Method in class io.github.srcimon.screwbox.core.physics.Raycast
 
Raycast - Class in io.github.srcimon.screwbox.core.physics
 
RaycastBuilder - Class in io.github.srcimon.screwbox.core.physics
 
RaycastBuilder(Environment, Vector) - Constructor for class io.github.srcimon.screwbox.core.physics.RaycastBuilder
 
raycastFrom(Vector) - Method in interface io.github.srcimon.screwbox.core.physics.Physics
 
reachableNeighbors(Grid.Node) - Method in class io.github.srcimon.screwbox.core.Grid
 
RED - Static variable in class io.github.srcimon.screwbox.core.graphics.Color
The color red.
ReflectionComponent - Class in io.github.srcimon.screwbox.core.environment.rendering
 
ReflectionComponent() - Constructor for class io.github.srcimon.screwbox.core.environment.rendering.ReflectionComponent
 
ReflectionComponent(Percent, boolean) - Constructor for class io.github.srcimon.screwbox.core.environment.rendering.ReflectionComponent
 
ReflectionRenderSystem - Class in io.github.srcimon.screwbox.core.environment.rendering
 
ReflectionRenderSystem() - Constructor for class io.github.srcimon.screwbox.core.environment.rendering.ReflectionRenderSystem
 
Reflections - Class in io.github.srcimon.screwbox.core.utils
 
registerListener(EntityListener) - Method in class io.github.srcimon.screwbox.core.environment.Entity
Registers the specified EntityListener to receive Events for this Entity.
remove(Entity) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
 
remove(Class<? extends Component>) - Method in class io.github.srcimon.screwbox.core.environment.Entity
 
remove(Class<? extends EntitySystem>) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
 
remove(Class<? extends Scene>) - Method in interface io.github.srcimon.screwbox.core.scenes.Scenes
 
remove(List<Entity>) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
 
removeNode(int) - Method in class io.github.srcimon.screwbox.core.Path
 
removeSystemIfPresent(Class<? extends EntitySystem>) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
 
render() - Method in interface io.github.srcimon.screwbox.core.graphics.Light
Renders the lightmap to Window.
RenderComponent - Class in io.github.srcimon.screwbox.core.environment.rendering
 
RenderComponent() - Constructor for class io.github.srcimon.screwbox.core.environment.rendering.RenderComponent
 
RenderComponent(int) - Constructor for class io.github.srcimon.screwbox.core.environment.rendering.RenderComponent
 
RenderComponent(Sprite) - Constructor for class io.github.srcimon.screwbox.core.environment.rendering.RenderComponent
 
RenderComponent(Sprite, int) - Constructor for class io.github.srcimon.screwbox.core.environment.rendering.RenderComponent
 
RenderComponent(Sprite, int, Percent) - Constructor for class io.github.srcimon.screwbox.core.environment.rendering.RenderComponent
 
renderInactiveItem(String, ScreenBounds, Screen) - Method in class io.github.srcimon.screwbox.core.ui.SimpleUiRenderer
 
renderInactiveItem(String, ScreenBounds, Screen) - Method in interface io.github.srcimon.screwbox.core.ui.UiRenderer
 
renderSelectableItem(String, ScreenBounds, Screen) - Method in class io.github.srcimon.screwbox.core.ui.SimpleUiRenderer
 
renderSelectableItem(String, ScreenBounds, Screen) - Method in interface io.github.srcimon.screwbox.core.ui.UiRenderer
 
renderSelectedItem(String, ScreenBounds, Screen) - Method in class io.github.srcimon.screwbox.core.ui.SimpleUiRenderer
 
renderSelectedItem(String, ScreenBounds, Screen) - Method in interface io.github.srcimon.screwbox.core.ui.UiRenderer
 
RenderSystem - Class in io.github.srcimon.screwbox.core.environment.rendering
 
RenderSystem() - Constructor for class io.github.srcimon.screwbox.core.environment.rendering.RenderSystem
 
replaceColor(Color, Color) - Method in class io.github.srcimon.screwbox.core.graphics.Frame
Returns a new instance.
replaceColor(Color, Color) - Method in class io.github.srcimon.screwbox.core.graphics.Sprite
Returns a new Sprite.
resolution() - Method in class io.github.srcimon.screwbox.core.graphics.GraphicsConfiguration
 
RESOLUTION - Enum constant in enum class io.github.srcimon.screwbox.core.graphics.GraphicsConfigurationEvent.ConfigurationProperty
 
resourceExists(String) - Static method in class io.github.srcimon.screwbox.core.utils.Resources
Returns true if there is a resource with the given file name.
Resources - Class in io.github.srcimon.screwbox.core.utils
Provides convenience methods to access ClassLoader accessible resources.
restrictZoomRangeTo(double, double) - Method in interface io.github.srcimon.screwbox.core.graphics.Graphics
Restricts zooming to the given range.
reverse - Variable in class io.github.srcimon.screwbox.core.environment.tweening.TweenComponent
 
rgb(int, int, int) - Static method in class io.github.srcimon.screwbox.core.graphics.Color
Creates a color based on RGB-components with full Color.opacity().
rgb(int, int, int, Percent) - Static method in class io.github.srcimon.screwbox.core.graphics.Color
Creates a color based on RGB-components and custom Color.opacity().
RIGHT - Enum constant in enum class io.github.srcimon.screwbox.core.mouse.MouseButton
The right mouse button.
RotateSpriteComponent - Class in io.github.srcimon.screwbox.core.environment.rendering
 
RotateSpriteComponent() - Constructor for class io.github.srcimon.screwbox.core.environment.rendering.RotateSpriteComponent
 
RotateSpriteSystem - Class in io.github.srcimon.screwbox.core.environment.rendering
 
RotateSpriteSystem() - Constructor for class io.github.srcimon.screwbox.core.environment.rendering.RotateSpriteSystem
 
rotation - Variable in class io.github.srcimon.screwbox.core.environment.rendering.RenderComponent
 
rotation() - Method in record class io.github.srcimon.screwbox.core.graphics.SpriteBatch.SpriteBatchEntry
Returns the value of the rotation record component.
Rotation - Class in io.github.srcimon.screwbox.core
Represents the Rotation between two Lines.
run(Object, Runnable) - Method in interface io.github.srcimon.screwbox.core.async.Async
Runs a task in the given context.
runExclusive(Object, Runnable) - Method in interface io.github.srcimon.screwbox.core.async.Async
Runs a task in the given context, but only if there is no other task in the context running right now.
runningTime() - Method in interface io.github.srcimon.screwbox.core.loop.Loop
Returns the running time of the game engine.

S

S - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
sameSign(double, double) - Static method in class io.github.srcimon.screwbox.core.utils.MathUtil
Returns true if both values have the same sign.
savegameExists(String) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
Returns true if there is a savegame with the given name.
scale - Variable in class io.github.srcimon.screwbox.core.environment.rendering.RenderComponent
 
scale() - Method in record class io.github.srcimon.screwbox.core.graphics.SpriteBatch.SpriteBatchEntry
Returns the value of the scale record component.
scaled(double) - Method in class io.github.srcimon.screwbox.core.graphics.Frame
Returns a scaled version of the current Frame.
scaled(double) - Method in class io.github.srcimon.screwbox.core.graphics.Sprite
Returns a scaled version of this Sprite.
Scene - Interface in io.github.srcimon.screwbox.core.scenes
 
sceneCount() - Method in interface io.github.srcimon.screwbox.core.scenes.Scenes
 
scenes() - Method in interface io.github.srcimon.screwbox.core.Engine
Use Scenes to structure different game situations.
Scenes - Interface in io.github.srcimon.screwbox.core.scenes
 
screen() - Method in interface io.github.srcimon.screwbox.core.graphics.Graphics
Access drawing operations on the game screen.
Screen - Interface in io.github.srcimon.screwbox.core.graphics
 
ScreenBounds - Record Class in io.github.srcimon.screwbox.core.graphics
Defines the area on the Screen.
ScreenBounds(int, int, int, int) - Constructor for record class io.github.srcimon.screwbox.core.graphics.ScreenBounds
 
ScreenBounds(Offset, Size) - Constructor for record class io.github.srcimon.screwbox.core.graphics.ScreenBounds
Creates an instance of a ScreenBounds record class.
ScreenTransition - Interface in io.github.srcimon.screwbox.core.graphics.transitions
 
ScreenTransitionComponent - Class in io.github.srcimon.screwbox.core.environment.rendering
 
ScreenTransitionComponent(ScreenTransition, Duration) - Constructor for class io.github.srcimon.screwbox.core.environment.rendering.ScreenTransitionComponent
 
ScreenTransitionSystem - Class in io.github.srcimon.screwbox.core.environment.rendering
 
ScreenTransitionSystem() - Constructor for class io.github.srcimon.screwbox.core.environment.rendering.ScreenTransitionSystem
 
ScrewBox - Class in io.github.srcimon.screwbox.core
Best game engine ever made (not).
ScrollingUiLayouter - Class in io.github.srcimon.screwbox.core.ui
 
ScrollingUiLayouter() - Constructor for class io.github.srcimon.screwbox.core.ui.ScrollingUiLayouter
 
searchAtPosition(Vector) - Method in interface io.github.srcimon.screwbox.core.physics.Physics
 
searchInRange(Bounds) - Method in interface io.github.srcimon.screwbox.core.physics.Physics
 
segments() - Method in class io.github.srcimon.screwbox.core.Path
 
selectAll() - Method in class io.github.srcimon.screwbox.core.physics.SelectEntityBuilder
 
selectAllEntities() - Method in class io.github.srcimon.screwbox.core.physics.Raycast
 
selectAny() - Method in class io.github.srcimon.screwbox.core.physics.SelectEntityBuilder
 
selectAnyEntity() - Method in class io.github.srcimon.screwbox.core.physics.Raycast
 
selectedItem() - Method in class io.github.srcimon.screwbox.core.ui.UiMenu
 
SelectEntityBuilder - Class in io.github.srcimon.screwbox.core.physics
 
SelectEntityBuilder(Environment, Bounds) - Constructor for class io.github.srcimon.screwbox.core.physics.SelectEntityBuilder
 
SelectEntityBuilder(Environment, Vector) - Constructor for class io.github.srcimon.screwbox.core.physics.SelectEntityBuilder
 
selectItem(UiMenuItem) - Method in class io.github.srcimon.screwbox.core.ui.UiMenu
 
setAdapter(LoggingAdapter) - Method in interface io.github.srcimon.screwbox.core.log.Log
Sets the LoggingAdapter that is used for logging all messages.
setAmbientLight(Percent) - Method in interface io.github.srcimon.screwbox.core.graphics.Light
Sets the brightness of the Light.ambientLight() that illuminates the World even without a lightsource.
setCursor(Frame) - Method in interface io.github.srcimon.screwbox.core.window.Window
Updates the mouse cursor with the given Frame when game is in fullscreen and window mode.
setCursor(MouseCursor) - Method in interface io.github.srcimon.screwbox.core.window.Window
Updates the mouse cursor of to the given MouseCursor when game is in fullscreen and window mode.
setCursor(Sprite) - Method in interface io.github.srcimon.screwbox.core.window.Window
Updates the mouse cursor with the given Sprite when game is in fullscreen and window mode.
setEffectsMuted(boolean) - Method in interface io.github.srcimon.screwbox.core.audio.Audio
Sets effects to muted or unmuted.
setEffectVolume(Percent) - Method in interface io.github.srcimon.screwbox.core.audio.Audio
Sets the volume of all Sounds that are played via Audio.playEffect(Sound) and Audio.playEffectLooped(Sound).
setFullscreen(boolean) - Method in class io.github.srcimon.screwbox.core.graphics.GraphicsConfiguration
 
setFullscreenCursor(Frame) - Method in interface io.github.srcimon.screwbox.core.window.Window
Updates the mouse cursor with the given Frame when game is in fullscreen mode.
setFullscreenCursor(MouseCursor) - Method in interface io.github.srcimon.screwbox.core.window.Window
Updates the mouse cursor of to the given MouseCursor when game is in fullscreen mode.
setFullscreenCursor(Sprite) - Method in interface io.github.srcimon.screwbox.core.window.Window
Updates the mouse cursor with the given Sprite when game is in fullscreen mode.
setGrid(Grid) - Method in interface io.github.srcimon.screwbox.core.physics.Physics
 
setInteractor(UiInteractor) - Method in interface io.github.srcimon.screwbox.core.ui.Ui
 
setLayouter(UiLayouter) - Method in interface io.github.srcimon.screwbox.core.ui.Ui
 
setLightmapBlur(int) - Method in class io.github.srcimon.screwbox.core.graphics.GraphicsConfiguration
Configures the blur of the lightmap.
setLightmapScale(int) - Method in class io.github.srcimon.screwbox.core.graphics.GraphicsConfiguration
Sets the resolution modifier for the light map.
setLoadingScene(Scene) - Method in interface io.github.srcimon.screwbox.core.scenes.Scenes
 
setMinimumSeverity(LogLevel) - Method in interface io.github.srcimon.screwbox.core.log.Log
Disables all logging below the given LogLevel (not included).
setMusicMuted(boolean) - Method in interface io.github.srcimon.screwbox.core.audio.Audio
Sets music to muted or unmuted.
setMusicVolume(Percent) - Method in interface io.github.srcimon.screwbox.core.audio.Audio
Sets the volume of all Sounds that are played via Audio.playMusic(Sound).
setMuted(boolean) - Method in interface io.github.srcimon.screwbox.core.audio.Audio
Sets all playback muted or unmuted.
setPadding(int) - Method in class io.github.srcimon.screwbox.core.graphics.Pixelfont
Sets the space between characters of this font.
setPathfindingAlgorithm(PathfindingAlgorithm) - Method in interface io.github.srcimon.screwbox.core.physics.Physics
Set the currently used PathfindingAlgorithm.
setRenderer(UiRenderer) - Method in interface io.github.srcimon.screwbox.core.ui.Ui
 
setResolution(int, int) - Method in class io.github.srcimon.screwbox.core.graphics.GraphicsConfiguration
 
setResolution(Size) - Method in class io.github.srcimon.screwbox.core.graphics.GraphicsConfiguration
 
setTargetFps(int) - Method in interface io.github.srcimon.screwbox.core.loop.Loop
Sets the games target frames per second.
setTitle(String) - Method in interface io.github.srcimon.screwbox.core.window.Window
Sets the title of the Window.
setUseAntialiasing(boolean) - Method in class io.github.srcimon.screwbox.core.graphics.GraphicsConfiguration
Sets the antialising state.
setWindowCursor(Frame) - Method in interface io.github.srcimon.screwbox.core.window.Window
Updates the mouse cursor with the given Frame when game is in window mode.
setWindowCursor(MouseCursor) - Method in interface io.github.srcimon.screwbox.core.window.Window
Updates the mouse cursor of to the given MouseCursor when game is in window mode.
setWindowCursor(Sprite) - Method in interface io.github.srcimon.screwbox.core.window.Window
Updates the mouse cursor with the given Sprite when game is in fullscreen mode.
Sheduler - Class in io.github.srcimon.screwbox.core.utils
A simple sheduler to trigger timed actions.
shift - Variable in class io.github.srcimon.screwbox.core.environment.camera.CameraMovementComponent
 
SHIFT_LEFT - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
SignalComponent - Class in io.github.srcimon.screwbox.core.environment.logic
 
SignalComponent() - Constructor for class io.github.srcimon.screwbox.core.environment.logic.SignalComponent
 
SimpleUiLayouter - Class in io.github.srcimon.screwbox.core.ui
 
SimpleUiLayouter() - Constructor for class io.github.srcimon.screwbox.core.ui.SimpleUiLayouter
 
SimpleUiRenderer - Class in io.github.srcimon.screwbox.core.ui
 
SimpleUiRenderer() - Constructor for class io.github.srcimon.screwbox.core.ui.SimpleUiRenderer
 
SIMULATION - Enum constant in enum class io.github.srcimon.screwbox.core.environment.SystemOrder
 
SIMULATION_BEGIN - Enum constant in enum class io.github.srcimon.screwbox.core.environment.SystemOrder
 
SIMULATION_LATE - Enum constant in enum class io.github.srcimon.screwbox.core.environment.SystemOrder
 
since(Time) - Static method in class io.github.srcimon.screwbox.core.Duration
Creates a new instance with the duration since the given Time value.
SINE_IN - Enum constant in enum class io.github.srcimon.screwbox.core.environment.tweening.TweenMode
Sinus fade in: 0 to 1
SINE_IN_OUT - Enum constant in enum class io.github.srcimon.screwbox.core.environment.tweening.TweenMode
Sinus fade in and out again: 0 to 1 to 0
SINE_OUT - Enum constant in enum class io.github.srcimon.screwbox.core.environment.tweening.TweenMode
Sinus fade out: 1 to 0
singleFrame() - Method in class io.github.srcimon.screwbox.core.graphics.Sprite
Returns the frame of the sprite if there is only a single frame in the sprite.
size() - Method in class io.github.srcimon.screwbox.core.Bounds
Returns the size of the Bounds.
size() - Method in class io.github.srcimon.screwbox.core.graphics.Font
 
size() - Method in class io.github.srcimon.screwbox.core.graphics.Frame
Returns the size of the frames Frame.image().
size() - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
 
size() - Method in record class io.github.srcimon.screwbox.core.graphics.ScreenBounds
Returns the value of the size record component.
size() - Method in class io.github.srcimon.screwbox.core.graphics.Sprite
Returns the size of the Sprite.
size() - Method in interface io.github.srcimon.screwbox.core.window.Window
Returns the current size of the Window.
Size - Class in io.github.srcimon.screwbox.core.graphics
 
snap(Vector) - Method in class io.github.srcimon.screwbox.core.Grid
 
snapToGrid(Bounds) - Method in interface io.github.srcimon.screwbox.core.physics.Physics
 
snapToGrid(Vector) - Method in interface io.github.srcimon.screwbox.core.physics.Physics
 
Sound - Class in io.github.srcimon.screwbox.core.audio
A Sound that can be played via Engine.audio().
Sound.Format - Enum Class in io.github.srcimon.screwbox.core.audio
The format of the sound data.
SourceImport<T> - Class in io.github.srcimon.screwbox.core.environment
 
SourceImport(List<T>, Environment) - Constructor for class io.github.srcimon.screwbox.core.environment.SourceImport
 
SourceImport.ConditionalSourceImport - Class in io.github.srcimon.screwbox.core.environment
 
SourceImport.Converter<T> - Interface in io.github.srcimon.screwbox.core.environment
 
SourceImport.IndexSourceImport<M> - Class in io.github.srcimon.screwbox.core.environment
 
SourceImport.MatchingSourceImportWithKey<M> - Class in io.github.srcimon.screwbox.core.environment
 
SPACE - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
speed - Variable in class io.github.srcimon.screwbox.core.environment.camera.CameraMovementComponent
 
speed - Variable in class io.github.srcimon.screwbox.core.environment.physics.AutomovementComponent
 
SpotLightComponent - Class in io.github.srcimon.screwbox.core.environment.light
 
SpotLightComponent(LightOptions) - Constructor for class io.github.srcimon.screwbox.core.environment.light.SpotLightComponent
 
sprite - Variable in class io.github.srcimon.screwbox.core.environment.rendering.RenderComponent
 
sprite() - Method in record class io.github.srcimon.screwbox.core.graphics.SpriteBatch.SpriteBatchEntry
Returns the value of the sprite record component.
Sprite - Class in io.github.srcimon.screwbox.core.graphics
 
Sprite(Frame) - Constructor for class io.github.srcimon.screwbox.core.graphics.Sprite
 
Sprite(List<Frame>) - Constructor for class io.github.srcimon.screwbox.core.graphics.Sprite
 
SpriteBatch - Class in io.github.srcimon.screwbox.core.graphics
 
SpriteBatch() - Constructor for class io.github.srcimon.screwbox.core.graphics.SpriteBatch
 
SpriteBatch.SpriteBatchEntry - Record Class in io.github.srcimon.screwbox.core.graphics
 
SpriteBatchEntry(Sprite, Vector, double, Percent, Rotation, Flip, int) - Constructor for record class io.github.srcimon.screwbox.core.graphics.SpriteBatch.SpriteBatchEntry
Creates an instance of a SpriteBatchEntry record class.
spriteFor(char) - Method in class io.github.srcimon.screwbox.core.graphics.Pixelfont
Returns the sprite for the given Character.
spritesFor(String) - Method in class io.github.srcimon.screwbox.core.graphics.Pixelfont
 
square(int) - Static method in class io.github.srcimon.screwbox.core.graphics.Size
Returns a new instance of Size with the given Size.width() as Size.width() and Size.height().
STANDARD - Enum constant in enum class io.github.srcimon.screwbox.core.graphics.AspectRatio
 
start() - Method in interface io.github.srcimon.screwbox.core.Engine
Starts the Engine.
start(Class<? extends Scene>) - Method in interface io.github.srcimon.screwbox.core.Engine
Starts the Engine with the given Scene.
startTime - Variable in class io.github.srcimon.screwbox.core.environment.rendering.ScreenTransitionComponent
 
startTime - Variable in class io.github.srcimon.screwbox.core.environment.tweening.TweenComponent
 
startTime() - Method in interface io.github.srcimon.screwbox.core.loop.Loop
Returns the time the Loop was started for the last time.
state - Variable in class io.github.srcimon.screwbox.core.environment.logic.StateComponent
 
StateComponent - Class in io.github.srcimon.screwbox.core.environment.logic
 
StateComponent(EntityState) - Constructor for class io.github.srcimon.screwbox.core.environment.logic.StateComponent
 
StateSystem - Class in io.github.srcimon.screwbox.core.environment.logic
 
StateSystem() - Constructor for class io.github.srcimon.screwbox.core.environment.logic.StateSystem
 
StaticColliderComponent - Class in io.github.srcimon.screwbox.core.environment.physics
 
StaticColliderComponent() - Constructor for class io.github.srcimon.screwbox.core.environment.physics.StaticColliderComponent
 
StaticLightBlockingComponent - Class in io.github.srcimon.screwbox.core.environment.light
 
StaticLightBlockingComponent() - Constructor for class io.github.srcimon.screwbox.core.environment.light.StaticLightBlockingComponent
 
stop() - Method in interface io.github.srcimon.screwbox.core.Engine
Stops a running Loop and closes the game Window.
stop(Sound) - Method in interface io.github.srcimon.screwbox.core.audio.Audio
Stops all currently playing instances of the Sound.
stopAllSounds() - Method in interface io.github.srcimon.screwbox.core.audio.Audio
Stops all currently playing Sounds.
stopUsingIndex() - Method in class io.github.srcimon.screwbox.core.environment.SourceImport.IndexSourceImport
 
style() - Method in class io.github.srcimon.screwbox.core.graphics.Font
 
substract(double) - Method in class io.github.srcimon.screwbox.core.Percent
Returns a new instance with the current value minus the given value.
substract(Offset) - Method in class io.github.srcimon.screwbox.core.graphics.Offset
 
substract(Vector) - Method in class io.github.srcimon.screwbox.core.Vector
Returns a new Vector representing the subtraction of the current and the given and the other Vector.
supportedResolutions() - Method in interface io.github.srcimon.screwbox.core.graphics.Graphics
Returns a list of all supported resolutions.
supportedResolutions(AspectRatio) - Method in interface io.github.srcimon.screwbox.core.graphics.Graphics
Returns a list of all supported resolutions of the given AspectRatio.
SwipeTransition - Class in io.github.srcimon.screwbox.core.graphics.transitions
 
SwipeTransition() - Constructor for class io.github.srcimon.screwbox.core.graphics.transitions.SwipeTransition
 
switchTo(Class<? extends Scene>) - Method in interface io.github.srcimon.screwbox.core.scenes.Scenes
 
SystemOrder - Enum Class in io.github.srcimon.screwbox.core.environment
 
systems() - Method in interface io.github.srcimon.screwbox.core.environment.Environment
Returns all EntitySystems currently attached.

T

T - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
takeScreenshot() - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
 
targetFps() - Method in interface io.github.srcimon.screwbox.core.loop.Loop
Returns the current target frames per second.
threeQuarter() - Static method in class io.github.srcimon.screwbox.core.Percent
Returns 75 percent.
Time - Class in io.github.srcimon.screwbox.core
Represents a specific Time after starting the Engine.
TimeoutCache<K,V> - Class in io.github.srcimon.screwbox.core.utils
 
TimeoutCache(Duration) - Constructor for class io.github.srcimon.screwbox.core.utils.TimeoutCache
 
title() - Method in interface io.github.srcimon.screwbox.core.window.Window
Returns the title of the Window.
to - Variable in class io.github.srcimon.screwbox.core.environment.tweening.TweenOpacityComponent
 
to - Variable in class io.github.srcimon.screwbox.core.environment.tweening.TweenPositionComponent
 
to() - Method in class io.github.srcimon.screwbox.core.Line
The endpoint of the Line.
toggle() - Method in class io.github.srcimon.screwbox.core.utils.Latch
Toggles between active and inactive value.
toggle() - Method in class io.github.srcimon.screwbox.core.utils.TrippleLatch
 
toggleAntialising() - Method in class io.github.srcimon.screwbox.core.graphics.GraphicsConfiguration
Toggles the antialising on/off.
toggleFullscreen() - Method in class io.github.srcimon.screwbox.core.graphics.GraphicsConfiguration
 
toggleSystem(EntitySystem) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
 
toGrid(Vector) - Method in class io.github.srcimon.screwbox.core.Grid
 
toOffset(Vector) - Method in interface io.github.srcimon.screwbox.core.graphics.Graphics
Returns the Offset on the Window of the given Vector in the game World.
TOP_ONLY - Enum constant in enum class io.github.srcimon.screwbox.core.physics.Borders
 
toPosition(Offset) - Method in interface io.github.srcimon.screwbox.core.graphics.Graphics
Returns the position the given Offset in the game World.
topRight() - Method in class io.github.srcimon.screwbox.core.Bounds
 
toString() - Method in class io.github.srcimon.screwbox.core.assets.AssetLocation
 
toString() - Method in class io.github.srcimon.screwbox.core.Bounds
 
toString() - Method in class io.github.srcimon.screwbox.core.Duration
 
toString() - Method in class io.github.srcimon.screwbox.core.environment.Archetype
 
toString() - Method in class io.github.srcimon.screwbox.core.environment.Entity
 
toString() - Method in class io.github.srcimon.screwbox.core.graphics.Color
 
toString() - Method in record class io.github.srcimon.screwbox.core.graphics.LightOptions
Returns a string representation of this record class.
toString() - Method in class io.github.srcimon.screwbox.core.graphics.Offset
 
toString() - Method in record class io.github.srcimon.screwbox.core.graphics.ScreenBounds
Returns a string representation of this record class.
toString() - Method in class io.github.srcimon.screwbox.core.graphics.Size
 
toString() - Method in record class io.github.srcimon.screwbox.core.graphics.SpriteBatch.SpriteBatchEntry
Returns a string representation of this record class.
toString() - Method in record class io.github.srcimon.screwbox.core.Grid.Node
Returns a string representation of this record class.
toString() - Method in class io.github.srcimon.screwbox.core.Line
 
toString() - Method in class io.github.srcimon.screwbox.core.Percent
 
toString() - Method in class io.github.srcimon.screwbox.core.Rotation
 
toString() - Method in class io.github.srcimon.screwbox.core.Time
 
toString() - Method in class io.github.srcimon.screwbox.core.Vector
 
toString() - Method in record class io.github.srcimon.screwbox.core.window.FilesDropedOnWindow
Returns a string representation of this record class.
touches(Bounds) - Method in class io.github.srcimon.screwbox.core.Bounds
Checks if this Bounds touches another Bounds.
trackedEntityId - Variable in class io.github.srcimon.screwbox.core.environment.camera.CameraMovementComponent
 
TransformComponent - Class in io.github.srcimon.screwbox.core.environment.core
 
TransformComponent(double, double, double, double) - Constructor for class io.github.srcimon.screwbox.core.environment.core.TransformComponent
 
TransformComponent(Bounds) - Constructor for class io.github.srcimon.screwbox.core.environment.core.TransformComponent
 
TransformComponent(Vector) - Constructor for class io.github.srcimon.screwbox.core.environment.core.TransformComponent
 
TransformComponent(Vector, double, double) - Constructor for class io.github.srcimon.screwbox.core.environment.core.TransformComponent
 
transition - Variable in class io.github.srcimon.screwbox.core.environment.rendering.ScreenTransitionComponent
 
TRANSPARENT - Static variable in class io.github.srcimon.screwbox.core.graphics.Color
A transparent color.
trigger(Engine) - Method in class io.github.srcimon.screwbox.core.ui.UiMenuItem
 
TriggerAreaComponent - Class in io.github.srcimon.screwbox.core.environment.logic
 
TriggerAreaComponent(Archetype) - Constructor for class io.github.srcimon.screwbox.core.environment.logic.TriggerAreaComponent
 
triggeredBy - Variable in class io.github.srcimon.screwbox.core.environment.logic.TriggerAreaComponent
 
TrippleLatch<T> - Class in io.github.srcimon.screwbox.core.utils
 
tryToCombine(Bounds, Bounds) - Static method in class io.github.srcimon.screwbox.core.utils.GeometryUtil
 
tryToCreateAt(Field) - Static method in class io.github.srcimon.screwbox.core.assets.AssetLocation
Tries to create an AssetLocation from a Field.
TweenComponent - Class in io.github.srcimon.screwbox.core.environment.tweening
Adds tweening to an Entity.
TweenComponent(Duration) - Constructor for class io.github.srcimon.screwbox.core.environment.tweening.TweenComponent
 
TweenComponent(Duration, TweenMode) - Constructor for class io.github.srcimon.screwbox.core.environment.tweening.TweenComponent
 
TweenComponent(Duration, TweenMode, boolean) - Constructor for class io.github.srcimon.screwbox.core.environment.tweening.TweenComponent
 
TweenComponent(Duration, TweenMode, boolean, boolean) - Constructor for class io.github.srcimon.screwbox.core.environment.tweening.TweenComponent
 
TweenDestroyComponent - Class in io.github.srcimon.screwbox.core.environment.tweening
Marks an Entity for removal at the end of a tween.
TweenDestroyComponent() - Constructor for class io.github.srcimon.screwbox.core.environment.tweening.TweenDestroyComponent
 
TweenDestroySystem - Class in io.github.srcimon.screwbox.core.environment.tweening
Removes all Entitys that have ended tweening and have an TweenDestroyComponent.
TweenDestroySystem() - Constructor for class io.github.srcimon.screwbox.core.environment.tweening.TweenDestroySystem
 
TweenMode - Enum Class in io.github.srcimon.screwbox.core.environment.tweening
Configures the direction and the value change in a tween.
TweenOpacityComponent - Class in io.github.srcimon.screwbox.core.environment.tweening
Links tweening to the opacity of the RenderComponent of an Entity.
TweenOpacityComponent() - Constructor for class io.github.srcimon.screwbox.core.environment.tweening.TweenOpacityComponent
 
TweenOpacityComponent(Percent, Percent) - Constructor for class io.github.srcimon.screwbox.core.environment.tweening.TweenOpacityComponent
 
TweenOpacitySystem - Class in io.github.srcimon.screwbox.core.environment.tweening
Updates the opacity of all Entitys that use tweening and have an TweenOpacityComponent.
TweenOpacitySystem() - Constructor for class io.github.srcimon.screwbox.core.environment.tweening.TweenOpacitySystem
 
TweenOrbitPositionComponent - Class in io.github.srcimon.screwbox.core.environment.tweening
Links tweening to the position of the TransformComponent of an Entity around a center position.
TweenOrbitPositionComponent(Vector, double) - Constructor for class io.github.srcimon.screwbox.core.environment.tweening.TweenOrbitPositionComponent
 
TweenPositionComponent - Class in io.github.srcimon.screwbox.core.environment.tweening
Links tweening to the position of the TransformComponent of an Entity.
TweenPositionComponent(Vector, Vector) - Constructor for class io.github.srcimon.screwbox.core.environment.tweening.TweenPositionComponent
 
TweenPositionSystem - Class in io.github.srcimon.screwbox.core.environment.tweening
Updates the postion of all Entitys that use tweening and have an TweenPositionComponent or TweenOrbitPositionComponent.
TweenPositionSystem() - Constructor for class io.github.srcimon.screwbox.core.environment.tweening.TweenPositionSystem
 
TweenSystem - Class in io.github.srcimon.screwbox.core.environment.tweening
Updates the state TweenComponents in the Environment.
TweenSystem() - Constructor for class io.github.srcimon.screwbox.core.environment.tweening.TweenSystem
 

U

U - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
ui() - Method in interface io.github.srcimon.screwbox.core.Engine
Create simple ingame menus.
Ui - Interface in io.github.srcimon.screwbox.core.ui
Create simple ingame menus.
UiInteractor - Interface in io.github.srcimon.screwbox.core.ui
 
UiLayouter - Interface in io.github.srcimon.screwbox.core.ui
 
UiMenu - Class in io.github.srcimon.screwbox.core.ui
 
UiMenu() - Constructor for class io.github.srcimon.screwbox.core.ui.UiMenu
 
UiMenuItem - Class in io.github.srcimon.screwbox.core.ui
 
UiRenderer - Interface in io.github.srcimon.screwbox.core.ui
 
unitsScrolled() - Method in interface io.github.srcimon.screwbox.core.mouse.Mouse
Returns the count of units scolled since the last frame.
unload() - Method in class io.github.srcimon.screwbox.core.assets.Asset
Removes already loaded content.
unlockFps() - Method in interface io.github.srcimon.screwbox.core.loop.Loop
Sets the games target frames per second to Integer.MAX_VALUE which is as good as unlimited.
unmute() - Method in interface io.github.srcimon.screwbox.core.audio.Audio
Unmutes all playback.
unmuteEffects() - Method in interface io.github.srcimon.screwbox.core.audio.Audio
Unmutes effects playback.
unmuteMusic() - Method in interface io.github.srcimon.screwbox.core.audio.Audio
Unmutes music playback.
unset() - Static method in class io.github.srcimon.screwbox.core.Time
Returns the a new instance of the oldest possible Time.
update(Engine) - Method in class io.github.srcimon.screwbox.core.environment.camera.CameraUpdateSystem
 
update(Engine) - Method in class io.github.srcimon.screwbox.core.environment.core.QuitOnKeySystem
 
update(Engine) - Method in class io.github.srcimon.screwbox.core.environment.debug.AutomovementDebugSystem
 
update(Engine) - Method in class io.github.srcimon.screwbox.core.environment.debug.LogFpsSystem
 
update(Engine) - Method in interface io.github.srcimon.screwbox.core.environment.EntitySystem
 
update(Engine) - Method in class io.github.srcimon.screwbox.core.environment.light.LightRenderSystem
 
update(Engine) - Method in class io.github.srcimon.screwbox.core.environment.light.OptimizeLightPerformanceSystem
 
update(Engine) - Method in class io.github.srcimon.screwbox.core.environment.logic.AreaTriggerSystem
 
update(Engine) - Method in class io.github.srcimon.screwbox.core.environment.logic.StateSystem
 
update(Engine) - Method in class io.github.srcimon.screwbox.core.environment.physics.AutomovementSystem
 
update(Engine) - Method in class io.github.srcimon.screwbox.core.environment.physics.CollisionDetectionSystem
 
update(Engine) - Method in class io.github.srcimon.screwbox.core.environment.physics.GravitySystem
 
update(Engine) - Method in class io.github.srcimon.screwbox.core.environment.physics.MagnetSystem
 
update(Engine) - Method in class io.github.srcimon.screwbox.core.environment.physics.OptimizePhysicsPerformanceSystem
 
update(Engine) - Method in class io.github.srcimon.screwbox.core.environment.physics.PathfindingSystem
 
update(Engine) - Method in class io.github.srcimon.screwbox.core.environment.physics.PhysicsSystem
 
update(Engine) - Method in class io.github.srcimon.screwbox.core.environment.rendering.FlipSpriteSystem
 
update(Engine) - Method in class io.github.srcimon.screwbox.core.environment.rendering.ReflectionRenderSystem
 
update(Engine) - Method in class io.github.srcimon.screwbox.core.environment.rendering.RenderSystem
 
update(Engine) - Method in class io.github.srcimon.screwbox.core.environment.rendering.RotateSpriteSystem
 
update(Engine) - Method in class io.github.srcimon.screwbox.core.environment.rendering.ScreenTransitionSystem
 
update(Engine) - Method in class io.github.srcimon.screwbox.core.environment.tweening.TweenDestroySystem
 
update(Engine) - Method in class io.github.srcimon.screwbox.core.environment.tweening.TweenOpacitySystem
 
update(Engine) - Method in class io.github.srcimon.screwbox.core.environment.tweening.TweenPositionSystem
 
update(Engine) - Method in class io.github.srcimon.screwbox.core.environment.tweening.TweenSystem
 
update(Entity, Engine) - Method in interface io.github.srcimon.screwbox.core.environment.logic.EntityState
 
updateCameraPosition(Vector) - Method in interface io.github.srcimon.screwbox.core.graphics.Graphics
 
updateCameraZoom(double) - Method in interface io.github.srcimon.screwbox.core.graphics.Graphics
Updates the camera zoom nearly to the given value.
updateCameraZoomBy(double) - Method in interface io.github.srcimon.screwbox.core.graphics.Graphics
Updates the camera zoom nearly by the given value.
updateDuration() - Method in interface io.github.srcimon.screwbox.core.loop.Loop
Returns the Duration that the last update took.
usePingPong - Variable in class io.github.srcimon.screwbox.core.environment.tweening.TweenComponent
 
useWaveEffect - Variable in class io.github.srcimon.screwbox.core.environment.rendering.ReflectionComponent
 
usingIndex(Function<T, M>) - Method in class io.github.srcimon.screwbox.core.environment.SourceImport
 

V

V - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
value - Variable in class io.github.srcimon.screwbox.core.environment.tweening.TweenComponent
 
value() - Element in annotation interface io.github.srcimon.screwbox.core.environment.Order
 
value() - Method in class io.github.srcimon.screwbox.core.Percent
Returns the represented value betweeen 0.0 and 1.0.
value(Time) - Method in class io.github.srcimon.screwbox.core.utils.Lurk
 
valueOf(String) - Static method in enum class io.github.srcimon.screwbox.core.audio.Sound.Format
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.github.srcimon.screwbox.core.environment.SystemOrder
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.github.srcimon.screwbox.core.environment.tweening.TweenMode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.github.srcimon.screwbox.core.graphics.AspectRatio
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.github.srcimon.screwbox.core.graphics.Flip
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.github.srcimon.screwbox.core.graphics.Font.Style
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.github.srcimon.screwbox.core.graphics.GraphicsConfigurationEvent.ConfigurationProperty
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.github.srcimon.screwbox.core.graphics.MouseCursor
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.github.srcimon.screwbox.core.keyboard.Key
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.github.srcimon.screwbox.core.log.LogLevel
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.github.srcimon.screwbox.core.mouse.MouseButton
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.github.srcimon.screwbox.core.physics.Borders
Returns the enum constant of this class with the specified name.
values() - Static method in enum class io.github.srcimon.screwbox.core.audio.Sound.Format
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.github.srcimon.screwbox.core.environment.SystemOrder
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.github.srcimon.screwbox.core.environment.tweening.TweenMode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.github.srcimon.screwbox.core.graphics.AspectRatio
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.github.srcimon.screwbox.core.graphics.Flip
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.github.srcimon.screwbox.core.graphics.Font.Style
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.github.srcimon.screwbox.core.graphics.GraphicsConfigurationEvent.ConfigurationProperty
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.github.srcimon.screwbox.core.graphics.MouseCursor
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.github.srcimon.screwbox.core.keyboard.Key
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.github.srcimon.screwbox.core.log.LogLevel
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.github.srcimon.screwbox.core.mouse.MouseButton
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.github.srcimon.screwbox.core.physics.Borders
Returns an array containing the constants of this enum class, in the order they are declared.
Vector - Class in io.github.srcimon.screwbox.core
The Vector represents a position or a distance in the 2d world.
VERTICAL - Enum constant in enum class io.github.srcimon.screwbox.core.graphics.Flip
flipped vertically
VERTICAL_ONLY - Enum constant in enum class io.github.srcimon.screwbox.core.physics.Borders
 
visibleArea() - Method in interface io.github.srcimon.screwbox.core.graphics.World
 

W

W - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
warn(String) - Method in interface io.github.srcimon.screwbox.core.log.Log
Logs a message using LogLevel.WARNING.
WARNING - Enum constant in enum class io.github.srcimon.screwbox.core.log.LogLevel
Used when something isn't right.
WAV - Enum constant in enum class io.github.srcimon.screwbox.core.audio.Sound.Format
 
when(Predicate<T>) - Method in class io.github.srcimon.screwbox.core.environment.SourceImport
 
when(M) - Method in class io.github.srcimon.screwbox.core.environment.SourceImport.IndexSourceImport
 
WHITE - Static variable in class io.github.srcimon.screwbox.core.graphics.Color
The color white.
WIDESCREEN - Enum constant in enum class io.github.srcimon.screwbox.core.graphics.AspectRatio
 
width() - Method in class io.github.srcimon.screwbox.core.Bounds
Returns the width of this Bounds.
width() - Method in class io.github.srcimon.screwbox.core.graphics.Size
The width of this Size.
width() - Method in class io.github.srcimon.screwbox.core.Grid
 
widthOf(String) - Method in class io.github.srcimon.screwbox.core.graphics.Pixelfont
Returns the width of a given text in this Pixelfont.
window() - Method in interface io.github.srcimon.screwbox.core.Engine
Used to control the game window and retrieve information about the game window.
Window - Interface in io.github.srcimon.screwbox.core.window
Used to control the game window and retrieve information about the game window.
WINDOW_MODE - Enum constant in enum class io.github.srcimon.screwbox.core.graphics.GraphicsConfigurationEvent.ConfigurationProperty
 
withInterval(Duration) - Static method in class io.github.srcimon.screwbox.core.utils.Sheduler
Creates a new Sheduler with the given interval.
withNodes(List<Vector>) - Static method in class io.github.srcimon.screwbox.core.Path
 
withSize(int) - Method in class io.github.srcimon.screwbox.core.graphics.Font
 
WobblyUiLayouter - Class in io.github.srcimon.screwbox.core.ui
 
WobblyUiLayouter() - Constructor for class io.github.srcimon.screwbox.core.ui.WobblyUiLayouter
 
world() - Method in interface io.github.srcimon.screwbox.core.graphics.Graphics
Access drawing operations on the game world.
World - Interface in io.github.srcimon.screwbox.core.graphics
 
worldArea(Grid.Node) - Method in class io.github.srcimon.screwbox.core.Grid
Returns the corresponding area of the Grid.Node in the Grid in the game world.
worldPosition(Grid.Node) - Method in class io.github.srcimon.screwbox.core.Grid
 
wsadMovement(double) - Method in interface io.github.srcimon.screwbox.core.keyboard.Keyboard
Returns the resulting Vector of a WSAD-movement scheme with the given length.

X

x() - Method in class io.github.srcimon.screwbox.core.graphics.Offset
The x-coordinate of the Offset.
x() - Method in record class io.github.srcimon.screwbox.core.Grid.Node
Returns the value of the x record component.
x() - Method in class io.github.srcimon.screwbox.core.Vector
Returns the x-component of the Vector.
x(double) - Static method in class io.github.srcimon.screwbox.core.Vector
Returns a new Vector with only an Vector.x-component.
X - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 

Y

y() - Method in class io.github.srcimon.screwbox.core.graphics.Offset
The y-coordinate of the Offset.
y() - Method in record class io.github.srcimon.screwbox.core.Grid.Node
Returns the value of the y record component.
y() - Method in class io.github.srcimon.screwbox.core.Vector
Returns the y-component of the Vector.
y(double) - Static method in class io.github.srcimon.screwbox.core.Vector
Returns a new Vector with only an Vector.y-component.
Y - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
YELLOW - Static variable in class io.github.srcimon.screwbox.core.graphics.Color
The color yellow.

Z

Z - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
 
zero() - Static method in class io.github.srcimon.screwbox.core.Percent
Returns 0 percent.
zero() - Static method in class io.github.srcimon.screwbox.core.Vector
Creates a new Instance of Vector at coordinates 0:0.
zoom - Variable in class io.github.srcimon.screwbox.core.environment.camera.CameraComponent
 
$ 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