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(Sound) - Method in interface io.github.srcimon.screwbox.core.audio.Audio
-
Returns the count of currently playing instances of the given
Sound
. - activeCount(Supplier<Sound>) - Method in interface io.github.srcimon.screwbox.core.audio.Audio
- 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. - 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(long, Time.Unit) - Method in class io.github.srcimon.screwbox.core.Time
-
Add the given value measured as
Time.Unit
. - 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 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, double, Color) - Method in interface io.github.srcimon.screwbox.core.graphics.Light
-
Adds a directed light to the
World
. - addEntities(Entity...) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
- addEntities(List<Entity>) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
- addEntity(int, Component...) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
- addEntity(int, String, Component...) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
- addEntity(Component...) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
- addEntity(Entity) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
- addEntity(String, Component...) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
- addEntry(Sprite, Vector, SpriteDrawOptions, int) - Method in class io.github.srcimon.screwbox.core.graphics.SpriteBatch
- addFullBrightnessArea(Bounds) - Method in interface io.github.srcimon.screwbox.core.graphics.Light
-
Adds an area to the
World
that is fully illuminated. - addGlow(Vector, double, Color) - Method in interface io.github.srcimon.screwbox.core.graphics.Light
-
Adds a glow effect to the given position.
- 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
- addMillis(long) - Method in class io.github.srcimon.screwbox.core.Time
- addOrReplace(Scene) - Method in interface io.github.srcimon.screwbox.core.scenes.Scenes
- addOrReplaceSystem(EntitySystem) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
- addPointLight(Vector, double, Color) - Method in interface io.github.srcimon.screwbox.core.graphics.Light
-
Adds a pointlight to the
World
. - addSeconds(long) - Method in class io.github.srcimon.screwbox.core.Time
- addShadowCaster(Bounds) - Method in interface io.github.srcimon.screwbox.core.graphics.Light
-
Adds object that cast shadows.
- addShadowCasters(List<Bounds>) - Method in interface io.github.srcimon.screwbox.core.graphics.Light
-
Adds objects that cast shadows.
- addSpotLight(Vector, double, Color) - 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(SystemOrder, EntitySystem) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
-
Adds an
EntitySystem
to theEnvironment
with the givenSystemOrder
(overwrites annotatedSystemOrder
if present. - addSystems(EntitySystem...) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
- addTo(Time) - Method in class io.github.srcimon.screwbox.core.Duration
- 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
- alignCenter() - Method in record class io.github.srcimon.screwbox.core.graphics.TextDrawOptions
-
Creates a new instance with
TextDrawOptions.Alignment.CENTER
. - alignment() - Method in record class io.github.srcimon.screwbox.core.graphics.TextDrawOptions
-
Returns the value of the
alignment
record component. - alignRight() - Method in record class io.github.srcimon.screwbox.core.graphics.TextDrawOptions
-
Creates a new instance with
TextDrawOptions.Alignment.RIGHT
. - ALL - Enum constant in enum class io.github.srcimon.screwbox.core.physics.Borders
- 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.rendering.CameraTargetComponent
- allPixels() - Method in class io.github.srcimon.screwbox.core.graphics.Size
- ambientLight() - Method in interface io.github.srcimon.screwbox.core.graphics.Light
-
Returns the current ambient light brightness.
- 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.filter.BlurImageFilter
- 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 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() - Method in interface io.github.srcimon.screwbox.core.assets.AssetBundle
-
The
Asset
represented by each enum value. - asset() - Method in enum class io.github.srcimon.screwbox.core.assets.FontsBundle
- asset() - Method in enum class io.github.srcimon.screwbox.core.assets.SoundsBundle
- asset() - Method in enum class io.github.srcimon.screwbox.core.assets.SpritesBundle
- 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. - AssetBundle<T> - Interface in io.github.srcimon.screwbox.core.assets
-
Marks enums (e.g.
- 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. - AssetLocation(AssetBundle<?>) - Constructor for class io.github.srcimon.screwbox.core.assets.AssetLocation
- 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
. - 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()
. - 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.
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.
- BLOB_ANIMATED_16 - Enum constant in enum class io.github.srcimon.screwbox.core.assets.SpritesBundle
- 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.filter
- BlurImageFilter(int) - Constructor for class io.github.srcimon.screwbox.core.graphics.internal.filter.BlurImageFilter
- bold() - Method in record class io.github.srcimon.screwbox.core.graphics.TextDrawOptions
-
Creates a new instance with bold font.
- BOLDZILLA - Enum constant in enum class io.github.srcimon.screwbox.core.assets.FontsBundle
- Borders - Enum Class in io.github.srcimon.screwbox.core.physics
- 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() - Method in class io.github.srcimon.screwbox.core.environment.Entity
- 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 - Interface in io.github.srcimon.screwbox.core.graphics
-
Get information abound the
Camera
likeCamera.position()
. - cameraBounds - Variable in class io.github.srcimon.screwbox.core.environment.rendering.CameraBoundsComponent
- CameraBoundsComponent - Class in io.github.srcimon.screwbox.core.environment.rendering
- CameraBoundsComponent(Bounds) - Constructor for class io.github.srcimon.screwbox.core.environment.rendering.CameraBoundsComponent
- CameraShakeOptions - Record Class in io.github.srcimon.screwbox.core.graphics
-
Configures the shake of the
Camera
. - CameraShakeOptions(Duration, double, double, Duration) - Constructor for record class io.github.srcimon.screwbox.core.graphics.CameraShakeOptions
-
Creates an instance of a
CameraShakeOptions
record class. - CameraSystem - Class in io.github.srcimon.screwbox.core.environment.rendering
- CameraSystem() - Constructor for class io.github.srcimon.screwbox.core.environment.rendering.CameraSystem
- CameraTargetComponent - Class in io.github.srcimon.screwbox.core.environment.rendering
- CameraTargetComponent() - Constructor for class io.github.srcimon.screwbox.core.environment.rendering.CameraTargetComponent
- CameraTargetComponent(double) - Constructor for class io.github.srcimon.screwbox.core.environment.rendering.CameraTargetComponent
- castingHorizontal(double) - Method in class io.github.srcimon.screwbox.core.physics.RaycastBuilder
- castingTo(double, double) - Method in class io.github.srcimon.screwbox.core.physics.RaycastBuilder
- castingTo(Vector) - Method in class io.github.srcimon.screwbox.core.physics.RaycastBuilder
- castingVertical(double) - Method in class io.github.srcimon.screwbox.core.physics.RaycastBuilder
- center - Variable in class io.github.srcimon.screwbox.core.environment.tweening.TweenOrbitPositionComponent
- center() - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
-
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
- CENTER - Enum constant in enum class io.github.srcimon.screwbox.core.graphics.TextDrawOptions.Alignment
- 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.
- 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
- CircleDrawOptions - Record Class in io.github.srcimon.screwbox.core.graphics
-
Customize the drawing of circles.
- CircleDrawOptions(CircleDrawOptions.Style, Color, int) - Constructor for record class io.github.srcimon.screwbox.core.graphics.CircleDrawOptions
-
Creates an instance of a
CircleDrawOptions
record class. - CircleDrawOptions.Style - Enum Class in io.github.srcimon.screwbox.core.graphics
-
The style used to draw.
- CircleTransition - Class in io.github.srcimon.screwbox.core.graphics.transitions
- CircleTransition() - Constructor for class io.github.srcimon.screwbox.core.graphics.transitions.CircleTransition
- 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. - close() - Method in interface io.github.srcimon.screwbox.core.window.Window
-
Closes the
Window
. - closeMenu() - Method in interface io.github.srcimon.screwbox.core.ui.Ui
-
Closes the current open
UiMenu
. - code() - Method in enum class io.github.srcimon.screwbox.core.keyboard.Key
-
The corresponding key code of the key.
- collidedEntities - Variable in class io.github.srcimon.screwbox.core.environment.physics.CollisionDetectionComponent
- ColliderComponent - Class in io.github.srcimon.screwbox.core.environment.physics
- ColliderComponent() - Constructor for class io.github.srcimon.screwbox.core.environment.physics.ColliderComponent
- ColliderComponent(double) - Constructor for class io.github.srcimon.screwbox.core.environment.physics.ColliderComponent
- ColliderComponent(double, Percent) - Constructor for class io.github.srcimon.screwbox.core.environment.physics.ColliderComponent
- ColliderComponent(double, Percent, boolean) - Constructor for class io.github.srcimon.screwbox.core.environment.physics.ColliderComponent
- CollisionDetectionComponent - Class in io.github.srcimon.screwbox.core.environment.physics
- CollisionDetectionComponent() - Constructor for class io.github.srcimon.screwbox.core.environment.physics.CollisionDetectionComponent
- CollisionDetectionSystem - Class in io.github.srcimon.screwbox.core.environment.physics
- CollisionDetectionSystem() - Constructor for class io.github.srcimon.screwbox.core.environment.physics.CollisionDetectionSystem
- color - Variable in class io.github.srcimon.screwbox.core.environment.light.ConeLightComponent
- color - Variable in class io.github.srcimon.screwbox.core.environment.light.GlowComponent
- color - Variable in class io.github.srcimon.screwbox.core.environment.light.PointLightComponent
- color - Variable in class io.github.srcimon.screwbox.core.environment.light.SpotLightComponent
- color() - Method in record class io.github.srcimon.screwbox.core.graphics.CircleDrawOptions
-
Returns the value of the
color
record component. - color() - Method in record class io.github.srcimon.screwbox.core.graphics.LineDrawOptions
-
Returns the value of the
color
record component. - color() - Method in record class io.github.srcimon.screwbox.core.graphics.RectangleDrawOptions
-
Returns the value of the
color
record component. - color() - Method in record class io.github.srcimon.screwbox.core.graphics.TextDrawOptions
-
Returns the value of the
color
record component. - color(Color) - Static method in record class io.github.srcimon.screwbox.core.graphics.LineDrawOptions
-
Returns new instance with new
LineDrawOptions.color()
. - color(Color) - Method in record class io.github.srcimon.screwbox.core.graphics.TextDrawOptions
-
Creates a new instance with given
Color
. - Color - Class in io.github.srcimon.screwbox.core.graphics
-
Used to store color information used in
Graphics
. - colorAt(int, int) - Method in class io.github.srcimon.screwbox.core.graphics.Frame
-
Returns the
Color
of the pixel at the given position. - colorAt(Offset) - Method in class io.github.srcimon.screwbox.core.graphics.Frame
-
Returns the
Color
of the pixel at the given position. - COMMA - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
- compareTo(Size) - Method in class io.github.srcimon.screwbox.core.graphics.Size
- compareTo(SpriteBatch.SpriteBatchEntry) - Method in record class io.github.srcimon.screwbox.core.graphics.SpriteBatch.SpriteBatchEntry
- compareTo(Line) - Method in class io.github.srcimon.screwbox.core.Line
- compareTo(Rotation) - Method in class io.github.srcimon.screwbox.core.Rotation
- Component - Interface in io.github.srcimon.screwbox.core.environment
- componentAdded(EntityEvent) - Method in interface io.github.srcimon.screwbox.core.environment.EntityListener
- componentCount() - Method in class io.github.srcimon.screwbox.core.environment.Entity
- componentRemoved(EntityEvent) - Method in interface io.github.srcimon.screwbox.core.environment.EntityListener
- 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, double) - Constructor for class io.github.srcimon.screwbox.core.environment.light.ConeLightComponent
- ConeLightComponent(Rotation, Rotation, double, Color) - 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 interface io.github.srcimon.screwbox.core.graphics.Graphics
-
Read and change the current
GraphicsConfiguration
. - configurationChanged(AudioConfigurationEvent) - Method in interface io.github.srcimon.screwbox.core.audio.AudioConfigurationListener
-
invoked when a property of the
AudioConfiguration
is changed. - configurationChanged(GraphicsConfigurationEvent) - Method in interface io.github.srcimon.screwbox.core.graphics.GraphicsConfigurationListener
-
invoked when a property of the
GraphicsConfiguration
is changed. - ConsoleLoggingAdapter - Class in io.github.srcimon.screwbox.core.log
- ConsoleLoggingAdapter() - Constructor for class io.github.srcimon.screwbox.core.log.ConsoleLoggingAdapter
- contains(Archetype) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
- contains(Offset) - Method in record class io.github.srcimon.screwbox.core.graphics.ScreenBounds
- 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 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
- createEngine() - Static method in class io.github.srcimon.screwbox.core.ScrewBox
-
Creates an
Engine
instance. - createEngine(String) - Static method in class io.github.srcimon.screwbox.core.ScrewBox
-
Creates an
Engine
instance. - createSavegame(String) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
-
Creates a savegame file with the given name.
- cropHorizontal() - Method in class io.github.srcimon.screwbox.core.graphics.Frame
-
Returns a new instance of a
Frame
without transparent pixels on the left and the right side. - cropHorizontal() - Method in class io.github.srcimon.screwbox.core.graphics.Sprite
-
Returns a version of this
Sprite
where the transparent space on the left and the right side were reduced to a minimum. - currentMenu() - Method in interface io.github.srcimon.screwbox.core.ui.Ui
-
Returns the current
UiMenu
. - currentResolution() - Method in interface io.github.srcimon.screwbox.core.graphics.Graphics
-
Returns the current screen resolution.
- customColor(Color) - Method in enum class io.github.srcimon.screwbox.core.assets.FontsBundle
D
- D - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
- DARK_BLUE - Static variable in class io.github.srcimon.screwbox.core.graphics.Color
-
The color dark blue.
- DARK_GREEN - Static variable in class io.github.srcimon.screwbox.core.graphics.Color
-
The color dark green.
- debug(String) - Method in interface io.github.srcimon.screwbox.core.log.Log
-
Logs a message using
LogLevel.DEBUG
. - DEBUG - Enum constant in enum class io.github.srcimon.screwbox.core.log.LogLevel
-
Used for verbose output.
- DEFAULT - Enum constant in enum class io.github.srcimon.screwbox.core.graphics.MouseCursor
-
The default cursor of the current operation system.
- DefaultLoadingScene - Class in io.github.srcimon.screwbox.core.scenes
- DefaultLoadingScene() - Constructor for class io.github.srcimon.screwbox.core.scenes.DefaultLoadingScene
- DefaultScene - Class in io.github.srcimon.screwbox.core.scenes
- DefaultScene() - Constructor for class io.github.srcimon.screwbox.core.scenes.DefaultScene
- definedBy(Offset, Offset) - Static method in class io.github.srcimon.screwbox.core.graphics.Size
-
Returns a new instance of
Size
defined by two edges. - degrees() - Method in class io.github.srcimon.screwbox.core.Rotation
-
Returns the degrees value of this
Rotation
. - degrees(double) - Static method in class io.github.srcimon.screwbox.core.Rotation
-
Creates a new
Rotation
by the givenRotation.degrees()
. - deleteSavegame(String) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
-
Deletes the savegame with the given name.
- delta() - Method in interface io.github.srcimon.screwbox.core.loop.Loop
-
Returns an abstraction of delta time between two frames.
- delta(double) - Method in interface io.github.srcimon.screwbox.core.loop.Loop
-
Same as
Loop.delta()
but multiplies the result by the given factor. - DijkstraAlgorithm - Class in io.github.srcimon.screwbox.core.physics
-
An implementation of the Dijkstra algorithm.
- DijkstraAlgorithm() - Constructor for class io.github.srcimon.screwbox.core.physics.DijkstraAlgorithm
- direction - Variable in class io.github.srcimon.screwbox.core.environment.light.ConeLightComponent
- disable() - Method in interface io.github.srcimon.screwbox.core.log.Log
-
Turns off logging completely.
- disableLogging() - Method in interface io.github.srcimon.screwbox.core.assets.Assets
-
Disables logging of loading results.
- distance - Variable in class io.github.srcimon.screwbox.core.environment.tweening.TweenOrbitPositionComponent
- distance(Grid.Node) - Method in record class io.github.srcimon.screwbox.core.Grid.Node
- distanceTo(Vector) - Method in class io.github.srcimon.screwbox.core.Vector
-
Calculates the distance between this and the other
Vector
. - DOT - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
- downKeys() - Method in interface io.github.srcimon.screwbox.core.keyboard.Keyboard
-
Returns all currently down
Key
s. - drag() - Method in interface io.github.srcimon.screwbox.core.mouse.Mouse
-
Returns the drag movement of the mouse since the last frame.
- draw(Screen, Percent) - Method in class io.github.srcimon.screwbox.core.graphics.transitions.CircleTransition
- draw(Screen, Percent) - Method in class io.github.srcimon.screwbox.core.graphics.transitions.FadeOutTransition
- draw(Screen, Percent) - Method in class io.github.srcimon.screwbox.core.graphics.transitions.FadingScreenTransition
- draw(Screen, Percent) - Method in class io.github.srcimon.screwbox.core.graphics.transitions.HorizontalLinesTransition
- draw(Screen, Percent) - Method in class io.github.srcimon.screwbox.core.graphics.transitions.MosaikTransition
- draw(Screen, Percent) - Method in interface io.github.srcimon.screwbox.core.graphics.transitions.ScreenTransition
- draw(Screen, Percent) - Method in class io.github.srcimon.screwbox.core.graphics.transitions.SwipeTransition
- drawCircle(Offset, int, CircleDrawOptions) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
-
Draws a circle on the
Screen
using the given position andCircleDrawOptions
. - drawCircle(Vector, double, CircleDrawOptions) - Method in interface io.github.srcimon.screwbox.core.graphics.World
-
Draw a circle on the
World
usingCircleDrawOptions
. - 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 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 interface io.github.srcimon.screwbox.core.graphics.World
-
Draw a rectangle on the
World
usingRectangleDrawOptions
. - 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, SpriteDrawOptions) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
- drawSprite(Sprite, Offset, SpriteDrawOptions, ScreenBounds) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
- drawSprite(Sprite, Vector, SpriteDrawOptions) - Method in interface io.github.srcimon.screwbox.core.graphics.World
- drawSprite(Sprite, Vector, SpriteDrawOptions, Bounds) - Method in interface io.github.srcimon.screwbox.core.graphics.World
- drawSprite(Supplier<Sprite>, Offset, SpriteDrawOptions) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
- drawSpriteBatch(SpriteBatch) - Method in interface io.github.srcimon.screwbox.core.graphics.World
- drawSpriteBatch(SpriteBatch, Bounds) - Method in interface io.github.srcimon.screwbox.core.graphics.World
- drawText(Offset, String, Pixelfont) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
- drawText(Offset, String, Pixelfont, double) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
- drawText(Offset, String, Pixelfont, Percent) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
- drawText(Offset, String, Pixelfont, Percent, double) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
- drawText(Offset, String, TextDrawOptions) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
-
Draws text on the
Screen
usingTextDrawOptions
. - drawText(Vector, String, TextDrawOptions) - Method in interface io.github.srcimon.screwbox.core.graphics.World
-
Draws text on the
World
usingTextDrawOptions
. - drawTextCentered(Offset, String, Pixelfont) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
- drawTextCentered(Offset, String, Pixelfont, double) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
- drawTextCentered(Offset, String, Pixelfont, Percent) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
- drawTextCentered(Offset, String, Pixelfont, Percent, double) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
- drawTextCentered(Vector, String, Pixelfont, Percent, double) - Method in interface io.github.srcimon.screwbox.core.graphics.World
- 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 record class io.github.srcimon.screwbox.core.graphics.CameraShakeOptions
-
Returns the value of the
duration
record component. - 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 interface io.github.srcimon.screwbox.core.log.Log
-
Turns on logging again.
- enableLight() - Method in interface io.github.srcimon.screwbox.core.environment.Environment
-
Adds systems for light rendering.
- enableLogging() - Method in interface io.github.srcimon.screwbox.core.assets.Assets
-
Activates logging of loading results.
- enableLogic() - Method in interface io.github.srcimon.screwbox.core.environment.Environment
-
Adds systems needed for stateful entities and area triggers.
- enablePhysics() - Method in interface io.github.srcimon.screwbox.core.environment.Environment
-
Adds all systems needed for physics support in this
Environment
. - enableRendering() - Method in interface io.github.srcimon.screwbox.core.environment.Environment
-
Adds systems needed for rendering
Sprite
s. - enableTweening() - Method in interface io.github.srcimon.screwbox.core.environment.Environment
-
Adds systems needed for tweening.
- Engine - Interface in io.github.srcimon.screwbox.core
-
This is the central point of controlling the ScrewBox-Engine.
- enter(Entity, Engine) - Method in interface io.github.srcimon.screwbox.core.environment.logic.EntityState
- ENTER - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
- entities() - Method in interface io.github.srcimon.screwbox.core.environment.Environment
-
Returns all
Entity
s currently attached. - 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
- entityCount() - Method in interface io.github.srcimon.screwbox.core.environment.Environment
- EntityEvent - Class in io.github.srcimon.screwbox.core.environment
- EntityEvent(Entity) - Constructor for class io.github.srcimon.screwbox.core.environment.EntityEvent
- EntityListener - Interface in io.github.srcimon.screwbox.core.environment
-
Listener interface for receiving
EntityEvent
s. - 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 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 record class io.github.srcimon.screwbox.core.graphics.CameraShakeOptions
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.srcimon.screwbox.core.graphics.CircleDrawOptions
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class io.github.srcimon.screwbox.core.graphics.Color
- equals(Object) - Method in record class io.github.srcimon.screwbox.core.graphics.LineDrawOptions
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class io.github.srcimon.screwbox.core.graphics.Offset
- equals(Object) - Method in record class io.github.srcimon.screwbox.core.graphics.RectangleDrawOptions
-
Indicates whether some other object is "equal to" this one.
- 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.graphics.SpriteDrawOptions
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.srcimon.screwbox.core.graphics.SpriteFillOptions
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.srcimon.screwbox.core.graphics.TextDrawOptions
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.srcimon.screwbox.core.Grid.Node
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class io.github.srcimon.screwbox.core.Line
- equals(Object) - Method in class io.github.srcimon.screwbox.core.Percent
- equals(Object) - Method in class io.github.srcimon.screwbox.core.Rotation
- equals(Object) - Method in class io.github.srcimon.screwbox.core.Time
- equals(Object) - Method in class io.github.srcimon.screwbox.core.Vector
- equals(Object) - Method in record class io.github.srcimon.screwbox.core.window.FilesDropedOnWindow
-
Indicates whether some other object is "equal to" this one.
- error(String) - Method in interface io.github.srcimon.screwbox.core.log.Log
-
Logs a message using
LogLevel.ERROR
. - error(Throwable) - Method in interface io.github.srcimon.screwbox.core.log.Log
-
Logs a message using
LogLevel.ERROR
containing the stacktrace of the 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
- fading(Color) - Static method in record class io.github.srcimon.screwbox.core.graphics.CircleDrawOptions
-
Draw a fading circle with the given
Color
. - FADING - Enum constant in enum class io.github.srcimon.screwbox.core.graphics.CircleDrawOptions.Style
-
Draws with
RectangleDrawOptions.color()
fading out from center of the circle. - FadingScreenTransition - Class in io.github.srcimon.screwbox.core.graphics.transitions
- FadingScreenTransition() - Constructor for class io.github.srcimon.screwbox.core.graphics.transitions.FadingScreenTransition
- fetchAll(Archetype) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
- fetchAllHaving(Class<? extends Component>) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
- fetchAllHaving(Class<? extends Component>, Class<? extends Component>) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
- fetchById(int) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
-
Fetches an
Entity
byEntity.id()
. - 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 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. - filled(Color) - Static method in record class io.github.srcimon.screwbox.core.graphics.CircleDrawOptions
-
Draw a filled circle with the given
Color
. - filled(Color) - Static method in record class io.github.srcimon.screwbox.core.graphics.RectangleDrawOptions
-
Draw a filled rectangle with the given
Color
. - FILLED - Enum constant in enum class io.github.srcimon.screwbox.core.graphics.CircleDrawOptions.Style
-
Draws a filled form.
- FILLED - Enum constant in enum class io.github.srcimon.screwbox.core.graphics.RectangleDrawOptions.Style
-
Draws a filled form.
- fillWith(Color) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
- fillWith(Sprite, SpriteFillOptions) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
- filterRGB(int, int, int) - Method in class io.github.srcimon.screwbox.core.graphics.internal.filter.InvertImageMinOpacityFilter
- filterRGB(int, int, int) - Method in class io.github.srcimon.screwbox.core.graphics.internal.filter.ReplaceColorFilter
- 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 interface io.github.srcimon.screwbox.core.physics.Physics
- 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
- FLICKER - Enum constant in enum class io.github.srcimon.screwbox.core.environment.tweening.TweenMode
-
Flickering effect.
- flipHorizontal(boolean) - Method in record class io.github.srcimon.screwbox.core.graphics.SpriteDrawOptions
-
Creates a new instance with updated
SpriteDrawOptions.isFlipHorizontal()
. - 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
- flipVertical(boolean) - Method in record class io.github.srcimon.screwbox.core.graphics.SpriteDrawOptions
-
Creates a new instance with updated
SpriteDrawOptions.isFlipVertical()
. - focus() - Method in interface io.github.srcimon.screwbox.core.graphics.Camera
- followSpeed - Variable in class io.github.srcimon.screwbox.core.environment.rendering.CameraTargetComponent
- fontName() - Method in record class io.github.srcimon.screwbox.core.graphics.TextDrawOptions
-
Returns the value of the
fontName
record component. - FontsBundle - Enum Class in io.github.srcimon.screwbox.core.assets
- force - Variable in class io.github.srcimon.screwbox.core.environment.physics.MagnetComponent
- 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 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.TweenLightComponent
- 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() - Method in interface io.github.srcimon.screwbox.core.assets.AssetBundle
-
Getter to get the
Asset
content directly. - get(Class<T>) - Method in class io.github.srcimon.screwbox.core.environment.Entity
- get(K) - Method in class io.github.srcimon.screwbox.core.utils.Cache
- get(K) - Method in class io.github.srcimon.screwbox.core.utils.TimeoutCache
- getAll() - Method in class io.github.srcimon.screwbox.core.environment.Entity
- getComponentClasses() - Method in class io.github.srcimon.screwbox.core.environment.Entity
- getCustomColor(Color) - Method in enum class io.github.srcimon.screwbox.core.assets.FontsBundle
-
Returns a colored version of the
Pixelfont
. - getOrElse(K, Supplier<V>) - Method in class io.github.srcimon.screwbox.core.utils.Cache
- getWhite() - Method in enum class io.github.srcimon.screwbox.core.assets.FontsBundle
-
Returns the white version of the
Pixelfont
. - GlowComponent - Class in io.github.srcimon.screwbox.core.environment.light
- GlowComponent(double, Color) - Constructor for class io.github.srcimon.screwbox.core.environment.light.GlowComponent
- 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 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.
- 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 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 record class io.github.srcimon.screwbox.core.graphics.CameraShakeOptions
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.srcimon.screwbox.core.graphics.CircleDrawOptions
-
Returns a hash code value for this object.
- hashCode() - Method in class io.github.srcimon.screwbox.core.graphics.Color
- hashCode() - Method in record class io.github.srcimon.screwbox.core.graphics.LineDrawOptions
-
Returns a hash code value for this object.
- hashCode() - Method in class io.github.srcimon.screwbox.core.graphics.Offset
- hashCode() - Method in record class io.github.srcimon.screwbox.core.graphics.RectangleDrawOptions
-
Returns a hash code value for this object.
- 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.graphics.SpriteDrawOptions
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.srcimon.screwbox.core.graphics.SpriteFillOptions
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.srcimon.screwbox.core.graphics.TextDrawOptions
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.srcimon.screwbox.core.Grid.Node
-
Returns a hash code value for this object.
- hashCode() - Method in class io.github.srcimon.screwbox.core.Line
- hashCode() - Method in class io.github.srcimon.screwbox.core.Percent
- hashCode() - Method in class io.github.srcimon.screwbox.core.Rotation
- hashCode() - Method in class io.github.srcimon.screwbox.core.Time
- hashCode() - Method in class io.github.srcimon.screwbox.core.Vector
- hashCode() - Method in record class io.github.srcimon.screwbox.core.window.FilesDropedOnWindow
-
Returns a hash code value for this object.
- hasHit() - Method in class io.github.srcimon.screwbox.core.physics.Raycast
- hasScrolled() - Method in interface io.github.srcimon.screwbox.core.mouse.Mouse
-
Returns true if there was any scrolling since the last frame.
- hasSingleton(Class<? extends Component>) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
- 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.
- HorizontalLinesTransition - Class in io.github.srcimon.screwbox.core.graphics.transitions
- HorizontalLinesTransition(int) - Constructor for class io.github.srcimon.screwbox.core.graphics.transitions.HorizontalLinesTransition
- HOURS - Enum constant in enum class io.github.srcimon.screwbox.core.Time.Unit
- humanReadable() - Method in class io.github.srcimon.screwbox.core.Duration
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
- 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(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
. - 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 record class io.github.srcimon.screwbox.core.graphics.CameraShakeOptions
-
The
Camera
will only stop shaking when invokingCamera.stopShaking()
or applying another shake. - 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 record class io.github.srcimon.screwbox.core.graphics.CameraShakeOptions
-
Returns the value of the
interval
record component. - interval(Duration) - Method in record class io.github.srcimon.screwbox.core.graphics.CameraShakeOptions
-
Set the
Duration
between direction changes. - 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. - InvertImageMinOpacityFilter - Class in io.github.srcimon.screwbox.core.graphics.internal.filter
- InvertImageMinOpacityFilter() - Constructor for class io.github.srcimon.screwbox.core.graphics.internal.filter.InvertImageMinOpacityFilter
- 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
-
Root package containing
ScrewBox
the entry point for starting the engine. - io.github.srcimon.screwbox.core.assets - package io.github.srcimon.screwbox.core.assets
-
Preloading and managing
Assets
. - io.github.srcimon.screwbox.core.async - package io.github.srcimon.screwbox.core.async
-
Convenience api for executing tasks in seperate threads.
- io.github.srcimon.screwbox.core.audio - package io.github.srcimon.screwbox.core.audio
-
Play
Sound
effects and music. - io.github.srcimon.screwbox.core.environment - package io.github.srcimon.screwbox.core.environment
-
Manage all game entities, components and systems in the game
Environment
. - io.github.srcimon.screwbox.core.environment.core - package io.github.srcimon.screwbox.core.environment.core
-
Core components and systems.
- io.github.srcimon.screwbox.core.environment.debug - package io.github.srcimon.screwbox.core.environment.debug
-
Components and systems used to help you find problems and analyse performance.
- io.github.srcimon.screwbox.core.environment.light - package io.github.srcimon.screwbox.core.environment.light
-
Components and systems used to add light effects.
- io.github.srcimon.screwbox.core.environment.logic - package io.github.srcimon.screwbox.core.environment.logic
-
Components and systems used for implementing logic, e.g.
- io.github.srcimon.screwbox.core.environment.physics - package io.github.srcimon.screwbox.core.environment.physics
-
Components and systems used to create moving objects using collisions and movement.
- io.github.srcimon.screwbox.core.environment.rendering - package io.github.srcimon.screwbox.core.environment.rendering
-
Components and systems used to render
Sprite
s and effects. - io.github.srcimon.screwbox.core.environment.tweening - package io.github.srcimon.screwbox.core.environment.tweening
-
Components and systems used to create tween effects, e.g.
- io.github.srcimon.screwbox.core.graphics - package io.github.srcimon.screwbox.core.graphics
-
Render shapes,
Sprite
s, add light effects. - io.github.srcimon.screwbox.core.graphics.internal.filter - package io.github.srcimon.screwbox.core.graphics.internal.filter
- io.github.srcimon.screwbox.core.graphics.transitions - package io.github.srcimon.screwbox.core.graphics.transitions
-
A collection of different
ScreenTransition
s. - io.github.srcimon.screwbox.core.keyboard - package io.github.srcimon.screwbox.core.keyboard
-
Use
Keyboard
to get keyboard control input. - io.github.srcimon.screwbox.core.log - package io.github.srcimon.screwbox.core.log
-
Basic support for logging and receiving
ScrewBox
log events. - io.github.srcimon.screwbox.core.loop - package io.github.srcimon.screwbox.core.loop
-
Information about performance metrics and setting the target fps.
- io.github.srcimon.screwbox.core.mouse - package io.github.srcimon.screwbox.core.mouse
-
Use
Mouse
to get mouse control input. - io.github.srcimon.screwbox.core.physics - package io.github.srcimon.screwbox.core.physics
-
Easy to use complex operations like raycasting and path finding.
- io.github.srcimon.screwbox.core.scenes - package io.github.srcimon.screwbox.core.scenes
-
Manage different game situations like pause, options and game over in different
Scenes
. - io.github.srcimon.screwbox.core.ui - package io.github.srcimon.screwbox.core.ui
-
Create on screen menus.
- io.github.srcimon.screwbox.core.utils - package io.github.srcimon.screwbox.core.utils
-
Container for a lot of usefull utilites e.g.
- io.github.srcimon.screwbox.core.window - package io.github.srcimon.screwbox.core.window
-
Get info and control the application
Window
. - isActive() - Method in interface io.github.srcimon.screwbox.core.log.Log
-
Checks if logging is currently active.
- isActive(Sound) - Method in interface io.github.srcimon.screwbox.core.audio.Audio
-
Returns
true
of there is any active playing instances of the givenSound
. - isActive(Engine) - Method in class io.github.srcimon.screwbox.core.ui.UiMenuItem
- isActive(UiMenuItem, Engine) - Method in class io.github.srcimon.screwbox.core.ui.UiMenu
- isActive(Class<? extends Scene>) - Method in interface io.github.srcimon.screwbox.core.scenes.Scenes
- 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 interface io.github.srcimon.screwbox.core.mouse.Mouse
-
Returns true if there was
MouseButton
down. - isAnyKeyDown() - Method in interface io.github.srcimon.screwbox.core.keyboard.Keyboard
-
Returns
true
if any key is down at the moment. - isAtLeast(Duration) - Method in class io.github.srcimon.screwbox.core.Duration
- 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
- isBold() - Method in record class io.github.srcimon.screwbox.core.graphics.TextDrawOptions
-
Returns the value of the
isBold
record component. - isClosed() - Method in interface io.github.srcimon.screwbox.core.window.Window
-
Returns
false
if theWindow
is currently open. - isCursorOnScreen() - Method in interface io.github.srcimon.screwbox.core.mouse.Mouse
-
Checks if the Cursor is on the
Screen
or not. - isDown(Key) - Method in interface io.github.srcimon.screwbox.core.keyboard.Keyboard
-
Returns
true
if the givenKey
is down at the moment. - 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 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
- isFlipHorizontal() - Method in record class io.github.srcimon.screwbox.core.graphics.SpriteDrawOptions
-
Returns the value of the
isFlipHorizontal
record component. - isFlipVertical() - Method in record class io.github.srcimon.screwbox.core.graphics.SpriteDrawOptions
-
Returns the value of the
isFlipVertical
record component. - isFree(int, int) - Method in class io.github.srcimon.screwbox.core.Grid
-
Retruns true if the given position is not blocked and inside the
Grid
. - isFree(Grid.Node) - Method in class io.github.srcimon.screwbox.core.Grid
- isFullscreen() - Method in class io.github.srcimon.screwbox.core.graphics.GraphicsConfiguration
- isItalic() - Method in record class io.github.srcimon.screwbox.core.graphics.TextDrawOptions
-
Returns the value of the
isItalic
record component. - 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. - isMicrophoneActive() - Method in interface io.github.srcimon.screwbox.core.audio.Audio
-
Returns
true
if the the microphone is currently active. - 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.
- isOneWay - Variable in class io.github.srcimon.screwbox.core.environment.physics.ColliderComponent
- 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. - 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 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. - isSystemPresent(Class<? extends EntitySystem>) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
- isTick() - Method in class io.github.srcimon.screwbox.core.utils.Sheduler
-
Checks if the timer is triggered now.
- isTick(Time) - Method in class io.github.srcimon.screwbox.core.utils.Sheduler
-
Checks if the timer is triggered at the given
Time
. - isTriggered - Variable in class io.github.srcimon.screwbox.core.environment.logic.SignalComponent
- isUnset() - Method in class io.github.srcimon.screwbox.core.Time
-
Returns
true
if this instance is unset. - isUseAntialising() - Method in class io.github.srcimon.screwbox.core.graphics.GraphicsConfiguration
-
Returns true if antialising is used.
- isVisible(Offset) - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
- 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() - Method in record class io.github.srcimon.screwbox.core.graphics.TextDrawOptions
-
Creates a new instance with italic font.
- itemCount() - Method in class io.github.srcimon.screwbox.core.ui.UiMenu
- itemIndex(UiMenuItem) - Method in class io.github.srcimon.screwbox.core.ui.UiMenu
- items() - Method in class io.github.srcimon.screwbox.core.ui.UiMenu
J
- J - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
- JUMP - Enum constant in enum class io.github.srcimon.screwbox.core.assets.SoundsBundle
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. - keys() - Method in class io.github.srcimon.screwbox.core.keyboard.KeyCombination
-
Returns all
Key
s in thatKeyCombination
.
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 record class io.github.srcimon.screwbox.core.graphics.CameraShakeOptions
- lastNode() - Method in class io.github.srcimon.screwbox.core.Path
- lastUpdate() - Method in interface io.github.srcimon.screwbox.core.loop.Loop
-
Returns the
Time
of the last update cycle. - Latch<T> - Class in io.github.srcimon.screwbox.core.utils
-
Utility class that holds two instances of a class to be easily swapped between an active and inactive state.
- LEFT - Enum constant in enum class io.github.srcimon.screwbox.core.graphics.TextDrawOptions.Alignment
- LEFT - Enum constant in enum class io.github.srcimon.screwbox.core.mouse.MouseButton
-
The left mouse button.
- length() - Method in class io.github.srcimon.screwbox.core.Line
- length() - Method in class io.github.srcimon.screwbox.core.Vector
-
Returns the length of the
Vector
. - length(double) - Method in class io.github.srcimon.screwbox.core.Vector
-
Returns a new
Vector
in the same direction but at the given length. - light() - Method in interface io.github.srcimon.screwbox.core.graphics.Graphics
-
Subsystem for creating and rendering light effects to the screen.
- Light - Interface in io.github.srcimon.screwbox.core.graphics
-
Subsystem for creating and rendering light effects to the screen.
- LIGHT_FALLOFF - Enum constant in enum class io.github.srcimon.screwbox.core.graphics.GraphicsConfigurationEvent.ConfigurationProperty
- LightBlockingComponent - Class in io.github.srcimon.screwbox.core.environment.light
- LightBlockingComponent() - Constructor for class io.github.srcimon.screwbox.core.environment.light.LightBlockingComponent
- lightFalloff() - Method in class io.github.srcimon.screwbox.core.graphics.GraphicsConfiguration
- lightFalloff(Percent) - Method in class io.github.srcimon.screwbox.core.graphics.GraphicsConfiguration
- LIGHTMAP_BLUR - Enum constant in enum class io.github.srcimon.screwbox.core.graphics.GraphicsConfigurationEvent.ConfigurationProperty
- LIGHTMAP_SCALE - Enum constant in enum class io.github.srcimon.screwbox.core.graphics.GraphicsConfigurationEvent.ConfigurationProperty
- lightmapBlur() - Method in class io.github.srcimon.screwbox.core.graphics.GraphicsConfiguration
-
Returns the current blur of the lightmap.
- lightmapScale() - Method in class io.github.srcimon.screwbox.core.graphics.GraphicsConfiguration
-
Returns the current lightmap resolution modifier.
- 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 - Record Class in io.github.srcimon.screwbox.core.graphics
-
Customize the drawing of lines.
- LineDrawOptions(Color, int) - Constructor for record class io.github.srcimon.screwbox.core.graphics.LineDrawOptions
-
Creates an instance of a
LineDrawOptions
record class. - 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. - 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
. - log() - Method in interface io.github.srcimon.screwbox.core.Engine
-
Provides some super basic logging features and the ability to pick up engine log events via
Log.setAdapter(LoggingAdapter)
(log.LoggingAdapter)}. - log(LogLevel, String) - Method in class io.github.srcimon.screwbox.core.log.ConsoleLoggingAdapter
- log(LogLevel, String) - Method in interface io.github.srcimon.screwbox.core.log.Log
-
Logs a message using the given
LogLevel
. - log(LogLevel, String) - Method in interface io.github.srcimon.screwbox.core.log.LoggingAdapter
-
Is invoked whenever a log message should be created.
- Log - Interface in io.github.srcimon.screwbox.core.log
-
Provides some super basic logging features and the ability to pick up engine log events via
Log.setAdapter(LoggingAdapter)
. - logError(String) - Method in class io.github.srcimon.screwbox.core.log.ConsoleLoggingAdapter
- LogFpsSystem - Class in io.github.srcimon.screwbox.core.environment.debug
- LogFpsSystem() - Constructor for class io.github.srcimon.screwbox.core.environment.debug.LogFpsSystem
- LoggingAdapter - Interface in io.github.srcimon.screwbox.core.log
-
Attaches the
Engine
logging events your preferred logging system. - LogLevel - Enum Class in io.github.srcimon.screwbox.core.log
-
Severity of a log message.
- logNormal(String) - Method in class io.github.srcimon.screwbox.core.log.ConsoleLoggingAdapter
- loop() - Method in interface io.github.srcimon.screwbox.core.Engine
-
Provides access to current performance metrics and to controls the target frames per second.
- Loop - Interface in io.github.srcimon.screwbox.core.loop
-
Provides access to current performance metrics and to controls the target frames per second.
M
- M - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
- MacOsSupport - Class in io.github.srcimon.screwbox.core.utils
-
Gives support for MacOs specific features.
- MagnetComponent - Class in io.github.srcimon.screwbox.core.environment.physics
- MagnetComponent(double, double) - Constructor for class io.github.srcimon.screwbox.core.environment.physics.MagnetComponent
- magnetModifier - Variable in class io.github.srcimon.screwbox.core.environment.physics.PhysicsComponent
- MagnetSystem - Class in io.github.srcimon.screwbox.core.environment.physics
- MagnetSystem() - Constructor for class io.github.srcimon.screwbox.core.environment.physics.MagnetSystem
- matches(Entity) - Method in class io.github.srcimon.screwbox.core.environment.Archetype
- 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
- merge(List<T>, List<T>) - Static method in class io.github.srcimon.screwbox.core.utils.ListUtil
- MICROPHONE_TIMEOUT - Enum constant in enum class io.github.srcimon.screwbox.core.audio.AudioConfigurationEvent.ConfigurationProperty
- microphoneIdleTimeout() - Method in class io.github.srcimon.screwbox.core.audio.AudioConfiguration
-
Gets the timout after that the microphone turns off after no further reading via
Audio.microphoneLevel()
. - microphoneLevel() - Method in interface io.github.srcimon.screwbox.core.audio.Audio
-
Returns the current microphone input volume.
- MICROSECONDS - Enum constant in enum class io.github.srcimon.screwbox.core.Time.Unit
- 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
. - MILLISECONDS - Enum constant in enum class io.github.srcimon.screwbox.core.Time.Unit
- 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
- MINUTES - Enum constant in enum class io.github.srcimon.screwbox.core.Time.Unit
- 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
- 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
- MOON_SURFACE_16 - Enum constant in enum class io.github.srcimon.screwbox.core.assets.SpritesBundle
- MosaikTransition - Class in io.github.srcimon.screwbox.core.graphics.transitions
- MosaikTransition(int, int) - Constructor for class io.github.srcimon.screwbox.core.graphics.transitions.MosaikTransition
- mouse() - Method in interface io.github.srcimon.screwbox.core.Engine
-
Subsystem for getting Information on the Mouse.
- Mouse - Interface in io.github.srcimon.screwbox.core.mouse
-
Subsystem for getting Information on the Mouse.
- MouseButton - Enum Class in io.github.srcimon.screwbox.core.mouse
-
The mouse-Buttons.
- MouseCursor - Enum Class in io.github.srcimon.screwbox.core.graphics
-
Some predefined mouse cursors that you can use.
- 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 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
. - moveTo(Vector) - Method in class io.github.srcimon.screwbox.core.environment.Entity
-
Moves an
Entity
to the givenBounds.position()
. - moveWithinVisualBounds(Vector, Bounds) - Method in interface io.github.srcimon.screwbox.core.graphics.Camera
-
Moves the camera within the given
Bounds
. - 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(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() - Method in enum class io.github.srcimon.screwbox.core.Time.Unit
-
Count of nanoseconds per time unit.
- NANOSECONDS - Enum constant in enum class io.github.srcimon.screwbox.core.Time.Unit
- 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
- 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()
. - 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. - 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 record class io.github.srcimon.screwbox.core.graphics.SpriteFillOptions
-
Returns the value of the
offset
record component. - 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(Offset) - Method in record class io.github.srcimon.screwbox.core.graphics.SpriteFillOptions
-
Creates a new instance with given
SpriteFillOptions.offset()
- 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() - 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.SpriteDrawOptions
-
Returns the value of the
opacity
record component. - opacity() - Method in record class io.github.srcimon.screwbox.core.graphics.SpriteFillOptions
-
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()
. - opacity(Percent) - Method in record class io.github.srcimon.screwbox.core.graphics.SpriteDrawOptions
-
Creates a new instance with updated
SpriteDrawOptions.opacity()
. - opacity(Percent) - Method in record class io.github.srcimon.screwbox.core.graphics.SpriteFillOptions
-
Creates a new instance with given
SpriteFillOptions.opacity()
. - opacityModifier - Variable in class io.github.srcimon.screwbox.core.environment.rendering.ReflectionComponent
- open() - Method in interface io.github.srcimon.screwbox.core.window.Window
-
Opens the
Window
. - openMenu(UiMenu) - Method in interface io.github.srcimon.screwbox.core.ui.Ui
-
Opens a
UiMenu
. - openPreviousMenu() - Method in interface io.github.srcimon.screwbox.core.ui.Ui
-
Opens the previous
UiMenu
. - OPTIMIZATION - Enum constant in enum class io.github.srcimon.screwbox.core.environment.SystemOrder
- OptimizeLightPerformanceSystem - Class in io.github.srcimon.screwbox.core.environment.light
- OptimizeLightPerformanceSystem() - Constructor for class io.github.srcimon.screwbox.core.environment.light.OptimizeLightPerformanceSystem
- OptimizePhysicsPerformanceSystem - Class in io.github.srcimon.screwbox.core.environment.physics
- OptimizePhysicsPerformanceSystem() - Constructor for class io.github.srcimon.screwbox.core.environment.physics.OptimizePhysicsPerformanceSystem
- options - Variable in class io.github.srcimon.screwbox.core.environment.rendering.RenderComponent
- options() - Method in class io.github.srcimon.screwbox.core.audio.Playback
-
The
SoundOptions
that were used to play theSound
. - options() - Method in record class io.github.srcimon.screwbox.core.graphics.SpriteBatch.SpriteBatchEntry
-
Returns the value of the
options
record component. - 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() - Method in class io.github.srcimon.screwbox.core.environment.Entity
- origin() - Static method in class io.github.srcimon.screwbox.core.graphics.Offset
-
Upper left corner of the
Window
. - originalSize() - Static method in record class io.github.srcimon.screwbox.core.graphics.SpriteDrawOptions
-
Creates a new instance with
SpriteDrawOptions.scale()
1. - outline(Color) - Static method in record class io.github.srcimon.screwbox.core.graphics.CircleDrawOptions
-
Draw only the circle with the given
Color
. - outline(Color) - Static method in record class io.github.srcimon.screwbox.core.graphics.RectangleDrawOptions
-
Draw only the outline with the given
Color
. - OUTLINE - Enum constant in enum class io.github.srcimon.screwbox.core.graphics.CircleDrawOptions.Style
-
Draws only the outline using
RectangleDrawOptions.strokeWidth()
. - OUTLINE - Enum constant in enum class io.github.srcimon.screwbox.core.graphics.RectangleDrawOptions.Style
-
Draws only the outline using
RectangleDrawOptions.strokeWidth()
. - 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 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.
- PHASER - Enum constant in enum class io.github.srcimon.screwbox.core.assets.SoundsBundle
- physics() - Method in interface io.github.srcimon.screwbox.core.Engine
-
Advanced searching for entities, pathfinding, raycasting and adjusting Entites to a
Grid
. - Physics - Interface in io.github.srcimon.screwbox.core.physics
-
Advanced searching for entities, pathfinding, raycasting and adjusting Entites to a
Grid
. - PhysicsComponent - Class in io.github.srcimon.screwbox.core.environment.physics
- PhysicsComponent() - Constructor for class io.github.srcimon.screwbox.core.environment.physics.PhysicsComponent
- PhysicsComponent(Vector) - Constructor for class io.github.srcimon.screwbox.core.environment.physics.PhysicsComponent
- 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
- 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, 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(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. - PLING - Enum constant in enum class io.github.srcimon.screwbox.core.assets.SoundsBundle
- PointLightComponent - Class in io.github.srcimon.screwbox.core.environment.light
- PointLightComponent(double) - Constructor for class io.github.srcimon.screwbox.core.environment.light.PointLightComponent
- PointLightComponent(double, Color) - 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 class io.github.srcimon.screwbox.core.environment.Entity
- position() - Method in interface io.github.srcimon.screwbox.core.graphics.Camera
- position() - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
-
Returns the position of the
Screen
relative to the monitor. - position() - Method in record class io.github.srcimon.screwbox.core.graphics.SpriteBatch.SpriteBatchEntry
-
Returns the value of the
position
record component. - position() - Method in interface io.github.srcimon.screwbox.core.mouse.Mouse
-
Returns the current mouse position in the
World
. - position() - Method in interface io.github.srcimon.screwbox.core.window.Window
-
Returns the current position of the
Window
. - PREPARATION - Enum constant in enum class io.github.srcimon.screwbox.core.environment.SystemOrder
- prepareClassPackage(Class<?>) - Method in interface io.github.srcimon.screwbox.core.assets.Assets
-
Loads all unloaded
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. - prepareEngineAssets() - Method in interface io.github.srcimon.screwbox.core.assets.Assets
-
Prepares all prepacked
AssetBundle
s in theScrewBox
game engine. - prepareEngineAssetsAsync() - Method in interface io.github.srcimon.screwbox.core.assets.Assets
-
Start asynchronous loading of all prepacked
AssetBundle
s in theScrewBox
game engine. - preparePackage(String) - Method in interface io.github.srcimon.screwbox.core.assets.Assets
-
Loads all unloaded
AssetLocation
s in the given package. - preparePackageAsync(String) - Method in interface io.github.srcimon.screwbox.core.assets.Assets
-
Start asynchronous loading of all unloaded
Asset
s in the given package. - PRESENTATION_BACKGROUND - Enum constant in enum class io.github.srcimon.screwbox.core.environment.SystemOrder
- PRESENTATION_EFFECTS - Enum constant in enum class io.github.srcimon.screwbox.core.environment.SystemOrder
- PRESENTATION_LIGHT - Enum constant in enum class io.github.srcimon.screwbox.core.environment.SystemOrder
- PRESENTATION_OVERLAY - Enum constant in enum class io.github.srcimon.screwbox.core.environment.SystemOrder
- PRESENTATION_PREPARE - Enum constant in enum class io.github.srcimon.screwbox.core.environment.SystemOrder
- PRESENTATION_TRANSITIONS - Enum constant in enum class io.github.srcimon.screwbox.core.environment.SystemOrder
- PRESENTATION_UI - Enum constant in enum class io.github.srcimon.screwbox.core.environment.SystemOrder
- PRESENTATION_UI_BACKGROUND - Enum constant in enum class io.github.srcimon.screwbox.core.environment.SystemOrder
- PRESENTATION_UI_FOREGROUND - Enum constant in enum class io.github.srcimon.screwbox.core.environment.SystemOrder
- PRESENTATION_WORLD - Enum constant in enum class io.github.srcimon.screwbox.core.environment.SystemOrder
- pressedKeys() - Method in interface io.github.srcimon.screwbox.core.keyboard.Keyboard
-
Returns all pressed
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 - Variable in class io.github.srcimon.screwbox.core.environment.light.ConeLightComponent
- radius - Variable in class io.github.srcimon.screwbox.core.environment.light.GlowComponent
- radius - Variable in class io.github.srcimon.screwbox.core.environment.light.PointLightComponent
- radius - Variable in class io.github.srcimon.screwbox.core.environment.light.SpotLightComponent
- 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 interface io.github.srcimon.screwbox.core.physics.Physics
- reachableNeighbors(Grid.Node) - Method in class io.github.srcimon.screwbox.core.Grid
- RectangleDrawOptions - Record Class in io.github.srcimon.screwbox.core.graphics
-
Customize the drawing of rectangles.
- RectangleDrawOptions(RectangleDrawOptions.Style, Color, int, Rotation) - Constructor for record class io.github.srcimon.screwbox.core.graphics.RectangleDrawOptions
-
Creates an instance of a
RectangleDrawOptions
record class. - RectangleDrawOptions.Style - Enum Class in io.github.srcimon.screwbox.core.graphics
-
The style used to draw.
- 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(Class<? extends Component>) - Method in class io.github.srcimon.screwbox.core.environment.Entity
- remove(Class<? extends EntitySystem>) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
- remove(Class<? extends Scene>) - Method in interface io.github.srcimon.screwbox.core.scenes.Scenes
- remove(List<Entity>) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
- removeAllComponentsOfType(Class<? extends Component>) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
-
Removes all
Component
s with the given type from allEnvironment.entities()
. - removeNode(int) - Method in class io.github.srcimon.screwbox.core.Path
- removeSystemIfPresent(Class<? extends EntitySystem>) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
- render() - Method in interface io.github.srcimon.screwbox.core.graphics.Light
-
Renders the lightmap to
Window
. - RenderComponent - Class in io.github.srcimon.screwbox.core.environment.rendering
- RenderComponent() - Constructor for class io.github.srcimon.screwbox.core.environment.rendering.RenderComponent
- RenderComponent(int) - Constructor for class io.github.srcimon.screwbox.core.environment.rendering.RenderComponent
- RenderComponent(Sprite) - Constructor for class io.github.srcimon.screwbox.core.environment.rendering.RenderComponent
- RenderComponent(Sprite, int) - Constructor for class io.github.srcimon.screwbox.core.environment.rendering.RenderComponent
- RenderComponent(Sprite, int, Percent) - Constructor for class io.github.srcimon.screwbox.core.environment.rendering.RenderComponent
- renderInactiveItem(String, ScreenBounds, Screen) - Method in class io.github.srcimon.screwbox.core.ui.SimpleUiRenderer
- renderInactiveItem(String, ScreenBounds, Screen) - Method in interface io.github.srcimon.screwbox.core.ui.UiRenderer
- renderSelectableItem(String, ScreenBounds, Screen) - Method in class io.github.srcimon.screwbox.core.ui.SimpleUiRenderer
- renderSelectableItem(String, ScreenBounds, Screen) - Method in interface io.github.srcimon.screwbox.core.ui.UiRenderer
- renderSelectedItem(String, ScreenBounds, Screen) - Method in class io.github.srcimon.screwbox.core.ui.SimpleUiRenderer
- renderSelectedItem(String, ScreenBounds, Screen) - Method in interface io.github.srcimon.screwbox.core.ui.UiRenderer
- RenderSystem - Class in io.github.srcimon.screwbox.core.environment.rendering
- RenderSystem() - Constructor for class io.github.srcimon.screwbox.core.environment.rendering.RenderSystem
- replaceColor(Color, Color) - Method in class io.github.srcimon.screwbox.core.graphics.Frame
-
Returns a new instance.
- replaceColor(Color, Color) - Method in class io.github.srcimon.screwbox.core.graphics.Pixelfont
- replaceColor(Color, Color) - Method in class io.github.srcimon.screwbox.core.graphics.Sprite
-
Returns a new
Sprite
. - ReplaceColorFilter - Class in io.github.srcimon.screwbox.core.graphics.internal.filter
- ReplaceColorFilter(Color, Color) - Constructor for class io.github.srcimon.screwbox.core.graphics.internal.filter.ReplaceColorFilter
- resolution() - Method in class io.github.srcimon.screwbox.core.graphics.GraphicsConfiguration
- RESOLUTION - Enum constant in enum class io.github.srcimon.screwbox.core.graphics.GraphicsConfigurationEvent.ConfigurationProperty
- resourceExists(String) - Static method in class io.github.srcimon.screwbox.core.utils.Resources
-
Returns true if there is a resource with the given file name.
- Resources - Class in io.github.srcimon.screwbox.core.utils
-
Provides convenience methods to access
ClassLoader
accessible resources. - 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.graphics.TextDrawOptions.Alignment
- 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() - Method in record class io.github.srcimon.screwbox.core.graphics.RectangleDrawOptions
-
Returns the value of the
rotation
record component. - rotation() - Method in record class io.github.srcimon.screwbox.core.graphics.SpriteDrawOptions
-
Returns the value of the
rotation
record component. - rotation(Rotation) - Method in record class io.github.srcimon.screwbox.core.graphics.RectangleDrawOptions
-
Sets the
RectangleDrawOptions.rotation()
of the drawn rectangle. - rotation(Rotation) - Method in record class io.github.srcimon.screwbox.core.graphics.SpriteDrawOptions
-
Creates a new instance with updated
SpriteDrawOptions.rotation()
. - 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.
- runExclusive(Object, Runnable) - Method in interface io.github.srcimon.screwbox.core.async.Async
-
Runs a task in the given context, but only if there is no other task in the context running right now.
- runningTime() - Method in interface io.github.srcimon.screwbox.core.loop.Loop
-
Returns the running time of the game engine.
S
- S - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
- sameSign(double, double) - Static method in class io.github.srcimon.screwbox.core.utils.MathUtil
-
Returns
true
if both values have the same sign. - savegameExists(String) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
-
Returns true if there is a savegame with the given name.
- scale() - Method in record class io.github.srcimon.screwbox.core.graphics.SpriteDrawOptions
-
Returns the value of the
scale
record component. - scale() - Method in record class io.github.srcimon.screwbox.core.graphics.SpriteFillOptions
-
Returns the value of the
scale
record component. - scale(double) - Method in record class io.github.srcimon.screwbox.core.graphics.SpriteDrawOptions
-
Creates a new instance with updated
SpriteDrawOptions.scale()
. - scale(double) - Static method in record class io.github.srcimon.screwbox.core.graphics.SpriteFillOptions
-
Creates a new instance with given
SpriteFillOptions.scale()
. - 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
. - scaled(double) - Static method in record class io.github.srcimon.screwbox.core.graphics.SpriteDrawOptions
-
Creates a new instance with given
SpriteDrawOptions.scale()
. - Scene - Interface in io.github.srcimon.screwbox.core.scenes
- sceneCount() - Method in interface io.github.srcimon.screwbox.core.scenes.Scenes
- scenes() - Method in interface io.github.srcimon.screwbox.core.Engine
-
Use
Scenes
to structure different game situations. - Scenes - Interface in io.github.srcimon.screwbox.core.scenes
- screen() - Method in interface io.github.srcimon.screwbox.core.graphics.Graphics
-
Access drawing operations on the game screen.
- Screen - Interface in io.github.srcimon.screwbox.core.graphics
-
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 interface io.github.srcimon.screwbox.core.physics.Physics
- searchInRange(Bounds) - Method in interface io.github.srcimon.screwbox.core.physics.Physics
- seconds() - Method in class io.github.srcimon.screwbox.core.Duration
-
Returns the total seconds of the
Duration
. - SECONDS - Enum constant in enum class io.github.srcimon.screwbox.core.Time.Unit
- segments() - Method in class io.github.srcimon.screwbox.core.Path
- selectAll() - Method in class io.github.srcimon.screwbox.core.physics.SelectEntityBuilder
- selectAllEntities() - Method in class io.github.srcimon.screwbox.core.physics.Raycast
- selectAny() - Method in class io.github.srcimon.screwbox.core.physics.SelectEntityBuilder
- selectAnyEntity() - Method in class io.github.srcimon.screwbox.core.physics.Raycast
- selectedItem() - Method in class io.github.srcimon.screwbox.core.ui.UiMenu
- SelectEntityBuilder - Class in io.github.srcimon.screwbox.core.physics
- SelectEntityBuilder(Environment, Bounds) - Constructor for class io.github.srcimon.screwbox.core.physics.SelectEntityBuilder
- SelectEntityBuilder(Environment, Vector) - Constructor for class io.github.srcimon.screwbox.core.physics.SelectEntityBuilder
- selectItem(UiMenuItem) - Method in class io.github.srcimon.screwbox.core.ui.UiMenu
- setAdapter(LoggingAdapter) - Method in interface io.github.srcimon.screwbox.core.log.Log
-
Sets the
LoggingAdapter
that is used for logging all messages. - setAmbientLight(Percent) - Method in interface io.github.srcimon.screwbox.core.graphics.Light
-
Sets the brightness of the
Light.ambientLight()
that illuminates 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 interface io.github.srcimon.screwbox.core.window.Window
-
Updates the mouse cursor with the given
Frame
when game is in fullscreen mode. - setFullscreenCursor(MouseCursor) - Method in interface io.github.srcimon.screwbox.core.window.Window
-
Updates the mouse cursor of to the given
MouseCursor
when game is in fullscreen mode. - setFullscreenCursor(Sprite) - Method in interface io.github.srcimon.screwbox.core.window.Window
-
Updates the mouse cursor with the given
Sprite
when game is in fullscreen mode. - setInteractor(UiInteractor) - Method in interface io.github.srcimon.screwbox.core.ui.Ui
- setLayouter(UiLayouter) - Method in interface io.github.srcimon.screwbox.core.ui.Ui
- setLightmapBlur(int) - Method in class io.github.srcimon.screwbox.core.graphics.GraphicsConfiguration
-
Configures the blur of the lightmap.
- setLightmapScale(int) - Method in class io.github.srcimon.screwbox.core.graphics.GraphicsConfiguration
-
Sets the resolution modifier for the light map.
- setLoadingScene(Scene) - Method in interface io.github.srcimon.screwbox.core.scenes.Scenes
- setMicrophoneIdleTimeout(Duration) - Method in class io.github.srcimon.screwbox.core.audio.AudioConfiguration
-
Sets timeout for the microphone to turn off after no further reading via
Audio.microphoneLevel()
. - 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 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.
- 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 interface io.github.srcimon.screwbox.core.loop.Loop
-
Sets the games target frames per second.
- setTitle(String) - Method in interface io.github.srcimon.screwbox.core.window.Window
-
Sets the title of the
Window
. - setUseAntialiasing(boolean) - Method in class io.github.srcimon.screwbox.core.graphics.GraphicsConfiguration
-
Sets the antialising state.
- setWindowCursor(Frame) - Method in interface io.github.srcimon.screwbox.core.window.Window
-
Updates the mouse cursor with the given
Frame
when game is in window mode. - setWindowCursor(MouseCursor) - Method in interface io.github.srcimon.screwbox.core.window.Window
-
Updates the mouse cursor of to the given
MouseCursor
when game is in window mode. - setWindowCursor(Sprite) - Method in interface io.github.srcimon.screwbox.core.window.Window
-
Updates the mouse cursor with the given
Sprite
when game is in fullscreen mode. - setZoom(double) - Method in interface io.github.srcimon.screwbox.core.graphics.Camera
-
Updates the camera zoom nearly to the given value.
- setZoomRestriction(double, double) - Method in interface io.github.srcimon.screwbox.core.graphics.Camera
-
Restricts zooming to the given range.
- shake(CameraShakeOptions) - Method in interface io.github.srcimon.screwbox.core.graphics.Camera
-
Shakes the
Camera
with the givenCameraShakeOptions
. - 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.rendering.CameraTargetComponent
- SHIFT_LEFT - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
- shortName() - Method in enum class io.github.srcimon.screwbox.core.Time.Unit
-
Short name of the time unit.
- 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.Frame
-
Returns the size of the frames
Frame.image()
. - size() - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
- size() - Method in record class io.github.srcimon.screwbox.core.graphics.ScreenBounds
-
Returns the value of the
size
record component. - size() - Method in class io.github.srcimon.screwbox.core.graphics.Sprite
-
Returns the size of the
Sprite
. - size() - Method in record class io.github.srcimon.screwbox.core.graphics.TextDrawOptions
-
Returns the value of the
size
record component. - size() - Method in interface io.github.srcimon.screwbox.core.window.Window
-
Returns the current size of the
Window
. - size(int) - Method in record class io.github.srcimon.screwbox.core.graphics.TextDrawOptions
-
Creates a new instance with given
TextDrawOptions.size()
. - Size - Class in io.github.srcimon.screwbox.core.graphics
- sizeOf(String) - Method in class io.github.srcimon.screwbox.core.graphics.Pixelfont
- SKINNY_SANS - Enum constant in enum class io.github.srcimon.screwbox.core.assets.FontsBundle
- snap(Vector) - Method in class io.github.srcimon.screwbox.core.Grid
- snapToGrid(Bounds) - Method in interface io.github.srcimon.screwbox.core.physics.Physics
- snapToGrid(Vector) - Method in interface io.github.srcimon.screwbox.core.physics.Physics
- sound() - 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)
. - SoundsBundle - Enum Class in io.github.srcimon.screwbox.core.assets
- 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
- SPARKLE - Enum constant in enum class io.github.srcimon.screwbox.core.environment.tweening.TweenMode
-
Sparkling effect.
- 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(double) - Constructor for class io.github.srcimon.screwbox.core.environment.light.SpotLightComponent
- SpotLightComponent(double, Color) - 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, SpriteDrawOptions, int) - Constructor for record class io.github.srcimon.screwbox.core.graphics.SpriteBatch.SpriteBatchEntry
-
Creates an instance of a
SpriteBatchEntry
record class. - SpriteDrawOptions - Record Class in io.github.srcimon.screwbox.core.graphics
-
Customize the drawing of
Sprite
s. - SpriteDrawOptions(double, Percent, Rotation, boolean, boolean) - Constructor for record class io.github.srcimon.screwbox.core.graphics.SpriteDrawOptions
-
Creates an instance of a
SpriteDrawOptions
record class. - SpriteFillOptions - Record Class in io.github.srcimon.screwbox.core.graphics
- SpriteFillOptions(Offset, double, Percent) - Constructor for record class io.github.srcimon.screwbox.core.graphics.SpriteFillOptions
-
Creates an instance of a
SpriteFillOptions
record class. - spriteFor(char) - Method in class io.github.srcimon.screwbox.core.graphics.Pixelfont
-
Returns the sprite for the given
Character
. - SpritesBundle - Enum Class in io.github.srcimon.screwbox.core.assets
- 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
- start() - Method in interface io.github.srcimon.screwbox.core.Engine
-
Starts the
Engine
. - start(Class<? extends Scene>) - Method in interface io.github.srcimon.screwbox.core.Engine
- 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 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
- STEAM - Enum constant in enum class io.github.srcimon.screwbox.core.assets.SoundsBundle
- stop() - Method in interface io.github.srcimon.screwbox.core.Engine
- stopAllSounds() - Method in interface io.github.srcimon.screwbox.core.audio.Audio
-
Stops all currently playing
Sound
s. - stopShaking() - Method in interface io.github.srcimon.screwbox.core.graphics.Camera
-
Stops any
Camera
if there is currently shake in progress. - stopSound(Sound) - Method in interface io.github.srcimon.screwbox.core.audio.Audio
-
Stops all currently playing instances of the
Sound
. - 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(double) - Method in record class io.github.srcimon.screwbox.core.graphics.CameraShakeOptions
-
Set the x- and the y-strength of the shake.
- strokeWidth() - Method in record class io.github.srcimon.screwbox.core.graphics.CircleDrawOptions
-
Returns the value of the
strokeWidth
record component. - strokeWidth() - Method in record class io.github.srcimon.screwbox.core.graphics.LineDrawOptions
-
Returns the value of the
strokeWidth
record component. - strokeWidth() - Method in record class io.github.srcimon.screwbox.core.graphics.RectangleDrawOptions
-
Returns the value of the
strokeWidth
record component. - strokeWidth(int) - Method in record class io.github.srcimon.screwbox.core.graphics.CircleDrawOptions
-
Sets the
CircleDrawOptions.strokeWidth()
when drawingCircleDrawOptions.outline(Color)
. - strokeWidth(int) - Method in record class io.github.srcimon.screwbox.core.graphics.LineDrawOptions
-
Returns new instance with new
LineDrawOptions.strokeWidth()
. - strokeWidth(int) - Method in record class io.github.srcimon.screwbox.core.graphics.RectangleDrawOptions
-
Sets the
RectangleDrawOptions.strokeWidth()
when drawingRectangleDrawOptions.outline(Color)
. - style() - Method in record class io.github.srcimon.screwbox.core.graphics.CircleDrawOptions
-
Returns the value of the
style
record component. - style() - Method in record class io.github.srcimon.screwbox.core.graphics.RectangleDrawOptions
-
Returns the value of the
style
record component. - 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(AspectRatio) - Method in interface io.github.srcimon.screwbox.core.graphics.Graphics
-
Returns a list of all supported resolutions of the given
AspectRatio
. - SwipeTransition - Class in io.github.srcimon.screwbox.core.graphics.transitions
- SwipeTransition() - Constructor for class io.github.srcimon.screwbox.core.graphics.transitions.SwipeTransition
- switchTo(Class<? extends Scene>) - Method in interface io.github.srcimon.screwbox.core.scenes.Scenes
- systemFont(String) - Static method in record class io.github.srcimon.screwbox.core.graphics.TextDrawOptions
-
Creates a new instance with given
TextDrawOptions.fontName()
andTextDrawOptions.size()
10. - systemFont(String, int) - Static method in record class io.github.srcimon.screwbox.core.graphics.TextDrawOptions
-
Creates a new instance with given
TextDrawOptions.fontName()
and givenTextDrawOptions.size()
. - 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.
T
- T - Enum constant in enum class io.github.srcimon.screwbox.core.keyboard.Key
- takeScreenshot() - Method in interface io.github.srcimon.screwbox.core.graphics.Screen
-
Takes a sceenshot of the whole
Screen
. - targetFps() - Method in interface io.github.srcimon.screwbox.core.loop.Loop
-
Returns the current target frames per second.
- TextDrawOptions - Record Class in io.github.srcimon.screwbox.core.graphics
-
Customize the drawing of texts with system fonts.
- TextDrawOptions(String, int, boolean, boolean, Color, TextDrawOptions.Alignment) - Constructor for record class io.github.srcimon.screwbox.core.graphics.TextDrawOptions
-
Creates an instance of a
TextDrawOptions
record class. - TextDrawOptions.Alignment - Enum Class in io.github.srcimon.screwbox.core.graphics
-
Alignment of the text.
- threeQuarter() - Static method in class io.github.srcimon.screwbox.core.Percent
-
Returns 75 percent.
- Time - Class in io.github.srcimon.screwbox.core
- Time.Unit - Enum Class in io.github.srcimon.screwbox.core
-
Different time units.
- 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 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.TweenLightComponent
- to - Variable in class io.github.srcimon.screwbox.core.environment.tweening.TweenOpacityComponent
- to - Variable in class io.github.srcimon.screwbox.core.environment.tweening.TweenPositionComponent
- to() - Method in class io.github.srcimon.screwbox.core.Line
-
The endpoint of the
Line
. - toggle() - Method in class io.github.srcimon.screwbox.core.utils.Latch
-
Toggles between active and inactive value.
- toggle() - Method in class io.github.srcimon.screwbox.core.utils.TrippleLatch
- toggleAntialising() - Method in class io.github.srcimon.screwbox.core.graphics.GraphicsConfiguration
-
Toggles the antialising on/off.
- toggleFullscreen() - Method in class io.github.srcimon.screwbox.core.graphics.GraphicsConfiguration
- toggleSystem(EntitySystem) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
- toGrid(Vector) - Method in class io.github.srcimon.screwbox.core.Grid
- toOffset(Vector) - Method in interface io.github.srcimon.screwbox.core.graphics.Graphics
- 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
- topRight() - Method in class io.github.srcimon.screwbox.core.Bounds
- toScreen(Bounds) - Method in interface io.github.srcimon.screwbox.core.graphics.Graphics
- 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 record class io.github.srcimon.screwbox.core.graphics.CameraShakeOptions
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.srcimon.screwbox.core.graphics.CircleDrawOptions
-
Returns a string representation of this record class.
- toString() - Method in class io.github.srcimon.screwbox.core.graphics.Color
- toString() - Method in record class io.github.srcimon.screwbox.core.graphics.LineDrawOptions
-
Returns a string representation of this record class.
- toString() - Method in class io.github.srcimon.screwbox.core.graphics.Offset
- toString() - Method in record class io.github.srcimon.screwbox.core.graphics.RectangleDrawOptions
-
Returns a string representation of this record class.
- 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.graphics.SpriteDrawOptions
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.srcimon.screwbox.core.graphics.SpriteFillOptions
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.srcimon.screwbox.core.graphics.TextDrawOptions
-
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()
. - tryFetchSingleton(Archetype) - Method in interface io.github.srcimon.screwbox.core.environment.Environment
- 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
. - 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
. - 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
- TweenLightComponent - Class in io.github.srcimon.screwbox.core.environment.tweening
-
Links tweening to the opacity of the
SpotLightComponent
,GlowComponent
,PointLightComponent
andConeLightComponent
of anEntity
. - TweenLightComponent() - Constructor for class io.github.srcimon.screwbox.core.environment.tweening.TweenLightComponent
- TweenLightComponent(Percent, Percent) - Constructor for class io.github.srcimon.screwbox.core.environment.tweening.TweenLightComponent
- TweenLightSystem - Class in io.github.srcimon.screwbox.core.environment.tweening
-
Updates the opacity of all light components of an
Entity
, that use tweening and have anTweenLightComponent
. - TweenLightSystem() - Constructor for class io.github.srcimon.screwbox.core.environment.tweening.TweenLightSystem
- 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 interface io.github.srcimon.screwbox.core.mouse.Mouse
-
Returns the count of units scolled since the last frame.
- unload() - Method in class io.github.srcimon.screwbox.core.assets.Asset
-
Removes already loaded content.
- unlockFps() - Method in interface io.github.srcimon.screwbox.core.loop.Loop
-
Sets the games target frames per second to
Integer.MAX_VALUE
which is as good as unlimited. - unmute() - Method in 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
. - 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.CameraSystem
- 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.TweenLightSystem
- 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
- updateDuration() - Method in interface io.github.srcimon.screwbox.core.loop.Loop
-
Returns the
Duration
that the last update took. - updateGrid(Grid) - Method in interface io.github.srcimon.screwbox.core.physics.Physics
- updateSheduler - Variable in class io.github.srcimon.screwbox.core.environment.physics.PhysicsGridConfigurationComponent
- 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.assets.FontsBundle
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.srcimon.screwbox.core.assets.SoundsBundle
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.srcimon.screwbox.core.assets.SpritesBundle
-
Returns the enum constant of this class with the specified name.
- 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.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.CircleDrawOptions.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.graphics.RectangleDrawOptions.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.TextDrawOptions.Alignment
-
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.
- valueOf(String) - Static method in enum class io.github.srcimon.screwbox.core.Time.Unit
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.github.srcimon.screwbox.core.assets.FontsBundle
-
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.assets.SoundsBundle
-
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.assets.SpritesBundle
-
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.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.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.CircleDrawOptions.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.graphics.RectangleDrawOptions.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.TextDrawOptions.Alignment
-
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.
- values() - Static method in enum class io.github.srcimon.screwbox.core.Time.Unit
-
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_ONLY - Enum constant in enum class io.github.srcimon.screwbox.core.physics.Borders
- visibleArea() - Method in interface io.github.srcimon.screwbox.core.graphics.World
-
Returns the area currently visible on the
Screen
. - 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 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() - Method in enum class io.github.srcimon.screwbox.core.assets.FontsBundle
- WHITE - Static variable in class io.github.srcimon.screwbox.core.graphics.Color
-
The color white.
- WIDESCREEN - Enum constant in enum class io.github.srcimon.screwbox.core.graphics.AspectRatio
- width() - Method in class io.github.srcimon.screwbox.core.Bounds
-
Returns the width of this
Bounds
. - width() - Method in class io.github.srcimon.screwbox.core.graphics.Size
-
The width of this
Size
. - width() - Method in class io.github.srcimon.screwbox.core.Grid
- widthOf(String) - Method in class io.github.srcimon.screwbox.core.graphics.Pixelfont
-
Returns the width of a given text in this
Pixelfont
. - window() - Method in interface io.github.srcimon.screwbox.core.Engine
-
Used to control the game window and retrieve information about the game window.
- Window - Interface in io.github.srcimon.screwbox.core.window
-
Used to control the game window and retrieve information about the game window.
- WINDOW_MODE - Enum constant in enum class io.github.srcimon.screwbox.core.graphics.GraphicsConfigurationEvent.ConfigurationProperty
- withInterval(Duration) - Static method in class io.github.srcimon.screwbox.core.utils.Sheduler
-
Creates a new
Sheduler
with the given interval. - withNodes(List<Vector>) - Static method in class io.github.srcimon.screwbox.core.Path
- WobblyUiLayouter - Class in io.github.srcimon.screwbox.core.ui
- WobblyUiLayouter() - Constructor for class io.github.srcimon.screwbox.core.ui.WobblyUiLayouter
- world() - Method in interface io.github.srcimon.screwbox.core.graphics.Graphics
-
Access drawing operations on the game world.
- World - Interface in io.github.srcimon.screwbox.core.graphics
- worldArea(Grid.Node) - Method in class io.github.srcimon.screwbox.core.Grid
- 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 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
- xStrength() - Method in record class io.github.srcimon.screwbox.core.graphics.CameraShakeOptions
-
Returns the value of the
xStrength
record component. - xStrength(double) - Method in record class io.github.srcimon.screwbox.core.graphics.CameraShakeOptions
-
Set the x-strength of the shake.
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
- yStrength() - Method in record class io.github.srcimon.screwbox.core.graphics.CameraShakeOptions
-
Returns the value of the
yStrength
record component. - yStrength(double) - Method in record class io.github.srcimon.screwbox.core.graphics.CameraShakeOptions
-
Set the y-strength of the shake.
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. - ZISCH - Enum constant in enum class io.github.srcimon.screwbox.core.assets.SoundsBundle
- zoom() - Method in interface io.github.srcimon.screwbox.core.graphics.Camera
-
Returns the currently used camera zoom.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form