Index
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 givenBounds.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
Sound
s. - activeCount() - Method in class io.github.srcimon.screwbox.core.audio.internal.DefaultAudio
- activeCount(Sound) - Method in interface io.github.srcimon.screwbox.core.audio.Audio
-
Returns the count of currently playing instances of the given
Sound
. - activeCount(Sound) - Method in class io.github.srcimon.screwbox.core.audio.internal.DefaultAudio
- activeCount(Supplier<Sound>) - Method in interface io.github.srcimon.screwbox.core.audio.Audio
- activeEnvironment() - Method in class io.github.srcimon.screwbox.core.scenes.internal.DefaultScenes
- activeItemIndex() - Method in class io.github.srcimon.screwbox.core.ui.UiMenu
- activePlaybacks() - Method in interface io.github.srcimon.screwbox.core.audio.Audio
-
Returns a list of all currently active
Playback
s. - activePlaybacks() - Method in class io.github.srcimon.screwbox.core.audio.internal.DefaultAudio
- activeScene() - Method in class io.github.srcimon.screwbox.core.scenes.internal.DefaultScenes
- 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
- add(int, int) - Method in class io.github.srcimon.screwbox.core.graphics.Offset
- add(Duration) - Method in class io.github.srcimon.screwbox.core.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 class io.github.srcimon.screwbox.core.scenes.internal.DefaultScenes
- add(Scene...) - Method in interface io.github.srcimon.screwbox.core.scenes.Scenes
- add(Vector) - Method in class io.github.srcimon.screwbox.core.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
- addCharacters(List<Character>, List<Sprite>) - Method in class io.github.srcimon.screwbox.core.graphics.Pixelfont
- addConeLight(Vector, Rotation, Rotation, LightOptions) - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultLight
- 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(Entity...) - Method in class io.github.srcimon.screwbox.core.environment.internal.DefaultEnvironment
- addEntities(List<Entity>) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
- addEntities(List<Entity>) - Method in class io.github.srcimon.screwbox.core.environment.internal.DefaultEnvironment
- addEntity(int, Component...) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
- addEntity(int, Component...) - Method in class io.github.srcimon.screwbox.core.environment.internal.DefaultEnvironment
- addEntity(int, String, Component...) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
- addEntity(int, String, Component...) - Method in class io.github.srcimon.screwbox.core.environment.internal.DefaultEnvironment
- addEntity(Component...) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
- addEntity(Component...) - Method in class io.github.srcimon.screwbox.core.environment.internal.DefaultEnvironment
- addEntity(Entity) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
- addEntity(Entity) - Method in class io.github.srcimon.screwbox.core.environment.internal.DefaultEnvironment
- addEntity(Entity) - Method in class io.github.srcimon.screwbox.core.environment.internal.EntityManager
- addEntity(String, Component...) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
- addEntity(String, Component...) - Method in class io.github.srcimon.screwbox.core.environment.internal.DefaultEnvironment
- addEntry(Sprite, Vector, double, Percent, Rotation, Flip, int) - Method in class io.github.srcimon.screwbox.core.graphics.SpriteBatch
- addFullBrightnessArea(Bounds) - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultLight
- 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(AudioConfigurationListener) - Method in class io.github.srcimon.screwbox.core.audio.AudioConfiguration
- addListener(GraphicsConfigurationListener) - Method in class io.github.srcimon.screwbox.core.graphics.GraphicsConfiguration
- addOrReplace(Scene) - Method in class io.github.srcimon.screwbox.core.scenes.internal.DefaultScenes
- addOrReplace(Scene) - Method in interface io.github.srcimon.screwbox.core.scenes.Scenes
- addOrReplaceSystem(EntitySystem) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
- addOrReplaceSystem(EntitySystem) - Method in class io.github.srcimon.screwbox.core.environment.internal.DefaultEnvironment
- addPointLight(Vector, LightOptions) - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultLight
- addPointLight(Vector, LightOptions) - Method in interface io.github.srcimon.screwbox.core.graphics.Light
-
Adds a pointlight to the
World
. - addShadowCaster(Bounds) - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultLight
- addShadowCaster(Bounds) - Method in interface io.github.srcimon.screwbox.core.graphics.Light
-
Adds object that cast shadows.
- addShadowCasters(List<Bounds>) - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultLight
- addShadowCasters(List<Bounds>) - Method in interface io.github.srcimon.screwbox.core.graphics.Light
-
Adds objects that cast shadows.
- addSpotLight(Vector, LightOptions) - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultLight
- 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
- addSystem(EntitySystem) - Method in class io.github.srcimon.screwbox.core.environment.internal.DefaultEnvironment
- addSystem(EntitySystem) - Method in class io.github.srcimon.screwbox.core.environment.internal.SystemManager
- addSystem(EntitySystem, SystemOrder) - Method in class io.github.srcimon.screwbox.core.environment.internal.SystemManager
- addSystem(SystemOrder, EntitySystem) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
-
Adds an
EntitySystem
to theEnvironment
with the givenSystemOrder
(overwrites annotatedSystemOrder
if present. - addSystem(SystemOrder, EntitySystem) - Method in class io.github.srcimon.screwbox.core.environment.internal.DefaultEnvironment
- addSystems(EntitySystem...) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
- addSystems(EntitySystem...) - Method in class io.github.srcimon.screwbox.core.environment.internal.DefaultEnvironment
- addX(double) - Method in class io.github.srcimon.screwbox.core.Vector
- addX(int) - Method in class io.github.srcimon.screwbox.core.graphics.Offset
- addY(double) - Method in class io.github.srcimon.screwbox.core.Vector
- 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
- allEntities() - Method in class io.github.srcimon.screwbox.core.environment.internal.EntityManager
- allFrames() - Method in class io.github.srcimon.screwbox.core.graphics.Sprite
- allIntersecting(List<Bounds>) - Method in class io.github.srcimon.screwbox.core.Bounds
- allowJumping - Variable in class io.github.srcimon.screwbox.core.environment.camera.CameraTargetComponent
- allPixels() - Method in class io.github.srcimon.screwbox.core.graphics.Size
- allSystems() - Method in class io.github.srcimon.screwbox.core.environment.internal.SystemManager
- ambientLight() - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultLight
- 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
- apply(BufferedImage) - Method in class io.github.srcimon.screwbox.core.graphics.internal.BlurImageFilter
- applyFilter(Image, ImageFilter) - Static method in class io.github.srcimon.screwbox.core.graphics.internal.ImageUtil
- applyOn(Line) - Method in class io.github.srcimon.screwbox.core.Rotation
- applyOn(Percent) - Method in enum class io.github.srcimon.screwbox.core.environment.tweening.TweenMode
- Archetype - Class in io.github.srcimon.screwbox.core.environment
- area() - Method in class io.github.srcimon.screwbox.core.Grid
- 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 class io.github.srcimon.screwbox.core.audio.AudioConfiguration
-
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 class io.github.srcimon.screwbox.core.keyboard.internal.DefaultKeyboard
- 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
- asMusic() - Method in class io.github.srcimon.screwbox.core.audio.SoundOptions
-
Sound
should be played as music usingAudioConfiguration.musicVolume()
. - 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
- assetFromFile(String) - Static method in class io.github.srcimon.screwbox.core.graphics.Sprite
- 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
Asset
s. - Assets - Interface in io.github.srcimon.screwbox.core.assets
- 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
. - AsyncRenderer - Class in io.github.srcimon.screwbox.core.graphics.internal
- AsyncRenderer(Renderer, ExecutorService) - Constructor for class io.github.srcimon.screwbox.core.graphics.internal.AsyncRenderer
- 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 givenBounds.origin()
. - atOrigin(Vector, double, double) - Static method in class io.github.srcimon.screwbox.core.Bounds
-
Creates a new
Bounds
at the givenBounds.origin()
. - atPosition(double, double, double, double) - Static method in class io.github.srcimon.screwbox.core.Bounds
-
Creates a new
Bounds
at the givenBounds.position()
. - atPosition(Vector, double, double) - Static method in class io.github.srcimon.screwbox.core.Bounds
-
Creates a new
Bounds
at the givenBounds.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
and gives information to the currentlyAudio.activePlaybacks()
. - AudioAdapter - Class in io.github.srcimon.screwbox.core.audio.internal
- AudioAdapter() - Constructor for class io.github.srcimon.screwbox.core.audio.internal.AudioAdapter
- AudioConfiguration - Class in io.github.srcimon.screwbox.core.audio
-
Read and change the current
AudioConfiguration
. - AudioConfiguration() - Constructor for class io.github.srcimon.screwbox.core.audio.AudioConfiguration
- AudioConfigurationEvent - Class in io.github.srcimon.screwbox.core.audio
-
Occurs on any Change of the
AudioConfiguration
properties. - AudioConfigurationEvent(Object, AudioConfigurationEvent.ConfigurationProperty) - Constructor for class io.github.srcimon.screwbox.core.audio.AudioConfigurationEvent
- AudioConfigurationEvent.ConfigurationProperty - Enum Class in io.github.srcimon.screwbox.core.audio
- AudioConfigurationListener - Interface in io.github.srcimon.screwbox.core.audio
-
Listener interface for receiving
AudioConfigurationEvent
s. - 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.
- availableFonts() - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultGraphics
- awaitTermination() - Method in class io.github.srcimon.screwbox.core.loop.internal.DefaultLoop
- AwtMapper - Class in io.github.srcimon.screwbox.core.graphics.internal
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
- balance() - Method in class io.github.srcimon.screwbox.core.audio.SoundOptions
-
Get the balance.
- balance(double) - Method in class io.github.srcimon.screwbox.core.audio.SoundOptions
-
Sets the balance of the playback.
- 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
- BLUE - Static variable in class io.github.srcimon.screwbox.core.graphics.Color
-
The color blue.
- BlurImageFilter - Class in io.github.srcimon.screwbox.core.graphics.internal
- BlurImageFilter(int) - Constructor for class io.github.srcimon.screwbox.core.graphics.internal.BlurImageFilter
- bodiesIntersect() - Method in class io.github.srcimon.screwbox.core.physics.internal.CollisionCheck
- bodiesTouch() - Method in class io.github.srcimon.screwbox.core.physics.internal.CollisionCheck
- 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
- camera() - Method in interface io.github.srcimon.screwbox.core.graphics.Graphics
-
Get information abound the
Camera
likeCamera.position()
. - camera() - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultGraphics
- Camera - Interface in io.github.srcimon.screwbox.core.graphics
-
Get information abound the
Camera
likeCamera.position()
. - CAMERA - Enum constant in enum class io.github.srcimon.screwbox.core.environment.internal.Feature
- cameraBounds - Variable in class io.github.srcimon.screwbox.core.environment.camera.CameraBoundsComponent
- CameraBoundsComponent - Class in io.github.srcimon.screwbox.core.environment.camera
- CameraBoundsComponent(Bounds) - Constructor for class io.github.srcimon.screwbox.core.environment.camera.CameraBoundsComponent
- CameraShakeOptions - Class in io.github.srcimon.screwbox.core.graphics
- CameraSystem - Class in io.github.srcimon.screwbox.core.environment.camera
- CameraSystem() - Constructor for class io.github.srcimon.screwbox.core.environment.camera.CameraSystem
- CameraTargetComponent - Class in io.github.srcimon.screwbox.core.environment.camera
- CameraTargetComponent() - Constructor for class io.github.srcimon.screwbox.core.environment.camera.CameraTargetComponent
- CameraTargetComponent(double) - Constructor for class io.github.srcimon.screwbox.core.environment.camera.CameraTargetComponent
- canvasHeight() - Method in class io.github.srcimon.screwbox.core.window.internal.WindowFrame
- 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 class io.github.srcimon.screwbox.core.graphics.internal.DefaultScreen
- center() - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
-
Returns the center position of the
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.audio.AudioConfigurationEvent
- changedProperty() - Method in class io.github.srcimon.screwbox.core.graphics.GraphicsConfigurationEvent
-
Returns the property of the
GraphicsConfiguration
that has been changed. - changeZoomBy(double) - Method in interface io.github.srcimon.screwbox.core.graphics.Camera
-
Updates the camera zoom nearly by the given value.
- changeZoomBy(double) - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultCamera
- ChaoticMovementComponent - Class in io.github.srcimon.screwbox.core.environment.physics
-
Adds chaotic movement to an
Entity
. - ChaoticMovementComponent(double, Duration) - Constructor for class io.github.srcimon.screwbox.core.environment.physics.ChaoticMovementComponent
- ChaoticMovementSystem - Class in io.github.srcimon.screwbox.core.environment.physics
-
Enables chaotic movement behaviour for all
Entity
s havingPhysicsComponent
andChaoticMovementComponent
. - ChaoticMovementSystem() - Constructor for class io.github.srcimon.screwbox.core.environment.physics.ChaoticMovementSystem
- 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.Node
s. - clearEntities() - Method in interface io.github.srcimon.screwbox.core.environment.Environment
-
Removes all current
Entity
s. - clearEntities() - Method in class io.github.srcimon.screwbox.core.environment.internal.DefaultEnvironment
- close() - Method in class io.github.srcimon.screwbox.core.window.internal.DefaultWindow
- close() - Method in interface io.github.srcimon.screwbox.core.window.Window
- closeMenu() - Method in class io.github.srcimon.screwbox.core.ui.internal.DefaultUi
- 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
- collider() - Method in class io.github.srcimon.screwbox.core.physics.internal.CollisionCheck
- colliderBounds() - Method in class io.github.srcimon.screwbox.core.physics.internal.CollisionCheck
- colliderComponent() - Method in class io.github.srcimon.screwbox.core.physics.internal.CollisionCheck
- 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
- CollisionCheck - Class in io.github.srcimon.screwbox.core.physics.internal
- CollisionCheck(Entity, Entity) - Constructor for class io.github.srcimon.screwbox.core.physics.internal.CollisionCheck
- 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
- CollisionResolver - Class in io.github.srcimon.screwbox.core.physics.internal
- color() - Method in record class io.github.srcimon.screwbox.core.graphics.LightOptions
-
Returns the value of the
color
record component. - color() - Method in class io.github.srcimon.screwbox.core.graphics.LineDrawOptions
-
Returns the
Color
used when drawing the line. - color() - Method in class io.github.srcimon.screwbox.core.graphics.RectangleDrawOptions
-
Returns the
Color
used when drawing the rectangle. - color(Color) - Method in record class io.github.srcimon.screwbox.core.graphics.LightOptions
- color(Color) - Static method in class io.github.srcimon.screwbox.core.graphics.LineDrawOptions
-
Sets the
Color
for drawing. - 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(CollisionCheck) - Method in class io.github.srcimon.screwbox.core.physics.internal.CollisionCheck
- 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
- componentAdded(EntityEvent) - Method in class io.github.srcimon.screwbox.core.environment.internal.EntityManager
- componentCount() - Method in class io.github.srcimon.screwbox.core.environment.Entity
- componentRemoved(EntityEvent) - Method in interface io.github.srcimon.screwbox.core.environment.EntityListener
- componentRemoved(EntityEvent) - Method in class io.github.srcimon.screwbox.core.environment.internal.EntityManager
- 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.audio.Audio
-
Read and change the current
AudioConfiguration
. - configuration() - Method in class io.github.srcimon.screwbox.core.audio.internal.DefaultAudio
- configuration() - Method in interface io.github.srcimon.screwbox.core.graphics.Graphics
-
Read and change the current
GraphicsConfiguration
. - configuration() - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultGraphics
- configurationChanged(AudioConfigurationEvent) - Method in interface io.github.srcimon.screwbox.core.audio.AudioConfigurationListener
-
invoked when a property of the
AudioConfiguration
is changed. - configurationChanged(AudioConfigurationEvent) - Method in class io.github.srcimon.screwbox.core.audio.internal.DefaultAudio
- 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(Archetype) - Method in class io.github.srcimon.screwbox.core.environment.internal.DefaultEnvironment
- contains(Offset) - Method in record class io.github.srcimon.screwbox.core.graphics.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
- contains(Class<? extends Scene>) - Method in class io.github.srcimon.screwbox.core.scenes.internal.DefaultScenes
- 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 givenList
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
- convertToStereo(AudioInputStream) - Static method in class io.github.srcimon.screwbox.core.audio.internal.AudioAdapter
- 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.
- createSavegame(String) - Method in class io.github.srcimon.screwbox.core.environment.internal.DefaultEnvironment
- createSavegame(List<Entity>, String) - Method in class io.github.srcimon.screwbox.core.environment.internal.SavegameManager
- 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 class io.github.srcimon.screwbox.core.ui.internal.DefaultUi
- 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.
- currentResolution() - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultGraphics
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 class io.github.srcimon.screwbox.core.log.internal.DefaultLog
- 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.
- DefaultAssets - Class in io.github.srcimon.screwbox.core.assets.internal
- DefaultAssets(Async, Log) - Constructor for class io.github.srcimon.screwbox.core.assets.internal.DefaultAssets
- DefaultAsync - Class in io.github.srcimon.screwbox.core.async.internal
- DefaultAsync(ExecutorService) - Constructor for class io.github.srcimon.screwbox.core.async.internal.DefaultAsync
- DefaultAudio - Class in io.github.srcimon.screwbox.core.audio.internal
- DefaultAudio(ExecutorService, AudioAdapter, Camera) - Constructor for class io.github.srcimon.screwbox.core.audio.internal.DefaultAudio
- DefaultCamera - Class in io.github.srcimon.screwbox.core.graphics.internal
- DefaultCamera(DefaultWorld) - Constructor for class io.github.srcimon.screwbox.core.graphics.internal.DefaultCamera
- DefaultEnvironment - Class in io.github.srcimon.screwbox.core.environment.internal
- DefaultEnvironment(Engine) - Constructor for class io.github.srcimon.screwbox.core.environment.internal.DefaultEnvironment
- 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. - DefaultGraphics - Class in io.github.srcimon.screwbox.core.graphics.internal
- DefaultGraphics(GraphicsConfiguration, DefaultScreen, DefaultWorld, DefaultLight, GraphicsDevice, DefaultCamera) - Constructor for class io.github.srcimon.screwbox.core.graphics.internal.DefaultGraphics
- DefaultKeyboard - Class in io.github.srcimon.screwbox.core.keyboard.internal
- DefaultKeyboard() - Constructor for class io.github.srcimon.screwbox.core.keyboard.internal.DefaultKeyboard
- DefaultLight - Class in io.github.srcimon.screwbox.core.graphics.internal
- DefaultLight(Screen, DefaultWorld, GraphicsConfiguration, ExecutorService) - Constructor for class io.github.srcimon.screwbox.core.graphics.internal.DefaultLight
- DefaultLoadingScene - Class in io.github.srcimon.screwbox.core.scenes
- DefaultLoadingScene() - Constructor for class io.github.srcimon.screwbox.core.scenes.DefaultLoadingScene
- DefaultLog - Class in io.github.srcimon.screwbox.core.log.internal
- DefaultLog(LoggingAdapter) - Constructor for class io.github.srcimon.screwbox.core.log.internal.DefaultLog
- DefaultLoop - Class in io.github.srcimon.screwbox.core.loop.internal
- DefaultLoop(List<Updatable>) - Constructor for class io.github.srcimon.screwbox.core.loop.internal.DefaultLoop
- DefaultMouse - Class in io.github.srcimon.screwbox.core.mouse.internal
- DefaultMouse(Graphics) - Constructor for class io.github.srcimon.screwbox.core.mouse.internal.DefaultMouse
- DefaultPhysics - Class in io.github.srcimon.screwbox.core.physics.internal
- DefaultPhysics(Engine) - Constructor for class io.github.srcimon.screwbox.core.physics.internal.DefaultPhysics
- DefaultRenderer - Class in io.github.srcimon.screwbox.core.graphics.internal
- DefaultRenderer() - Constructor for class io.github.srcimon.screwbox.core.graphics.internal.DefaultRenderer
- DefaultScene - Class in io.github.srcimon.screwbox.core.scenes
- DefaultScene() - Constructor for class io.github.srcimon.screwbox.core.scenes.DefaultScene
- DefaultScenes - Class in io.github.srcimon.screwbox.core.scenes.internal
- DefaultScenes(Engine, Executor) - Constructor for class io.github.srcimon.screwbox.core.scenes.internal.DefaultScenes
- DefaultScreen - Class in io.github.srcimon.screwbox.core.graphics.internal
- DefaultScreen(WindowFrame, Renderer, Robot) - Constructor for class io.github.srcimon.screwbox.core.graphics.internal.DefaultScreen
- DefaultUi - Class in io.github.srcimon.screwbox.core.ui.internal
- DefaultUi(Engine, DefaultScenes) - Constructor for class io.github.srcimon.screwbox.core.ui.internal.DefaultUi
- DefaultWindow - Class in io.github.srcimon.screwbox.core.window.internal
- DefaultWindow(WindowFrame, GraphicsConfiguration, ExecutorService, DefaultScreen, GraphicsDevice) - Constructor for class io.github.srcimon.screwbox.core.window.internal.DefaultWindow
- DefaultWorld - Class in io.github.srcimon.screwbox.core.graphics.internal
- DefaultWorld(Screen) - Constructor for class io.github.srcimon.screwbox.core.graphics.internal.DefaultWorld
- 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 givenRotation.degrees()
. - delayChanges() - Method in class io.github.srcimon.screwbox.core.environment.internal.EntityManager
- deleteSavegame(String) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
-
Deletes the savegame with the given name.
- deleteSavegame(String) - Method in class io.github.srcimon.screwbox.core.environment.internal.DefaultEnvironment
- deleteSavegame(String) - Method in class io.github.srcimon.screwbox.core.environment.internal.SavegameManager
- delta() - Method in class io.github.srcimon.screwbox.core.loop.internal.DefaultLoop
- 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 class io.github.srcimon.screwbox.core.log.internal.DefaultLog
- 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.
- disableLogging() - Method in class io.github.srcimon.screwbox.core.assets.internal.DefaultAssets
- 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
- 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 class io.github.srcimon.screwbox.core.keyboard.internal.DefaultKeyboard
- downKeys() - Method in interface io.github.srcimon.screwbox.core.keyboard.Keyboard
-
Returns all currently down
Key
s. - drag() - Method in class io.github.srcimon.screwbox.core.mouse.internal.DefaultMouse
- drag() - Method in interface io.github.srcimon.screwbox.core.mouse.Mouse
-
Returns the drag movement of the mouse since the last frame.
- DragAndDropSupport - Class in io.github.srcimon.screwbox.core.window.internal
- DragAndDropSupport(Frame, BiConsumer<List<File>, Offset>) - Constructor for class io.github.srcimon.screwbox.core.window.internal.DragAndDropSupport
- 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 class io.github.srcimon.screwbox.core.graphics.internal.AsyncRenderer
- drawCircle(Offset, int, Color, int) - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultRenderer
- drawCircle(Offset, int, Color, int) - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultScreen
- drawCircle(Offset, int, Color, int) - Method in interface io.github.srcimon.screwbox.core.graphics.internal.Renderer
- drawCircle(Offset, int, Color, int) - Method in class io.github.srcimon.screwbox.core.graphics.internal.StandbyRenderer
- drawCircle(Offset, int, Color, int) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
- drawCircle(Vector, double, Color, int) - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultWorld
- drawCircle(Vector, double, Color, int) - Method in interface io.github.srcimon.screwbox.core.graphics.World
- drawFadingCircle(Offset, int, Color) - Method in class io.github.srcimon.screwbox.core.graphics.internal.AsyncRenderer
- drawFadingCircle(Offset, int, Color) - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultRenderer
- drawFadingCircle(Offset, int, Color) - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultScreen
- drawFadingCircle(Offset, int, Color) - Method in interface io.github.srcimon.screwbox.core.graphics.internal.Renderer
- drawFadingCircle(Offset, int, Color) - Method in class io.github.srcimon.screwbox.core.graphics.internal.StandbyRenderer
- drawFadingCircle(Offset, int, Color) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
- drawFadingCircle(Vector, double, Color) - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultWorld
- drawFadingCircle(Vector, double, Color) - Method in interface io.github.srcimon.screwbox.core.graphics.World
- drawLine(Offset, Offset, LineDrawOptions) - Method in class io.github.srcimon.screwbox.core.graphics.internal.AsyncRenderer
- drawLine(Offset, Offset, LineDrawOptions) - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultRenderer
- drawLine(Offset, Offset, LineDrawOptions) - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultScreen
- drawLine(Offset, Offset, LineDrawOptions) - Method in interface io.github.srcimon.screwbox.core.graphics.internal.Renderer
- drawLine(Offset, Offset, LineDrawOptions) - Method in class io.github.srcimon.screwbox.core.graphics.internal.StandbyRenderer
- drawLine(Offset, Offset, LineDrawOptions) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
- drawLine(Line, LineDrawOptions) - Method in interface io.github.srcimon.screwbox.core.graphics.World
- drawLine(Vector, Vector, LineDrawOptions) - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultWorld
- drawLine(Vector, Vector, LineDrawOptions) - 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, RectangleDrawOptions) - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultWorld
- drawRectangle(Bounds, RectangleDrawOptions) - Method in interface io.github.srcimon.screwbox.core.graphics.World
-
Draw a rectangle on the
World
usingRectangleDrawOptions
. - drawRectangle(Offset, Size, RectangleDrawOptions) - Method in class io.github.srcimon.screwbox.core.graphics.internal.AsyncRenderer
- drawRectangle(Offset, Size, RectangleDrawOptions) - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultRenderer
- drawRectangle(Offset, Size, RectangleDrawOptions) - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultScreen
- drawRectangle(Offset, Size, RectangleDrawOptions) - Method in interface io.github.srcimon.screwbox.core.graphics.internal.Renderer
- drawRectangle(Offset, Size, RectangleDrawOptions) - Method in class io.github.srcimon.screwbox.core.graphics.internal.StandbyRenderer
- drawRectangle(Offset, Size, RectangleDrawOptions) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
-
Draws a rectangle on the screen using the given
ScreenBounds
andRectangleDrawOptions
. - drawRectangle(ScreenBounds, RectangleDrawOptions) - 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 class io.github.srcimon.screwbox.core.graphics.internal.AsyncRenderer
- drawSprite(Sprite, Offset, double, Percent, Rotation, Flip, ScreenBounds) - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultRenderer
- drawSprite(Sprite, Offset, double, Percent, Rotation, Flip, ScreenBounds) - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultScreen
- drawSprite(Sprite, Offset, double, Percent, Rotation, Flip, ScreenBounds) - Method in interface io.github.srcimon.screwbox.core.graphics.internal.Renderer
- drawSprite(Sprite, Offset, double, Percent, Rotation, Flip, ScreenBounds) - Method in class io.github.srcimon.screwbox.core.graphics.internal.StandbyRenderer
- 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 class io.github.srcimon.screwbox.core.graphics.internal.DefaultWorld
- 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 class io.github.srcimon.screwbox.core.graphics.internal.AsyncRenderer
- drawSprite(Supplier<Sprite>, Offset, double, Percent, Rotation, Flip, ScreenBounds) - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultRenderer
- drawSprite(Supplier<Sprite>, Offset, double, Percent, Rotation, Flip, ScreenBounds) - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultScreen
- drawSprite(Supplier<Sprite>, Offset, double, Percent, Rotation, Flip, ScreenBounds) - Method in interface io.github.srcimon.screwbox.core.graphics.internal.Renderer
- drawSprite(Supplier<Sprite>, Offset, double, Percent, Rotation, Flip, ScreenBounds) - Method in class io.github.srcimon.screwbox.core.graphics.internal.StandbyRenderer
- 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 class io.github.srcimon.screwbox.core.graphics.internal.DefaultWorld
- 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, Color) - Method in class io.github.srcimon.screwbox.core.graphics.internal.AsyncRenderer
- drawText(Offset, String, Font, Color) - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultRenderer
- drawText(Offset, String, Font, Color) - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultScreen
- drawText(Offset, String, Font, Color) - Method in interface io.github.srcimon.screwbox.core.graphics.internal.Renderer
- drawText(Offset, String, Font, Color) - Method in class io.github.srcimon.screwbox.core.graphics.internal.StandbyRenderer
- 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 class io.github.srcimon.screwbox.core.graphics.internal.DefaultScreen
- drawText(Offset, String, Pixelfont, Percent, double) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
- drawText(Vector, String, Font, Color) - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultWorld
- 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, Color) - Method in class io.github.srcimon.screwbox.core.graphics.internal.AsyncRenderer
- drawTextCentered(Offset, String, Font, Color) - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultRenderer
- drawTextCentered(Offset, String, Font, Color) - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultScreen
- drawTextCentered(Offset, String, Font, Color) - Method in interface io.github.srcimon.screwbox.core.graphics.internal.Renderer
- drawTextCentered(Offset, String, Font, Color) - Method in class io.github.srcimon.screwbox.core.graphics.internal.StandbyRenderer
- 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 class io.github.srcimon.screwbox.core.graphics.internal.DefaultScreen
- drawTextCentered(Offset, String, Pixelfont, Percent, double) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
- drawTextCentered(Vector, String, Font, Color) - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultWorld
- 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 class io.github.srcimon.screwbox.core.graphics.internal.DefaultWorld
- drawTextCentered(Vector, String, Pixelfont, Percent, double) - Method in interface io.github.srcimon.screwbox.core.graphics.World
- drop(DropTargetDropEvent) - Method in class io.github.srcimon.screwbox.core.window.internal.DragAndDropSupport
- 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
- duration() - Method in class io.github.srcimon.screwbox.core.graphics.CameraShakeOptions
- 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
E
- E - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
- EFFECTS_VOLUME - Enum constant in enum class io.github.srcimon.screwbox.core.audio.AudioConfigurationEvent.ConfigurationProperty
- effectVolume() - Method in class io.github.srcimon.screwbox.core.audio.AudioConfiguration
-
Returns the current volume for effects.
- emptyWhenNull(List<T>) - Static method in class io.github.srcimon.screwbox.core.utils.ListUtil
- enable() - Method in class io.github.srcimon.screwbox.core.log.internal.DefaultLog
- enable() - Method in interface io.github.srcimon.screwbox.core.log.Log
-
Turns on logging again.
- enableCamera() - Method in interface io.github.srcimon.screwbox.core.environment.Environment
-
Adds system for automatically moving the
Camera
. - enableCamera() - Method in class io.github.srcimon.screwbox.core.environment.internal.DefaultEnvironment
- enableLight() - Method in interface io.github.srcimon.screwbox.core.environment.Environment
-
Adds systems for light rendering.
- enableLight() - Method in class io.github.srcimon.screwbox.core.environment.internal.DefaultEnvironment
- enableLogging() - Method in interface io.github.srcimon.screwbox.core.assets.Assets
-
Activates logging of loading results.
- enableLogging() - Method in class io.github.srcimon.screwbox.core.assets.internal.DefaultAssets
- enableLogic() - Method in interface io.github.srcimon.screwbox.core.environment.Environment
-
Adds systems needed for stateful entities and area triggers.
- enableLogic() - Method in class io.github.srcimon.screwbox.core.environment.internal.DefaultEnvironment
- enablePhysics() - Method in interface io.github.srcimon.screwbox.core.environment.Environment
-
Adds all systems needed for physics support in this
Environment
. - enablePhysics() - Method in class io.github.srcimon.screwbox.core.environment.internal.DefaultEnvironment
- enableRendering() - Method in interface io.github.srcimon.screwbox.core.environment.Environment
-
Adds systems needed for rendering
Sprite
s. - enableRendering() - Method in class io.github.srcimon.screwbox.core.environment.internal.DefaultEnvironment
- enableTweening() - Method in interface io.github.srcimon.screwbox.core.environment.Environment
-
Adds systems needed for tweening.
- enableTweening() - Method in class io.github.srcimon.screwbox.core.environment.internal.DefaultEnvironment
- 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
Entity
s currently attached. - entities() - Method in class io.github.srcimon.screwbox.core.environment.internal.DefaultEnvironment
- entitiesMatching(Archetype) - Method in class io.github.srcimon.screwbox.core.environment.internal.EntityManager
- entity() - Method in class io.github.srcimon.screwbox.core.environment.EntityEvent
- 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
- EntityContainsPositionFilter - Class in io.github.srcimon.screwbox.core.physics.internal
- EntityContainsPositionFilter(Vector) - Constructor for class io.github.srcimon.screwbox.core.physics.internal.EntityContainsPositionFilter
- entityCount() - Method in interface io.github.srcimon.screwbox.core.environment.Environment
- entityCount() - Method in class io.github.srcimon.screwbox.core.environment.internal.DefaultEnvironment
- EntityEvent - Class in io.github.srcimon.screwbox.core.environment
- EntityEvent(Entity) - Constructor for class io.github.srcimon.screwbox.core.environment.EntityEvent
- EntityHasComponentFilter - Class in io.github.srcimon.screwbox.core.physics.internal
- EntityHasComponentFilter(Class<? extends Component>) - Constructor for class io.github.srcimon.screwbox.core.physics.internal.EntityHasComponentFilter
- EntityIsInRaycastFilter - Class in io.github.srcimon.screwbox.core.physics.internal
- EntityIsInRaycastFilter(Entity...) - Constructor for class io.github.srcimon.screwbox.core.physics.internal.EntityIsInRaycastFilter
- EntityListener - Interface in io.github.srcimon.screwbox.core.environment
-
Listener interface for receiving
EntityEvent
s. - EntityManager - Class in io.github.srcimon.screwbox.core.environment.internal
- EntityManager() - Constructor for class io.github.srcimon.screwbox.core.environment.internal.EntityManager
- EntityNotInRangeFilter - Class in io.github.srcimon.screwbox.core.physics.internal
- EntityNotInRangeFilter(Bounds) - Constructor for class io.github.srcimon.screwbox.core.physics.internal.EntityNotInRangeFilter
- 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 allEnvironment.entities()
and allEnvironment.systems()
that are contained in aScene
. - environmentOf(Class<? extends Scene>) - Method in class io.github.srcimon.screwbox.core.scenes.internal.DefaultScenes
- environmentOf(Class<? extends Scene>) - Method in interface io.github.srcimon.screwbox.core.scenes.Scenes
- equals(Object) - Method in class io.github.srcimon.screwbox.core.audio.SoundOptions
- 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.LineDrawOptions
- equals(Object) - Method in class io.github.srcimon.screwbox.core.graphics.Offset
- equals(Object) - Method in class io.github.srcimon.screwbox.core.graphics.RectangleDrawOptions
- 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.physics.internal.CollisionCheck
- 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 class io.github.srcimon.screwbox.core.log.internal.DefaultLog
- error(String) - Method in interface io.github.srcimon.screwbox.core.log.Log
-
Logs a message using
LogLevel.ERROR
. - error(Throwable) - Method in class io.github.srcimon.screwbox.core.log.internal.DefaultLog
- error(Throwable) - Method in interface io.github.srcimon.screwbox.core.log.Log
-
Logs a message using
LogLevel.ERROR
containing the stacktrace of the givenThrowable
. - 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
- expand(double) - Method in class io.github.srcimon.screwbox.core.Bounds
- expandTop(int) - Method in class io.github.srcimon.screwbox.core.Bounds
- extents() - Method in class io.github.srcimon.screwbox.core.Bounds
- extractArea(Offset, Size) - Method in class io.github.srcimon.screwbox.core.graphics.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
- Feature - Enum Class in io.github.srcimon.screwbox.core.environment.internal
- fetchAll(Archetype) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
- fetchAll(Archetype) - Method in class io.github.srcimon.screwbox.core.environment.internal.DefaultEnvironment
- 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
-
Fetches an
Entity
byEntity.id()
. - fetchById(int) - Method in class io.github.srcimon.screwbox.core.environment.internal.DefaultEnvironment
- fetchSingleton(Archetype) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
- fetchSingleton(Class<? extends Component>) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
-
Returns an
Entity
that is expected to be the onlyEntity
in theEnvironment
that contains the given singletonComponent
. - fetchSingletonComponent(Class<T>) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
-
Returns a
Component
that is expected not have more than on instance in theEnvironment
. - files() - Method in record class io.github.srcimon.screwbox.core.window.FilesDropedOnWindow
-
Returns the value of the
files
record component. - filesDropedOnWindow() - Method in class io.github.srcimon.screwbox.core.window.internal.DefaultWindow
- filesDropedOnWindow() - Method in interface io.github.srcimon.screwbox.core.window.Window
- 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. - fillCircle(Offset, int, Color) - Method in class io.github.srcimon.screwbox.core.graphics.internal.AsyncRenderer
- fillCircle(Offset, int, Color) - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultRenderer
- fillCircle(Offset, int, Color) - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultScreen
- fillCircle(Offset, int, Color) - Method in interface io.github.srcimon.screwbox.core.graphics.internal.Renderer
- fillCircle(Offset, int, Color) - Method in class io.github.srcimon.screwbox.core.graphics.internal.StandbyRenderer
- fillCircle(Offset, int, Color) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
- fillCircle(Vector, double, Color) - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultWorld
- fillCircle(Vector, double, Color) - Method in interface io.github.srcimon.screwbox.core.graphics.World
- filled(Color) - Static method in class io.github.srcimon.screwbox.core.graphics.RectangleDrawOptions
-
Draw a filled rectangle with the given
Color
. - fillWith(Color) - Method in class io.github.srcimon.screwbox.core.graphics.internal.AsyncRenderer
- fillWith(Color) - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultRenderer
- fillWith(Color) - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultScreen
- fillWith(Color) - Method in interface io.github.srcimon.screwbox.core.graphics.internal.Renderer
- fillWith(Color) - Method in class io.github.srcimon.screwbox.core.graphics.internal.StandbyRenderer
- 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 class io.github.srcimon.screwbox.core.graphics.internal.DefaultScreen
- 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
- findById(int) - Method in class io.github.srcimon.screwbox.core.environment.internal.EntityManager
- findClassesInPackage(String) - Static method in class io.github.srcimon.screwbox.core.utils.Reflections
-
Returns a list of all
Class
es 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(Vector, Vector) - Method in class io.github.srcimon.screwbox.core.physics.internal.DefaultPhysics
- findPath(Vector, Vector) - Method in interface io.github.srcimon.screwbox.core.physics.Physics
- findPath(Vector, Vector, Grid) - Method in class io.github.srcimon.screwbox.core.physics.internal.DefaultPhysics
- findPath(Vector, Vector, Grid) - 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.Noise
- 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
- focus() - Method in interface io.github.srcimon.screwbox.core.graphics.Camera
- focus() - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultCamera
- followSpeed - Variable in class io.github.srcimon.screwbox.core.environment.camera.CameraTargetComponent
- 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
- fps() - Method in class io.github.srcimon.screwbox.core.loop.internal.DefaultLoop
- 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
- 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
- frameNumber() - Method in class io.github.srcimon.screwbox.core.loop.internal.DefaultLoop
- 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
- 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
- fromImage(Image) - Static method in class io.github.srcimon.screwbox.core.graphics.Frame
- fromImage(Image) - Static method in class io.github.srcimon.screwbox.core.graphics.Sprite
- fromSoundData(byte[]) - Static method in class io.github.srcimon.screwbox.core.audio.Sound
-
Creates a new
Sound
from audio data. - 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
- getAudioInputStream(byte[]) - Static method in class io.github.srcimon.screwbox.core.audio.internal.AudioAdapter
- getCanvas() - Method in class io.github.srcimon.screwbox.core.window.internal.WindowFrame
- getCanvasSize() - Method in class io.github.srcimon.screwbox.core.window.internal.WindowFrame
- 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
- 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 theGraphicsConfiguration
, to update and read theGraphics.camera()
. - 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
GraphicsConfigurationEvent
s. - 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 class io.github.srcimon.screwbox.core.physics.internal.DefaultPhysics
- 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
. - gridSize - Variable in class io.github.srcimon.screwbox.core.environment.physics.PhysicsGridConfigurationComponent
- gridSize() - Method in class io.github.srcimon.screwbox.core.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.
- hasActiveTasks(Object) - Method in class io.github.srcimon.screwbox.core.async.internal.DefaultAsync
- 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
- hasFocus() - Method in class io.github.srcimon.screwbox.core.window.internal.DefaultWindow
- hasFocus() - Method in class io.github.srcimon.screwbox.core.window.internal.WindowFrame
-
10 times faster than
Component.hasFocus()
- 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.audio.SoundOptions
- 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.LineDrawOptions
- hashCode() - Method in class io.github.srcimon.screwbox.core.graphics.Offset
- hashCode() - Method in class io.github.srcimon.screwbox.core.graphics.RectangleDrawOptions
- 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.physics.internal.CollisionCheck
- 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 class io.github.srcimon.screwbox.core.mouse.internal.DefaultMouse
- hasScrolled() - Method in interface io.github.srcimon.screwbox.core.mouse.Mouse
-
Returns true if there was any scrolling since the last frame.
- hasSingleton(Class<? extends Component>) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
- hasSingleton(Class<? extends Component>) - Method in class io.github.srcimon.screwbox.core.environment.internal.DefaultEnvironment
- 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
- hex(String) - Static method in class io.github.srcimon.screwbox.core.graphics.Color
-
Creates a
Color
based on the given hexadecimal value. - 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
- ImageUtil - Class in io.github.srcimon.screwbox.core.graphics.internal
- importSource(List<T>) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
-
Provides a compact syntax for importing
Entity
s from multiple custom sources using conditions andSourceImport.Converter
. - importSource(List<T>) - Method in class io.github.srcimon.screwbox.core.environment.internal.DefaultEnvironment
- importSource(T) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
-
Provides a compact syntax for importing
Entity
s from a custom source using conditions andSourceImport.Converter
. - importSource(T) - Method in class io.github.srcimon.screwbox.core.environment.internal.DefaultEnvironment
- 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
- infinite() - Static method in class io.github.srcimon.screwbox.core.graphics.CameraShakeOptions
- info(String) - Method in class io.github.srcimon.screwbox.core.log.internal.DefaultLog
- 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
- intersectionPoint(Line) - Method in class io.github.srcimon.screwbox.core.Line
-
Returns the intersection Point of this and the other
Line
. - intersections(List<Line>) - Method in class io.github.srcimon.screwbox.core.Line
- intersects(Bounds) - Method in class io.github.srcimon.screwbox.core.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
Line
s intersect each other. - interval() - Method in class io.github.srcimon.screwbox.core.graphics.CameraShakeOptions
- interval(Duration) - Method in class io.github.srcimon.screwbox.core.graphics.CameraShakeOptions
- 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.assets.internal - package io.github.srcimon.screwbox.core.assets.internal
- io.github.srcimon.screwbox.core.async - package io.github.srcimon.screwbox.core.async
- io.github.srcimon.screwbox.core.async.internal - package io.github.srcimon.screwbox.core.async.internal
- io.github.srcimon.screwbox.core.audio - package io.github.srcimon.screwbox.core.audio
- io.github.srcimon.screwbox.core.audio.internal - package io.github.srcimon.screwbox.core.audio.internal
- 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.internal - package io.github.srcimon.screwbox.core.environment.internal
- 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.internal - package io.github.srcimon.screwbox.core.graphics.internal
- 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.keyboard.internal - package io.github.srcimon.screwbox.core.keyboard.internal
- 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.log.internal - package io.github.srcimon.screwbox.core.log.internal
- io.github.srcimon.screwbox.core.loop - package io.github.srcimon.screwbox.core.loop
- io.github.srcimon.screwbox.core.loop.internal - package io.github.srcimon.screwbox.core.loop.internal
- io.github.srcimon.screwbox.core.mouse - package io.github.srcimon.screwbox.core.mouse
- io.github.srcimon.screwbox.core.mouse.internal - package io.github.srcimon.screwbox.core.mouse.internal
- io.github.srcimon.screwbox.core.physics - package io.github.srcimon.screwbox.core.physics
- io.github.srcimon.screwbox.core.physics.internal - package io.github.srcimon.screwbox.core.physics.internal
- io.github.srcimon.screwbox.core.scenes - package io.github.srcimon.screwbox.core.scenes
- io.github.srcimon.screwbox.core.scenes.internal - package io.github.srcimon.screwbox.core.scenes.internal
- io.github.srcimon.screwbox.core.ui - package io.github.srcimon.screwbox.core.ui
- io.github.srcimon.screwbox.core.ui.internal - package io.github.srcimon.screwbox.core.ui.internal
- 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
- io.github.srcimon.screwbox.core.window.internal - package io.github.srcimon.screwbox.core.window.internal
- isActive() - Method in class io.github.srcimon.screwbox.core.log.internal.DefaultLog
- 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 givenSound
. - isActive(Sound) - Method in class io.github.srcimon.screwbox.core.audio.internal.DefaultAudio
- 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 class io.github.srcimon.screwbox.core.scenes.internal.DefaultScenes
- isActive(Class<? extends Scene>) - Method in interface io.github.srcimon.screwbox.core.scenes.Scenes
- isActive(Supplier<Sound>) - Method in interface io.github.srcimon.screwbox.core.audio.Audio
- isAfter(Time) - Method in class io.github.srcimon.screwbox.core.Time
-
Specifies if this instance is after the given
Time
instance. - isAnyButtonDown() - Method in class io.github.srcimon.screwbox.core.mouse.internal.DefaultMouse
- isAnyButtonDown() - Method in interface io.github.srcimon.screwbox.core.mouse.Mouse
-
Returns true if there was
MouseButton
down. - isAnyKeyDown() - Method in class io.github.srcimon.screwbox.core.keyboard.internal.DefaultKeyboard
- 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
- 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 class io.github.srcimon.screwbox.core.mouse.internal.DefaultMouse
- 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 class io.github.srcimon.screwbox.core.keyboard.internal.DefaultKeyboard
- isDown(Key) - Method in interface io.github.srcimon.screwbox.core.keyboard.Keyboard
-
Returns
true
if the givenKey
is down at the moment. - isDown(KeyCombination) - Method in class io.github.srcimon.screwbox.core.keyboard.internal.DefaultKeyboard
- isDown(KeyCombination) - Method in interface io.github.srcimon.screwbox.core.keyboard.Keyboard
-
Returns
true
if the givenKeyCombination
is down at the moment. - isDown(MouseButton) - Method in class io.github.srcimon.screwbox.core.mouse.internal.DefaultMouse
- isDown(MouseButton) - Method in interface io.github.srcimon.screwbox.core.mouse.Mouse
-
Checks if the given
MouseButton
is pressed. - isEffect() - Method in class io.github.srcimon.screwbox.core.audio.SoundOptions
-
Sound
should be played as effect usingAudioConfiguration.effectVolume()
. - isEmpty() - Method in class io.github.srcimon.screwbox.core.environment.Entity
- isFilled() - Method in class io.github.srcimon.screwbox.core.graphics.RectangleDrawOptions
-
Returns
true
if the rectangle is filled. - 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
- isLoaded() - Method in class io.github.srcimon.screwbox.core.assets.Asset
-
Returns
true
if theAsset
has been loaded. - isLoaded() - Method in class io.github.srcimon.screwbox.core.assets.AssetLocation
-
Returns
true
ifAsset
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. - isMusic() - Method in class io.github.srcimon.screwbox.core.audio.SoundOptions
- isMusicMuted() - Method in class io.github.srcimon.screwbox.core.audio.AudioConfiguration
-
Returns
true
if music is muted. - isMuted() - Method in class io.github.srcimon.screwbox.core.audio.AudioConfiguration
-
Returns
true
if all playback is muted. - isNone() - Method in class io.github.srcimon.screwbox.core.Duration
-
Checks if duration has no length.
- isNone() - Method in class io.github.srcimon.screwbox.core.Rotation
-
Checks if there isn't any rotation.
- isNoOneWayFalsePositive() - Method in class io.github.srcimon.screwbox.core.physics.internal.CollisionCheck
- isOneWay - Variable in class io.github.srcimon.screwbox.core.environment.physics.ColliderComponent
- isOpen() - Method in class io.github.srcimon.screwbox.core.window.internal.DefaultWindow
- isOpen() - Method in interface io.github.srcimon.screwbox.core.window.Window
-
Returns
true
if theWindow
is currently open. - isPreparing() - Method in interface io.github.srcimon.screwbox.core.assets.Assets
-
Returns
true
if preparing is currently in progress. - isPreparing() - Method in class io.github.srcimon.screwbox.core.assets.internal.DefaultAssets
- isPressed(Key) - Method in class io.github.srcimon.screwbox.core.keyboard.internal.DefaultKeyboard
- isPressed(Key) - Method in interface io.github.srcimon.screwbox.core.keyboard.Keyboard
-
Returns
true
if the givenKey
was typed right now. - isPressed(MouseButton) - Method in class io.github.srcimon.screwbox.core.mouse.internal.DefaultMouse
- 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. - isShaking() - Method in interface io.github.srcimon.screwbox.core.graphics.Camera
-
Returns
true
ifCamera
is curently shaking. - isShaking() - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultCamera
- isShowingLoading() - Method in class io.github.srcimon.screwbox.core.scenes.internal.DefaultScenes
- isSystemPresent(Class<? extends EntitySystem>) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
- isSystemPresent(Class<? extends EntitySystem>) - Method in class io.github.srcimon.screwbox.core.environment.internal.DefaultEnvironment
- isSystemPresent(Class<? extends EntitySystem>) - Method in class io.github.srcimon.screwbox.core.environment.internal.SystemManager
- 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 class io.github.srcimon.screwbox.core.graphics.internal.DefaultScreen
- isVisible(Offset) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
- isVisible(ScreenBounds) - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultScreen
- isVisible(ScreenBounds) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
- 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
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
Key
s. - keyPressed(KeyEvent) - Method in class io.github.srcimon.screwbox.core.keyboard.internal.DefaultKeyboard
- keyReleased(KeyEvent) - Method in class io.github.srcimon.screwbox.core.keyboard.internal.DefaultKeyboard
- keys() - Method in class io.github.srcimon.screwbox.core.keyboard.KeyCombination
-
Returns all
Key
s in thatKeyCombination
. - keyTyped(KeyEvent) - Method in class io.github.srcimon.screwbox.core.keyboard.internal.DefaultKeyboard
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
- lastingForDuration(Duration) - Static method in class io.github.srcimon.screwbox.core.graphics.CameraShakeOptions
- lastNode() - Method in class io.github.srcimon.screwbox.core.Path
- lastUpdate() - Method in class io.github.srcimon.screwbox.core.loop.internal.DefaultLoop
- 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() - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultGraphics
- Light - Interface in io.github.srcimon.screwbox.core.graphics
-
Subsystem for creating and rendering light effects to the screen.
- LIGHT - Enum constant in enum class io.github.srcimon.screwbox.core.environment.internal.Feature
- 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
- 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
- LineDrawOptions - Class in io.github.srcimon.screwbox.core.graphics
-
Customize the drawing of lines.
- 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. - listAssetLocationsInPackage(String) - Method in class io.github.srcimon.screwbox.core.assets.internal.DefaultAssets
- listPixelDifferences(Frame) - Method in class io.github.srcimon.screwbox.core.graphics.Frame
-
Returns a list of all pixels that have a different color than the other
Frame
. - 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 onAsset.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
- 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 theEnvironment
. - loadSavegame(String) - Method in class io.github.srcimon.screwbox.core.environment.internal.DefaultEnvironment
- loadSavegame(String) - Method in class io.github.srcimon.screwbox.core.environment.internal.SavegameManager
- 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 class io.github.srcimon.screwbox.core.log.internal.DefaultLog
- 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. - LOGIC - Enum constant in enum class io.github.srcimon.screwbox.core.environment.internal.Feature
- 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.
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.
- MacOsWindowFrame - Class in io.github.srcimon.screwbox.core.window.internal
- MacOsWindowFrame(Size) - Constructor for class io.github.srcimon.screwbox.core.window.internal.MacOsWindowFrame
- 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
- makeFullscreen(GraphicsDevice) - Method in class io.github.srcimon.screwbox.core.window.internal.MacOsWindowFrame
- makeFullscreen(GraphicsDevice) - Method in class io.github.srcimon.screwbox.core.window.internal.WindowFrame
- matches(Entity) - Method in class io.github.srcimon.screwbox.core.environment.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
- 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
- maxZoom() - Method in interface io.github.srcimon.screwbox.core.graphics.Camera
- maxZoom() - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultCamera
- 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_MONO - Enum constant in enum class io.github.srcimon.screwbox.core.audio.Sound.SourceFormat
- 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.
- MINI_STEREO - Enum constant in enum class io.github.srcimon.screwbox.core.audio.Sound.SourceFormat
- minX() - Method in class io.github.srcimon.screwbox.core.Bounds
- minY() - Method in class io.github.srcimon.screwbox.core.Bounds
- minZoom() - Method in interface io.github.srcimon.screwbox.core.graphics.Camera
- minZoom() - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultCamera
- 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.
- mouseClicked(MouseEvent) - Method in class io.github.srcimon.screwbox.core.mouse.internal.DefaultMouse
- MouseCursor - Enum Class in io.github.srcimon.screwbox.core.graphics
-
Some predefined mouse cursors that you can use.
- mouseDragged(MouseEvent) - Method in class io.github.srcimon.screwbox.core.mouse.internal.DefaultMouse
- mouseEntered(MouseEvent) - Method in class io.github.srcimon.screwbox.core.mouse.internal.DefaultMouse
- mouseExited(MouseEvent) - Method in class io.github.srcimon.screwbox.core.mouse.internal.DefaultMouse
- mouseMoved(MouseEvent) - Method in class io.github.srcimon.screwbox.core.mouse.internal.DefaultMouse
- mousePressed(MouseEvent) - Method in class io.github.srcimon.screwbox.core.mouse.internal.DefaultMouse
- mouseReleased(MouseEvent) - Method in class io.github.srcimon.screwbox.core.mouse.internal.DefaultMouse
- mouseWheelMoved(MouseWheelEvent) - Method in class io.github.srcimon.screwbox.core.mouse.internal.DefaultMouse
- move(Vector) - Method in interface io.github.srcimon.screwbox.core.graphics.Camera
-
Moves the camera position by the given
Vector
. - 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
- moveTo(Offset) - Method in class io.github.srcimon.screwbox.core.window.internal.DefaultWindow
- 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 givenBounds.position
. - moveWithinVisualBounds(Vector, Bounds) - Method in interface io.github.srcimon.screwbox.core.graphics.Camera
-
Moves the camera within the given
Bounds
. - moveWithinVisualBounds(Vector, Bounds) - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultCamera
- 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. - MUSIC_VOLUME - Enum constant in enum class io.github.srcimon.screwbox.core.audio.AudioConfigurationEvent.ConfigurationProperty
- musicVolume() - Method in class io.github.srcimon.screwbox.core.audio.AudioConfiguration
-
Returns the current volume for music.
- mute() - Method in class io.github.srcimon.screwbox.core.audio.AudioConfiguration
-
Mutes all playback.
- muteEffects() - Method in class io.github.srcimon.screwbox.core.audio.AudioConfiguration
-
Mutes effects playback.
- muteMusic() - Method in class io.github.srcimon.screwbox.core.audio.AudioConfiguration
-
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
- nearestOf(List<Vector>) - Method in class io.github.srcimon.screwbox.core.Vector
- 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
- nodeCount() - Method in class io.github.srcimon.screwbox.core.Path
- nodes() - Method in class io.github.srcimon.screwbox.core.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
- Noise - Class in io.github.srcimon.screwbox.core.utils
- 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 zeroRotation.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
- 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
- of(Line) - Static method in class io.github.srcimon.screwbox.core.Rotation
- 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 class io.github.srcimon.screwbox.core.mouse.internal.DefaultMouse
- offset() - Method in interface io.github.srcimon.screwbox.core.mouse.Mouse
- 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
Key
s. - 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 class io.github.srcimon.screwbox.core.window.internal.DefaultWindow
- open() - Method in interface io.github.srcimon.screwbox.core.window.Window
- openMenu(UiMenu) - Method in class io.github.srcimon.screwbox.core.ui.internal.DefaultUi
- openMenu(UiMenu) - Method in interface io.github.srcimon.screwbox.core.ui.Ui
-
Opens a
UiMenu
. - openPreviousMenu() - Method in class io.github.srcimon.screwbox.core.ui.internal.DefaultUi
- 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
- options() - Method in class io.github.srcimon.screwbox.core.audio.Playback
-
The
SoundOptions
that were used to play theSound
. - 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
. - outline(Color) - Static method in class io.github.srcimon.screwbox.core.graphics.RectangleDrawOptions
-
Draw only the outline with the given
Color
. - overlap() - Method in class io.github.srcimon.screwbox.core.physics.internal.CollisionCheck
- overlapArea(Bounds) - Method in class io.github.srcimon.screwbox.core.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
- pan() - Method in class io.github.srcimon.screwbox.core.audio.SoundOptions
-
Get the pan.
- pan(double) - Method in class io.github.srcimon.screwbox.core.audio.SoundOptions
-
Sets the pan of the playback.
- 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 class io.github.srcimon.screwbox.core.physics.internal.DefaultPhysics
- 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
- 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() - Method in class io.github.srcimon.screwbox.core.physics.internal.CollisionCheck
- Physics - Interface in io.github.srcimon.screwbox.core.physics
-
Advanced searching for entities, pathfinding, raycasting and adjusting Entites to a
Grid
. - PHYSICS - Enum constant in enum class io.github.srcimon.screwbox.core.environment.internal.Feature
- physicsBodyComponent() - Method in class io.github.srcimon.screwbox.core.physics.internal.CollisionCheck
- physicsBounds() - Method in class io.github.srcimon.screwbox.core.physics.internal.CollisionCheck
- 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
- PhysicsGridConfigurationComponent - Class in io.github.srcimon.screwbox.core.environment.physics
- PhysicsGridConfigurationComponent(Bounds, int, Sheduler) - Constructor for class io.github.srcimon.screwbox.core.environment.physics.PhysicsGridConfigurationComponent
- PhysicsGridObstacleComponent - Class in io.github.srcimon.screwbox.core.environment.physics
- PhysicsGridObstacleComponent() - Constructor for class io.github.srcimon.screwbox.core.environment.physics.PhysicsGridObstacleComponent
- PhysicsGridUpdateSystem - Class in io.github.srcimon.screwbox.core.environment.physics
- PhysicsGridUpdateSystem() - Constructor for class io.github.srcimon.screwbox.core.environment.physics.PhysicsGridUpdateSystem
- PhysicsSystem - Class in io.github.srcimon.screwbox.core.environment.physics
- PhysicsSystem() - Constructor for class io.github.srcimon.screwbox.core.environment.physics.PhysicsSystem
- pickUpChanges() - Method in class io.github.srcimon.screwbox.core.environment.internal.EntityManager
- pixelCount() - Method in class io.github.srcimon.screwbox.core.graphics.Size
- Pixelfont - Class in io.github.srcimon.screwbox.core.graphics
-
A font made of
Sprite
s (even animated ones) for system independent rendering. - Pixelfont() - Constructor for class io.github.srcimon.screwbox.core.graphics.Pixelfont
- Playback - Class in io.github.srcimon.screwbox.core.audio
-
Information about currently playing
Sound
. - Playback(Sound, SoundOptions, Vector) - Constructor for class io.github.srcimon.screwbox.core.audio.Playback
-
Constructor used by the engine.
- playLooped() - Static method in class io.github.srcimon.screwbox.core.audio.SoundOptions
-
Playback
Sound
until stopped viaAudio.stopSound(Sound)
. - playOnce() - Static method in class io.github.srcimon.screwbox.core.audio.SoundOptions
-
Playback
Sound
only once. - playSound(Sound) - Method in interface io.github.srcimon.screwbox.core.audio.Audio
-
Plays a
Sound
a single time. - playSound(Sound, SoundOptions) - Method in interface io.github.srcimon.screwbox.core.audio.Audio
-
Plays a
Sound
using the givenSoundOptions
. - playSound(Sound, SoundOptions) - Method in class io.github.srcimon.screwbox.core.audio.internal.DefaultAudio
- playSound(Sound, Vector) - Method in interface io.github.srcimon.screwbox.core.audio.Audio
-
Plays a
Sound
and calculates the correspondingSoundOptions
used by considering distance and direction between the given position and theCamera.position()
()}. - playSound(Sound, Vector) - Method in class io.github.srcimon.screwbox.core.audio.internal.DefaultAudio
- playSound(Supplier<Sound>) - Method in interface io.github.srcimon.screwbox.core.audio.Audio
- playSound(Supplier<Sound>, SoundOptions) - Method in interface io.github.srcimon.screwbox.core.audio.Audio
-
Plays a
Sound
using the givenSoundOptions
. - playSound(Supplier<Sound>, Vector) - Method in interface io.github.srcimon.screwbox.core.audio.Audio
-
Plays a
Sound
and calculates the correspondingSoundOptions
used by considering distance and direction between the given position and theCamera.position()
. - playTimes(int) - Static method in class io.github.srcimon.screwbox.core.audio.SoundOptions
-
Playback
Sound
looped for the given times. - plus(Duration) - Method in class io.github.srcimon.screwbox.core.Time
- plusMillis(long) - Method in class io.github.srcimon.screwbox.core.Time
- plusSeconds(long) - Method in class io.github.srcimon.screwbox.core.Time
- 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.audio.Playback
- position() - Method in class io.github.srcimon.screwbox.core.Bounds
- position() - Method in interface io.github.srcimon.screwbox.core.graphics.Camera
- position() - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultCamera
- position() - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultScreen
- 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 class io.github.srcimon.screwbox.core.mouse.internal.DefaultMouse
- position() - Method in interface io.github.srcimon.screwbox.core.mouse.Mouse
-
Returns the current mouse position in the
World
. - position() - Method in class io.github.srcimon.screwbox.core.window.internal.DefaultWindow
- 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
AssetLocation
s 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
Asset
s in the package of the given class. - preparePackage(String) - Method in interface io.github.srcimon.screwbox.core.assets.Assets
-
Loads all unloaded
AssetLocation
s in the given package. - preparePackage(String) - Method in class io.github.srcimon.screwbox.core.assets.internal.DefaultAssets
- preparePackageAsync(String) - Method in interface io.github.srcimon.screwbox.core.assets.Assets
-
Start asynchronous loading of all unloaded
Asset
s in the given package. - preparePackageAsync(String) - Method in class io.github.srcimon.screwbox.core.assets.internal.DefaultAssets
- 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 class io.github.srcimon.screwbox.core.keyboard.internal.DefaultKeyboard
- pressedKeys() - Method in interface io.github.srcimon.screwbox.core.keyboard.Keyboard
-
Returns all pressed
Key
s. - previousItem(Engine) - Method in class io.github.srcimon.screwbox.core.ui.UiMenu
- progress - Variable in class io.github.srcimon.screwbox.core.environment.tweening.TweenComponent
- progress() - Method in class io.github.srcimon.screwbox.core.audio.Playback
- 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 fullColor.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 class io.github.srcimon.screwbox.core.physics.internal.DefaultPhysics
- raycastFrom(Vector) - Method in interface io.github.srcimon.screwbox.core.physics.Physics
- reachableNeighbors(Grid.Node) - Method in class io.github.srcimon.screwbox.core.Grid
- recalculateVisibleArea() - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultWorld
- RectangleDrawOptions - Class in io.github.srcimon.screwbox.core.graphics
-
Customize the drawing of rectangles.
- 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 thisEntity
. - remove(Entity) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
- remove(Entity) - Method in class io.github.srcimon.screwbox.core.environment.internal.DefaultEnvironment
- 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 EntitySystem>) - Method in class io.github.srcimon.screwbox.core.environment.internal.DefaultEnvironment
- remove(Class<? extends Scene>) - Method in class io.github.srcimon.screwbox.core.scenes.internal.DefaultScenes
- 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
- remove(List<Entity>) - Method in class io.github.srcimon.screwbox.core.environment.internal.DefaultEnvironment
- removeEntity(Entity) - Method in class io.github.srcimon.screwbox.core.environment.internal.EntityManager
- removeNode(int) - Method in class io.github.srcimon.screwbox.core.Path
- removeSystem(Class<? extends EntitySystem>) - Method in class io.github.srcimon.screwbox.core.environment.internal.SystemManager
- removeSystemIfPresent(Class<? extends EntitySystem>) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
- removeSystemIfPresent(Class<? extends EntitySystem>) - Method in class io.github.srcimon.screwbox.core.environment.internal.DefaultEnvironment
- render() - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultLight
- 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
- Renderer - Interface in io.github.srcimon.screwbox.core.graphics.internal
- 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
- RENDERING - Enum constant in enum class io.github.srcimon.screwbox.core.environment.internal.Feature
- 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
- resolveCollision(CollisionCheck, double) - Static method in class io.github.srcimon.screwbox.core.physics.internal.CollisionResolver
- 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. - 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 customColor.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 class io.github.srcimon.screwbox.core.graphics.RectangleDrawOptions
-
Returns the
Rotation
used when drawing the rectangle. - rotation() - Method in record class io.github.srcimon.screwbox.core.graphics.SpriteBatch.SpriteBatchEntry
-
Returns the value of the
rotation
record component. - rotation(Rotation) - Method in class io.github.srcimon.screwbox.core.graphics.RectangleDrawOptions
-
Sets the
RectangleDrawOptions.rotation()
of the drawn rectangle. - Rotation - Class in io.github.srcimon.screwbox.core
- run(Object, Runnable) - Method in interface io.github.srcimon.screwbox.core.async.Async
-
Runs a task in the given context.
- run(Object, Runnable) - Method in class io.github.srcimon.screwbox.core.async.internal.DefaultAsync
- 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.
- runExclusive(Object, Runnable) - Method in class io.github.srcimon.screwbox.core.async.internal.DefaultAsync
- runningTime() - Method in class io.github.srcimon.screwbox.core.loop.internal.DefaultLoop
- 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.
- savegameExists(String) - Method in class io.github.srcimon.screwbox.core.environment.internal.DefaultEnvironment
- savegameExists(String) - Method in class io.github.srcimon.screwbox.core.environment.internal.SavegameManager
- SavegameManager - Class in io.github.srcimon.screwbox.core.environment.internal
- SavegameManager() - Constructor for class io.github.srcimon.screwbox.core.environment.internal.SavegameManager
- 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 class io.github.srcimon.screwbox.core.scenes.internal.DefaultScenes
- 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() - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultGraphics
- Screen - Interface in io.github.srcimon.screwbox.core.graphics
-
Access drawing operations on the game screen.
- 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 class io.github.srcimon.screwbox.core.physics.internal.DefaultPhysics
- searchAtPosition(Vector) - Method in interface io.github.srcimon.screwbox.core.physics.Physics
- searchInRange(Bounds) - Method in class io.github.srcimon.screwbox.core.physics.internal.DefaultPhysics
- 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 class io.github.srcimon.screwbox.core.log.internal.DefaultLog
- 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 class io.github.srcimon.screwbox.core.graphics.internal.DefaultLight
- setAmbientLight(Percent) - Method in interface io.github.srcimon.screwbox.core.graphics.Light
-
Sets the brightness of the
Light.ambientLight()
that illuminates theWorld
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 class io.github.srcimon.screwbox.core.audio.AudioConfiguration
-
Sets effects to muted or unmuted.
- setEffectVolume(Percent) - Method in class io.github.srcimon.screwbox.core.audio.AudioConfiguration
-
Sets the volume of all
Sound
s that are played viaAudio.playSound(Sound)
. - setFullscreen(boolean) - Method in class io.github.srcimon.screwbox.core.graphics.GraphicsConfiguration
- setFullscreenCursor(Frame) - Method in class io.github.srcimon.screwbox.core.window.internal.DefaultWindow
- 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 class io.github.srcimon.screwbox.core.window.internal.DefaultWindow
- 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. - setInteractor(UiInteractor) - Method in class io.github.srcimon.screwbox.core.ui.internal.DefaultUi
- setInteractor(UiInteractor) - Method in interface io.github.srcimon.screwbox.core.ui.Ui
- setLayouter(UiLayouter) - Method in class io.github.srcimon.screwbox.core.ui.internal.DefaultUi
- 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 class io.github.srcimon.screwbox.core.scenes.internal.DefaultScenes
- setLoadingScene(Scene) - Method in interface io.github.srcimon.screwbox.core.scenes.Scenes
- setMinimumSeverity(LogLevel) - Method in class io.github.srcimon.screwbox.core.log.internal.DefaultLog
- 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 class io.github.srcimon.screwbox.core.audio.AudioConfiguration
-
Sets music to muted or unmuted.
- setMusicVolume(Percent) - Method in class io.github.srcimon.screwbox.core.audio.AudioConfiguration
-
Sets the volume of all
Sound
s that are played havingSoundOptions.isMusic()
- setMuted(boolean) - Method in class io.github.srcimon.screwbox.core.audio.AudioConfiguration
-
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 class io.github.srcimon.screwbox.core.physics.internal.DefaultPhysics
- setPathfindingAlgorithm(PathfindingAlgorithm) - Method in interface io.github.srcimon.screwbox.core.physics.Physics
-
Set the currently used
PathfindingAlgorithm
. - setPosition(Vector) - Method in interface io.github.srcimon.screwbox.core.graphics.Camera
-
Sets the camera position.
- setPosition(Vector) - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultCamera
- setRenderer(Renderer) - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultScreen
- setRenderer(UiRenderer) - Method in class io.github.srcimon.screwbox.core.ui.internal.DefaultUi
- 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
- setSoundRange(double) - Method in class io.github.srcimon.screwbox.core.audio.AudioConfiguration
-
Sets the sound range that is used to determin
SoundOptions.pan()
andSoundOptions.volume()
when usingAudio.playSound(Sound, Vector)
. - setTargetFps(int) - Method in class io.github.srcimon.screwbox.core.loop.internal.DefaultLoop
- setTargetFps(int) - Method in interface io.github.srcimon.screwbox.core.loop.Loop
-
Sets the games target frames per second.
- setTitle(String) - Method in class io.github.srcimon.screwbox.core.window.internal.DefaultWindow
- 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 class io.github.srcimon.screwbox.core.window.internal.DefaultWindow
- 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 class io.github.srcimon.screwbox.core.window.internal.DefaultWindow
- 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. - setZoom(double) - Method in interface io.github.srcimon.screwbox.core.graphics.Camera
-
Updates the camera zoom nearly to the given value.
- setZoom(double) - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultCamera
- setZoomRestriction(double, double) - Method in interface io.github.srcimon.screwbox.core.graphics.Camera
-
Restricts zooming to the given range.
- setZoomRestriction(double, double) - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultCamera
- shake(CameraShakeOptions) - Method in interface io.github.srcimon.screwbox.core.graphics.Camera
-
Shakes the
Camera
with the givenCameraShakeOptions
. - shake(CameraShakeOptions) - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultCamera
- 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.CameraTargetComponent
- SHIFT_LEFT - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
- shutdown() - Method in class io.github.srcimon.screwbox.core.audio.internal.DefaultAudio
- 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 class io.github.srcimon.screwbox.core.graphics.internal.DefaultScreen
- 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 class io.github.srcimon.screwbox.core.window.internal.DefaultWindow
- 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
- sizeOf(String) - Method in class io.github.srcimon.screwbox.core.graphics.Pixelfont
- snap(Vector) - Method in class io.github.srcimon.screwbox.core.Grid
- snapToGrid(Bounds) - Method in class io.github.srcimon.screwbox.core.physics.internal.DefaultPhysics
- snapToGrid(Bounds) - Method in interface io.github.srcimon.screwbox.core.physics.Physics
- snapToGrid(Vector) - Method in class io.github.srcimon.screwbox.core.physics.internal.DefaultPhysics
- snapToGrid(Vector) - Method in interface io.github.srcimon.screwbox.core.physics.Physics
- sound() - Method in class io.github.srcimon.screwbox.core.audio.Playback
-
The
Sound
that is played. - Sound - Class in io.github.srcimon.screwbox.core.audio
-
A
Sound
that can be played viaEngine.audio()
. - SOUND_RANGE - Enum constant in enum class io.github.srcimon.screwbox.core.audio.AudioConfigurationEvent.ConfigurationProperty
- Sound.SourceFormat - Enum Class in io.github.srcimon.screwbox.core.audio
-
The source format of the sound data.
- SoundOptions - Class in io.github.srcimon.screwbox.core.audio
- soundRange() - Method in class io.github.srcimon.screwbox.core.audio.AudioConfiguration
-
Gets the sound range that is used to determin
SoundOptions.pan()
andSoundOptions.volume()
when usingAudio.playSound(Sound, Vector)
. - sourceFormat() - Method in class io.github.srcimon.screwbox.core.audio.Sound
-
Returns the
Sound.SourceFormat
of theSound
. - 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.physics.AutomovementComponent
- speed - Variable in class io.github.srcimon.screwbox.core.environment.physics.ChaoticMovementComponent
- 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
- STANDARD - Enum constant in enum class io.github.srcimon.screwbox.core.graphics.AspectRatio
- StandbyRenderer - Class in io.github.srcimon.screwbox.core.graphics.internal
- StandbyRenderer() - Constructor for class io.github.srcimon.screwbox.core.graphics.internal.StandbyRenderer
- start() - Method in interface io.github.srcimon.screwbox.core.Engine
-
Starts the
Engine
. - start() - Method in class io.github.srcimon.screwbox.core.loop.internal.DefaultLoop
- start(Class<? extends Scene>) - Method in interface io.github.srcimon.screwbox.core.Engine
- 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 class io.github.srcimon.screwbox.core.audio.Playback
-
The time the
Playback
started. - startTime() - Method in class io.github.srcimon.screwbox.core.loop.internal.DefaultLoop
- 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
- stop() - Method in class io.github.srcimon.screwbox.core.loop.internal.DefaultLoop
- stopAllSounds() - Method in interface io.github.srcimon.screwbox.core.audio.Audio
-
Stops all currently playing
Sound
s. - stopAllSounds() - Method in class io.github.srcimon.screwbox.core.audio.internal.DefaultAudio
- stopShaking() - Method in interface io.github.srcimon.screwbox.core.graphics.Camera
-
Stops any
Camera
if there is currently shake in progress. - stopShaking() - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultCamera
- stopSound(Sound) - Method in interface io.github.srcimon.screwbox.core.audio.Audio
-
Stops all currently playing instances of the
Sound
. - stopSound(Sound) - Method in class io.github.srcimon.screwbox.core.audio.internal.DefaultAudio
- stopSound(Supplier<Sound>) - Method in interface io.github.srcimon.screwbox.core.audio.Audio
- stopUsingIndex() - Method in class io.github.srcimon.screwbox.core.environment.SourceImport.IndexSourceImport
- strength() - Method in class io.github.srcimon.screwbox.core.graphics.CameraShakeOptions
- strength(double) - Method in class io.github.srcimon.screwbox.core.graphics.CameraShakeOptions
- strokeWidth() - Method in class io.github.srcimon.screwbox.core.graphics.LineDrawOptions
-
Returns the stroke width used when drawing the line.
- strokeWidth() - Method in class io.github.srcimon.screwbox.core.graphics.RectangleDrawOptions
-
Returns the stroke width used when drawing the rectangle.
- strokeWidth(int) - Method in class io.github.srcimon.screwbox.core.graphics.LineDrawOptions
-
Sets the stroke width for drawing.
- strokeWidth(int) - Method in class io.github.srcimon.screwbox.core.graphics.RectangleDrawOptions
-
Sets the
RectangleDrawOptions.strokeWidth()
when drawingRectangleDrawOptions.outline(Color)
. - 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
- supportedResolutions() - Method in interface io.github.srcimon.screwbox.core.graphics.Graphics
-
Returns a list of all supported resolutions.
- supportedResolutions() - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultGraphics
- supportedResolutions(AspectRatio) - Method in interface io.github.srcimon.screwbox.core.graphics.Graphics
-
Returns a list of all supported resolutions of the given
AspectRatio
. - supportedResolutions(AspectRatio) - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultGraphics
- 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 class io.github.srcimon.screwbox.core.scenes.internal.DefaultScenes
- switchTo(Class<? extends Scene>) - Method in interface io.github.srcimon.screwbox.core.scenes.Scenes
- SystemManager - Class in io.github.srcimon.screwbox.core.environment.internal
- SystemManager(Engine, EntityManager) - Constructor for class io.github.srcimon.screwbox.core.environment.internal.SystemManager
- SystemOrder - Enum Class in io.github.srcimon.screwbox.core.environment
- systems() - Method in interface io.github.srcimon.screwbox.core.environment.Environment
-
Returns all
EntitySystem
s currently attached. - systems() - Method in class io.github.srcimon.screwbox.core.environment.internal.DefaultEnvironment
T
- T - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
- takeScreenshot() - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultScreen
- takeScreenshot() - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
-
Takes a sceenshot of the whole
Screen
. - targetFps() - Method in class io.github.srcimon.screwbox.core.loop.internal.DefaultLoop
- targetFps() - Method in interface io.github.srcimon.screwbox.core.loop.Loop
-
Returns the current target frames per second.
- test(Entity) - Method in class io.github.srcimon.screwbox.core.physics.internal.EntityContainsPositionFilter
- test(Entity) - Method in class io.github.srcimon.screwbox.core.physics.internal.EntityHasComponentFilter
- test(Entity) - Method in class io.github.srcimon.screwbox.core.physics.internal.EntityIsInRaycastFilter
- test(Entity) - Method in class io.github.srcimon.screwbox.core.physics.internal.EntityNotInRangeFilter
- threeQuarter() - Static method in class io.github.srcimon.screwbox.core.Percent
-
Returns 75 percent.
- Time - Class in io.github.srcimon.screwbox.core
- TimeoutCache<K,
V> - Class in io.github.srcimon.screwbox.core.utils - TimeoutCache(Duration) - Constructor for class io.github.srcimon.screwbox.core.utils.TimeoutCache
- times() - Method in class io.github.srcimon.screwbox.core.audio.SoundOptions
-
Get the number of time the sound is played.
- title() - Method in class io.github.srcimon.screwbox.core.window.internal.DefaultWindow
- 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
. - toAwtColor(Color) - Static method in class io.github.srcimon.screwbox.core.graphics.internal.AwtMapper
- toAwtFont(Font) - Static method in class io.github.srcimon.screwbox.core.graphics.internal.AwtMapper
- toBufferedImage(Image) - Static method in class io.github.srcimon.screwbox.core.graphics.internal.ImageUtil
- toColor(Color) - Static method in class io.github.srcimon.screwbox.core.graphics.internal.AwtMapper
- toDistance(double) - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultWorld
- 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
- toggleSystem(EntitySystem) - Method in class io.github.srcimon.screwbox.core.environment.internal.DefaultEnvironment
- toGrid(Vector) - Method in class io.github.srcimon.screwbox.core.Grid
- toOffset(Vector) - Method in interface io.github.srcimon.screwbox.core.graphics.Graphics
- toOffset(Vector) - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultGraphics
- toOffset(Vector) - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultWorld
- 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
- toPosition(Offset) - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultGraphics
- toPosition(Offset) - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultWorld
- topRight() - Method in class io.github.srcimon.screwbox.core.Bounds
- toScreen(Bounds) - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultWorld
- toString() - Method in class io.github.srcimon.screwbox.core.assets.AssetLocation
- toString() - Method in class io.github.srcimon.screwbox.core.audio.SoundOptions
- 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.LineDrawOptions
- toString() - Method in class io.github.srcimon.screwbox.core.graphics.Offset
- toString() - Method in class io.github.srcimon.screwbox.core.graphics.RectangleDrawOptions
- 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
- 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
- tryFetchById(int) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
-
Fetches an
Entity
byEntity.id()
. - tryFetchById(int) - Method in class io.github.srcimon.screwbox.core.environment.internal.DefaultEnvironment
- tryFetchSingleton(Archetype) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
- tryFetchSingleton(Archetype) - Method in class io.github.srcimon.screwbox.core.environment.internal.DefaultEnvironment
- tryFetchSingleton(Class<? extends Component>) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
-
Returns an
Entity
that is expected to be the onlyEntity
in theEnvironment
that contains the given singletonComponent
. - tryFetchSingleton(Class<? extends Component>) - Method in class io.github.srcimon.screwbox.core.environment.internal.DefaultEnvironment
- tryFetchSingletonComponent(Class<T>) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
-
Returns a
Component
that is expected not have more than on instance in theEnvironment
. - tryFetchSingletonComponent(Class<T>) - Method in class io.github.srcimon.screwbox.core.environment.internal.DefaultEnvironment
- 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 aField
. - 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
Entity
s that have ended tweening and have anTweenDestroyComponent
. - TweenDestroySystem() - Constructor for class io.github.srcimon.screwbox.core.environment.tweening.TweenDestroySystem
- TWEENING - Enum constant in enum class io.github.srcimon.screwbox.core.environment.internal.Feature
- 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 anEntity
. - 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
Entity
s that use tweening and have anTweenOpacityComponent
. - 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 anEntity
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 anEntity
. - 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
Entity
s that use tweening and have anTweenPositionComponent
orTweenOrbitPositionComponent
. - 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
TweenComponent
s in theEnvironment
. - 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 class io.github.srcimon.screwbox.core.mouse.internal.DefaultMouse
- 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 class io.github.srcimon.screwbox.core.loop.internal.DefaultLoop
- 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 class io.github.srcimon.screwbox.core.audio.AudioConfiguration
-
Unmutes all playback.
- unmuteEffects() - Method in class io.github.srcimon.screwbox.core.audio.AudioConfiguration
-
Unmutes effects playback.
- unmuteMusic() - Method in class io.github.srcimon.screwbox.core.audio.AudioConfiguration
-
Unmutes music playback.
- unset() - Static method in class io.github.srcimon.screwbox.core.Time
-
Returns the a new instance of the oldest possible
Time
. - Updatable - Interface in io.github.srcimon.screwbox.core.loop.internal
- update() - Method in class io.github.srcimon.screwbox.core.environment.internal.DefaultEnvironment
- update() - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultCamera
- update() - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultGraphics
- update() - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultLight
- update() - Method in class io.github.srcimon.screwbox.core.keyboard.internal.DefaultKeyboard
- update() - Method in interface io.github.srcimon.screwbox.core.loop.internal.Updatable
- update() - Method in class io.github.srcimon.screwbox.core.mouse.internal.DefaultMouse
- update() - Method in class io.github.srcimon.screwbox.core.scenes.internal.DefaultScenes
- update() - Method in class io.github.srcimon.screwbox.core.ui.internal.DefaultUi
- update() - Method in class io.github.srcimon.screwbox.core.window.internal.DefaultWindow
- update(Engine) - Method in class io.github.srcimon.screwbox.core.environment.camera.CameraSystem
- 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.ChaoticMovementSystem
- 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.PhysicsGridUpdateSystem
- 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
- updateAllSystems() - Method in class io.github.srcimon.screwbox.core.environment.internal.SystemManager
- updateCameraPosition(Vector) - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultWorld
- updateDuration() - Method in class io.github.srcimon.screwbox.core.loop.internal.DefaultLoop
- updateDuration() - Method in interface io.github.srcimon.screwbox.core.loop.Loop
-
Returns the
Duration
that the last update took. - updateGraphicsContext(Supplier<Graphics2D>, Size) - Method in class io.github.srcimon.screwbox.core.graphics.internal.AsyncRenderer
- updateGraphicsContext(Supplier<Graphics2D>, Size) - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultRenderer
- updateGraphicsContext(Supplier<Graphics2D>, Size) - Method in interface io.github.srcimon.screwbox.core.graphics.internal.Renderer
- updateGraphicsContext(Supplier<Graphics2D>, Size) - Method in class io.github.srcimon.screwbox.core.graphics.internal.StandbyRenderer
- updateGrid(Grid) - Method in class io.github.srcimon.screwbox.core.physics.internal.DefaultPhysics
- updateGrid(Grid) - Method in interface io.github.srcimon.screwbox.core.physics.Physics
- updateScreen(boolean) - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultScreen
- updateSheduler - Variable in class io.github.srcimon.screwbox.core.environment.physics.PhysicsGridConfigurationComponent
- updateTimes(int) - Method in class io.github.srcimon.screwbox.core.environment.internal.DefaultEnvironment
- updateZoom(double) - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultWorld
- 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.Noise
- valueOf(String) - Static method in enum class io.github.srcimon.screwbox.core.audio.AudioConfigurationEvent.ConfigurationProperty
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.srcimon.screwbox.core.audio.Sound.SourceFormat
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.srcimon.screwbox.core.environment.internal.Feature
-
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.AudioConfigurationEvent.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.audio.Sound.SourceFormat
-
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.internal.Feature
-
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.
- variableInterval(Duration) - Static method in class io.github.srcimon.screwbox.core.utils.Noise
- 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 class io.github.srcimon.screwbox.core.graphics.internal.DefaultWorld
- visibleArea() - Method in interface io.github.srcimon.screwbox.core.graphics.World
- volume() - Method in class io.github.srcimon.screwbox.core.audio.SoundOptions
-
Get the playback volume.
- volume(Percent) - Method in class io.github.srcimon.screwbox.core.audio.SoundOptions
-
Sets the volume of the playback.
W
- W - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
- warn(String) - Method in class io.github.srcimon.screwbox.core.log.internal.DefaultLog
- 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_MONO - Enum constant in enum class io.github.srcimon.screwbox.core.audio.Sound.SourceFormat
- WAV_STEREO - Enum constant in enum class io.github.srcimon.screwbox.core.audio.Sound.SourceFormat
- 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
- WindowFrame - Class in io.github.srcimon.screwbox.core.window.internal
- WindowFrame(Size) - Constructor for class io.github.srcimon.screwbox.core.window.internal.WindowFrame
- windowGainedFocus(WindowEvent) - Method in class io.github.srcimon.screwbox.core.window.internal.WindowFrame
- windowLostFocus(WindowEvent) - Method in class io.github.srcimon.screwbox.core.window.internal.WindowFrame
- 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() - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultGraphics
- World - Interface in io.github.srcimon.screwbox.core.graphics
- worldArea(Grid.Node) - Method in class io.github.srcimon.screwbox.core.Grid
- worldBounds - Variable in class io.github.srcimon.screwbox.core.environment.physics.PhysicsGridConfigurationComponent
- worldPosition(Grid.Node) - Method in class io.github.srcimon.screwbox.core.Grid
- wsadMovement(double) - Method in class io.github.srcimon.screwbox.core.keyboard.internal.DefaultKeyboard
- 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 anVector.x
-component. - X - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
- xModifier - Variable in class io.github.srcimon.screwbox.core.environment.physics.ChaoticMovementComponent
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 anVector.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.
- yModifier - Variable in class io.github.srcimon.screwbox.core.environment.physics.ChaoticMovementComponent
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() - Method in interface io.github.srcimon.screwbox.core.graphics.Camera
-
Returns the currently used camera zoom.
- zoom() - Method in class io.github.srcimon.screwbox.core.graphics.internal.DefaultCamera
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form