- accept(Throwable) - Method in interface com.almasb.fxgl.service.ExceptionHandler
-
Equivalent to handle(e).
- ACHIEVED - Static variable in class com.almasb.fxgl.gameplay.AchievementEvent
-
- ACHIEVEMENT_MANAGER - Static variable in interface com.almasb.fxgl.service.ServiceType
-
- AchievementEvent - Class in com.almasb.fxgl.gameplay
-
Occurs on achievement unlocked.
- AchievementEvent(Achievement) - Constructor for class com.almasb.fxgl.gameplay.AchievementEvent
-
- AchievementEvent(EventType<? extends AchievementEvent>, Achievement) - Constructor for class com.almasb.fxgl.gameplay.AchievementEvent
-
- AchievementListener - Interface in com.almasb.fxgl.service.listener
-
Marks a service that wants to listen for achievement events.
- AchievementProgressEvent - Class in com.almasb.fxgl.gameplay
-
Fired when a numeric value based achievement has made some progress.
- AchievementProgressEvent(Achievement, double, double) - Constructor for class com.almasb.fxgl.gameplay.AchievementProgressEvent
-
- activeProperty() - Method in class com.almasb.fxgl.scene.FXGLScene
-
If a scene is active it is being shown by the display.
- addAction(UserAction, KeyCode) - Method in interface com.almasb.fxgl.service.Input
-
Bind given action to a keyboard key.
- addAction(UserAction, KeyCode, InputModifier) - Method in interface com.almasb.fxgl.service.Input
-
Bind given action to a keyboard key with special modifier key.
- addAction(UserAction, MouseButton) - Method in interface com.almasb.fxgl.service.Input
-
Bind given action to a mouse button with special modifier key.
- addAction(UserAction, MouseButton, InputModifier) - Method in interface com.almasb.fxgl.service.Input
-
Bind given action to a mouse button with special modifier key.
- AddCollisionHandler - Annotation Type in com.almasb.fxgl.annotation
-
Indicates that a class that extends
CollisionHandler will be automatically
added to physics world's collision handlers.
- addCollisionHandler(CollisionHandler) - Method in class com.almasb.fxgl.physics.PhysicsWorld
-
Registers a collision handler.
- addDataParser(Class<T>, DataParser<T>) - Method in interface com.almasb.fxgl.service.Net
-
- addEventHandler(EventType<T>, EventHandler<? super T>) - Method in class com.almasb.fxgl.scene.FXGLScene
-
Add event handler.
- addEventTrigger(<any>) - Method in class com.almasb.fxgl.entity.GameWorld
-
Add event trigger to the world.
- addFXGLListener(FXGLListener) - Method in class com.almasb.fxgl.app.FXGLApplication
-
Add listener for core FXGL callbacks.
- addGameView(EntityView) - Method in class com.almasb.fxgl.scene.GameScene
-
Add a view to the game root.
- addHitBox(HitBox) - Method in class com.almasb.fxgl.entity.component.BoundingBoxComponent
-
Add a hit (collision) bounding box.
- addInputMapping(InputMapping) - Method in interface com.almasb.fxgl.service.Input
-
Add input mapping.
- addNode(Node) - Method in class com.almasb.fxgl.entity.EntityView
-
Add a child node to this view.
- addQuest(Quest) - Method in interface com.almasb.fxgl.service.QuestService
-
Add given quest to service.
- addServiceType(ServiceType<?>) - Method in class com.almasb.fxgl.settings.GameSettings
-
Register a custom service with FXGL.
- addUI(UI) - Method in class com.almasb.fxgl.scene.GameScene
-
- addUINode(Node) - Method in class com.almasb.fxgl.scene.FXGLMenu
-
Adds a UI node.
- addUINode(Node) - Method in class com.almasb.fxgl.scene.GameScene
-
Add a node to the UI overlay.
- addUINodes(Node...) - Method in class com.almasb.fxgl.scene.GameScene
-
Add nodes to the UI overlay.
- addUpdateListener(UpdateEventListener) - Method in interface com.almasb.fxgl.service.MasterTimer
-
Adds update event listener.
- angleProperty() - Method in class com.almasb.fxgl.entity.component.RotationComponent
-
- AnimatedTexture - Class in com.almasb.fxgl.texture
-
Represents an animated texture.
- AnimationBuilder - Class in com.almasb.fxgl.entity.animation
-
A convenient builder for standard (translate, rotate, scale) animations.
- AnimationBuilder() - Constructor for class com.almasb.fxgl.entity.animation.AnimationBuilder
-
- animationBuilder() - Static method in class com.almasb.fxgl.entity.Entities
-
- AnimationChannel - Interface in com.almasb.fxgl.texture
-
Represents one of the animation channels from sprite sheet.
- ANY - Static variable in class com.almasb.fxgl.app.FXGLEvent
-
- ANY - Static variable in class com.almasb.fxgl.entity.EntityEvent
-
- ANY - Static variable in class com.almasb.fxgl.gameplay.AchievementEvent
-
- ANY - Static variable in class com.almasb.fxgl.gameplay.NotificationEvent
-
- ANY - Static variable in class com.almasb.fxgl.saving.LoadEvent
-
- ANY - Static variable in class com.almasb.fxgl.saving.SaveEvent
-
- ANY - Static variable in class com.almasb.fxgl.scene.DisplayEvent
-
Common super-type for all display event types.
- ANY - Static variable in class com.almasb.fxgl.scene.menu.MenuEvent
-
Common super-type for all menu event types.
- ANY - Static variable in class com.almasb.fxgl.scene.menu.ProfileSelectedEvent
-
Event occurs when profile has been selected.
- ANY - Static variable in class com.almasb.fxgl.time.UpdateEvent
-
- app - Variable in class com.almasb.fxgl.scene.FXGLMenu
-
- appendCSS(CSS) - Method in class com.almasb.fxgl.scene.FXGLScene
-
- ApplicationModule - Class in com.almasb.fxgl.app
-
Module that binds services with their providers.
- apply(T, U, V) - Method in interface com.almasb.fxgl.util.TriFunction
-
- applyAngularImpulse(float) - Method in class com.almasb.fxgl.physics.PhysicsComponent
-
Apply an angular impulse.
- applyBodyAngularImpulse(float) - Method in class com.almasb.fxgl.physics.PhysicsComponent
-
Apply an angular impulse.
- applyBodyForce(Vec2, Vec2) - Method in class com.almasb.fxgl.physics.PhysicsComponent
-
Apply a force at a world point.
- applyBodyForceToCenter(Vec2) - Method in class com.almasb.fxgl.physics.PhysicsComponent
-
Apply a force to the center of mass.
- applyBodyLinearImpulse(Vec2, Vec2, boolean) - Method in class com.almasb.fxgl.physics.PhysicsComponent
-
Apply an impulse at a point.
- applyBodyTorque(float) - Method in class com.almasb.fxgl.physics.PhysicsComponent
-
Apply a torque.
- applyForce(Point2D, Point2D) - Method in class com.almasb.fxgl.physics.PhysicsComponent
-
Apply a force at a world point.
- applyForceToCenter(Point2D) - Method in class com.almasb.fxgl.physics.PhysicsComponent
-
Apply a force to the center of mass.
- applyLinearImpulse(Point2D, Point2D, boolean) - Method in class com.almasb.fxgl.physics.PhysicsComponent
-
Apply an impulse at a point.
- applyTorque(float) - Method in class com.almasb.fxgl.physics.PhysicsComponent
-
Apply a torque.
- appMode - Variable in class com.almasb.fxgl.settings.ReadOnlyGameSettings
-
- area() - Method in interface com.almasb.fxgl.texture.AnimationChannel
-
Area to be used to select a sub-texture from a sprite sheet.
- ASSET_LOADER - Static variable in interface com.almasb.fxgl.service.ServiceType
-
- AssetLoader - Interface in com.almasb.fxgl.service
-
Handles all resource (asset) loading operations.
- asString() - Method in interface com.almasb.fxgl.entity.RenderLayer
-
- async(Callable<T>) - Method in interface com.almasb.fxgl.service.Executor
-
Instantly starts a non-blocking async task.
- async(Runnable) - Method in interface com.almasb.fxgl.service.Executor
-
Instantly starts a non-blocking async task.
- at(double, double) - Method in class com.almasb.fxgl.entity.Entities.GameEntityBuilder
-
- at(Point2D) - Method in class com.almasb.fxgl.entity.Entities.GameEntityBuilder
-
- at(Vec2) - Method in class com.almasb.fxgl.entity.Entities.GameEntityBuilder
-
- AUDIO_PLAYER - Static variable in interface com.almasb.fxgl.service.ServiceType
-
- AudioPlayer - Interface in com.almasb.fxgl.service
-
General audio player service that supports playback of sound and music objects.
- cache() - Method in interface com.almasb.fxgl.service.AssetLoader
-
Pre-loads all textures / sounds / music / text / fonts and binary data
from their respective folders.
- callFunction(String, Object...) - Method in class com.almasb.fxgl.parser.JavaScriptParser
-
Invokes a JS function.
- canGoOffscreen() - Method in class com.almasb.fxgl.ui.InGameWindow
-
- capture() - Method in interface com.almasb.fxgl.time.LocalTimer
-
Captures current time.
- CCTRMenu - Class in com.almasb.fxgl.scene.menu
-
- CCTRMenu(GameApplication, MenuType) - Constructor for class com.almasb.fxgl.scene.menu.CCTRMenu
-
- centerLocal() - Method in class com.almasb.fxgl.physics.HitBox
-
- centerText(Text) - Method in interface com.almasb.fxgl.service.UIFactory
-
- centerText(Text, double, double) - Method in interface com.almasb.fxgl.service.UIFactory
-
- centerTextBind(Text) - Method in interface com.almasb.fxgl.service.UIFactory
-
Binds text to application center, i.e.
- centerTextBind(Text, double, double) - Method in interface com.almasb.fxgl.service.UIFactory
-
Binds text to given center point, i.e.
- centerTextX(Text, double, double) - Method in interface com.almasb.fxgl.service.UIFactory
-
- centerTextY(Text, double, double) - Method in interface com.almasb.fxgl.service.UIFactory
-
- centerWorld(double, double) - Method in class com.almasb.fxgl.physics.HitBox
-
- chain(Point2D...) - Static method in class com.almasb.fxgl.physics.BoundingShape
-
Constructs new closed chain shaped bounding shape.
- checkCollision(BoundingBoxComponent) - Method in class com.almasb.fxgl.entity.component.BoundingBoxComponent
-
Checks for collision with another bounding box.
- circle(double) - Static method in class com.almasb.fxgl.physics.BoundingShape
-
Constructs new circular bounding shape with given radius.
- CircularMovementControl - Class in com.almasb.fxgl.entity.control
-
Control that moves entity in a circle.
- CircularMovementControl(double, double) - Constructor for class com.almasb.fxgl.entity.control.CircularMovementControl
-
- clearAll() - Method in interface com.almasb.fxgl.service.Input
-
Clears all active actions.
- clearCache() - Method in interface com.almasb.fxgl.service.AssetLoader
-
Release all cached assets.
- clearChildren() - Method in class com.almasb.fxgl.entity.EntityView
-
Removes all attached nodes.
- clearCSS() - Method in class com.almasb.fxgl.scene.FXGLScene
-
- clearEffect() - Method in class com.almasb.fxgl.scene.FXGLScene
-
Removes any effects applied to the scene.
- clearHitBoxes() - Method in class com.almasb.fxgl.entity.component.BoundingBoxComponent
-
Remove all hit boxes.
- close() - Method in class com.almasb.fxgl.ui.InGameWindow
-
- CLOSE_REQUEST - Static variable in class com.almasb.fxgl.scene.DisplayEvent
-
Fired when user requests application close.
- closeConfirmation - Variable in class com.almasb.fxgl.settings.ReadOnlyGameSettings
-
- CollidableComponent - Class in com.almasb.fxgl.entity.component
-
Marks an entity as collidable.
- CollidableComponent(boolean) - Constructor for class com.almasb.fxgl.entity.component.CollidableComponent
-
- CollidableComponent() - Constructor for class com.almasb.fxgl.entity.component.CollidableComponent
-
- COLLISION - Static variable in class com.almasb.fxgl.physics.CollisionResult
-
Constant for reporting collision.
- CollisionHandler - Class in com.almasb.fxgl.physics
-
Handler for a collision that occurred between two entities.
- CollisionHandler(Object, Object) - Constructor for class com.almasb.fxgl.physics.CollisionHandler
-
The order of types determines the order of entities in callbacks.
- CollisionResult - Class in com.almasb.fxgl.physics
-
Data structure for holding info about collision result.
- CollisionResult() - Constructor for class com.almasb.fxgl.physics.CollisionResult
-
- com.almasb.fxgl.annotation - package com.almasb.fxgl.annotation
-
- com.almasb.fxgl.app - package com.almasb.fxgl.app
-
- com.almasb.fxgl.effect - package com.almasb.fxgl.effect
-
- com.almasb.fxgl.entity - package com.almasb.fxgl.entity
-
- com.almasb.fxgl.entity.animation - package com.almasb.fxgl.entity.animation
-
- com.almasb.fxgl.entity.component - package com.almasb.fxgl.entity.component
-
- com.almasb.fxgl.entity.control - package com.almasb.fxgl.entity.control
-
- com.almasb.fxgl.gameplay - package com.almasb.fxgl.gameplay
-
- com.almasb.fxgl.input - package com.almasb.fxgl.input
-
- com.almasb.fxgl.parser - package com.almasb.fxgl.parser
-
- com.almasb.fxgl.physics - package com.almasb.fxgl.physics
-
- com.almasb.fxgl.saving - package com.almasb.fxgl.saving
-
- com.almasb.fxgl.scene - package com.almasb.fxgl.scene
-
- com.almasb.fxgl.scene.menu - package com.almasb.fxgl.scene.menu
-
- com.almasb.fxgl.service - package com.almasb.fxgl.service
-
- com.almasb.fxgl.service.listener - package com.almasb.fxgl.service.listener
-
- com.almasb.fxgl.settings - package com.almasb.fxgl.settings
-
- com.almasb.fxgl.texture - package com.almasb.fxgl.texture
-
- com.almasb.fxgl.time - package com.almasb.fxgl.time
-
- com.almasb.fxgl.ui - package com.almasb.fxgl.ui
-
- com.almasb.fxgl.util - package com.almasb.fxgl.util
-
- computeFrameHeight() - Method in interface com.almasb.fxgl.texture.AnimationChannel
-
Computes frame height based on the area height.
- computeFrameTime() - Method in interface com.almasb.fxgl.texture.AnimationChannel
-
Computes time per each frame in this animation channel by
dividing the duration by number of frames.
- computeFrameWidth() - Method in interface com.almasb.fxgl.texture.AnimationChannel
-
Computes frame width based on the area width
and number of frames.
- computePrefWidth(double) - Method in class com.almasb.fxgl.ui.FXGLButton
-
- computePrefWidth(double) - Method in class com.almasb.fxgl.ui.FXGLChoiceBox
-
- computeViewport(int) - Method in interface com.almasb.fxgl.texture.AnimationChannel
-
Computes the viewport for given frame.
- configure() - Method in class com.almasb.fxgl.app.ApplicationModule
-
- connectMultiplayerTask(String) - Method in interface com.almasb.fxgl.service.Net
-
- contentRoot - Variable in class com.almasb.fxgl.scene.FXGLMenu
-
- CONTINUE - Static variable in class com.almasb.fxgl.scene.menu.MenuEvent
-
- copy() - Method in class com.almasb.fxgl.entity.component.BoundingBoxComponent
-
- copy() - Method in class com.almasb.fxgl.entity.component.CollidableComponent
-
- copy() - Method in class com.almasb.fxgl.entity.component.PositionComponent
-
- copy() - Method in class com.almasb.fxgl.entity.component.RotationComponent
-
- copy() - Method in class com.almasb.fxgl.entity.component.SelectableComponent
-
- copy() - Method in class com.almasb.fxgl.entity.component.TypeComponent
-
- copy() - Method in class com.almasb.fxgl.texture.Texture
-
Call this to create a new texture if you are
planning to use the same image as graphics
for multiple entities.
- copyFor(Object, Object) - Method in class com.almasb.fxgl.physics.CollisionHandler
-
Returns a copy of the collision handler with different entity types.
- createActionButton(String, Runnable) - Method in class com.almasb.fxgl.scene.FXGLMenu
-
- createActionButton(String, Runnable) - Method in class com.almasb.fxgl.scene.menu.CCTRMenu
-
Creates a new button with given name that performs given action on click/press.
- createActionButton(String, Runnable) - Method in class com.almasb.fxgl.scene.menu.FXGLDefaultMenu
-
- createActionButton(String, Runnable) - Method in class com.almasb.fxgl.scene.menu.GTAVMenu
-
Creates a new button with given name that performs given action on click/press.
- createBackground(double, double) - Method in class com.almasb.fxgl.scene.FXGLMenu
-
Create menu background.
- createBackground(double, double) - Method in class com.almasb.fxgl.scene.menu.CCTRMenu
-
- createBackground(double, double) - Method in class com.almasb.fxgl.scene.menu.FXGLDefaultMenu
-
- createBackground(double, double) - Method in class com.almasb.fxgl.scene.menu.GTAVMenu
-
- createContentAchievements() - Method in class com.almasb.fxgl.scene.FXGLMenu
-
- createContentAudio() - Method in class com.almasb.fxgl.scene.FXGLMenu
-
- createContentButton(String, Supplier<FXGLMenu.MenuContent>) - Method in class com.almasb.fxgl.scene.FXGLMenu
-
- createContentButton(String, Supplier<FXGLMenu.MenuContent>) - Method in class com.almasb.fxgl.scene.menu.CCTRMenu
-
Creates a new button with given name that sets given content on click/press.
- createContentButton(String, Supplier<FXGLMenu.MenuContent>) - Method in class com.almasb.fxgl.scene.menu.GTAVMenu
-
Creates a new button with given name that sets given content on click/press.
- createContentControls() - Method in class com.almasb.fxgl.scene.FXGLMenu
-
- createContentCredits() - Method in class com.almasb.fxgl.scene.FXGLMenu
-
- createContentFeedback() - Method in class com.almasb.fxgl.scene.FXGLMenu
-
- createContentGameplay() - Method in class com.almasb.fxgl.scene.FXGLMenu
-
- createContentLoad() - Method in class com.almasb.fxgl.scene.FXGLMenu
-
- createContentVideo() - Method in class com.almasb.fxgl.scene.FXGLMenu
-
- createExtraMenu() - Method in class com.almasb.fxgl.scene.menu.FXGLDefaultMenu
-
- createMenuBodyGameMenu() - Method in class com.almasb.fxgl.scene.menu.CCTRMenu
-
- createMenuBodyGameMenu() - Method in class com.almasb.fxgl.scene.menu.FXGLDefaultMenu
-
- createMenuBodyMainMenu() - Method in class com.almasb.fxgl.scene.menu.CCTRMenu
-
- createMenuBodyMainMenu() - Method in class com.almasb.fxgl.scene.menu.FXGLDefaultMenu
-
- createOptionsMenu() - Method in class com.almasb.fxgl.scene.menu.FXGLDefaultMenu
-
- createProfileView(String) - Method in class com.almasb.fxgl.scene.FXGLMenu
-
Create view for profile name.
- createProfileView(String) - Method in class com.almasb.fxgl.scene.menu.CCTRMenu
-
- createProfileView(String) - Method in class com.almasb.fxgl.scene.menu.FXGLDefaultMenu
-
- createProfileView(String) - Method in class com.almasb.fxgl.scene.menu.GTAVMenu
-
- createTitleView(String) - Method in class com.almasb.fxgl.scene.FXGLMenu
-
Create view for the app title.
- createTitleView(String) - Method in class com.almasb.fxgl.scene.menu.CCTRMenu
-
- createTitleView(String) - Method in class com.almasb.fxgl.scene.menu.FXGLDefaultMenu
-
- createTitleView(String) - Method in class com.almasb.fxgl.scene.menu.GTAVMenu
-
- createVersionView(String) - Method in class com.almasb.fxgl.scene.FXGLMenu
-
Create view for version string.
- createVersionView(String) - Method in class com.almasb.fxgl.scene.menu.CCTRMenu
-
- createVersionView(String) - Method in class com.almasb.fxgl.scene.menu.FXGLDefaultMenu
-
- createVersionView(String) - Method in class com.almasb.fxgl.scene.menu.GTAVMenu
-
- credits - Variable in class com.almasb.fxgl.settings.ReadOnlyGameSettings
-
- currentSceneProperty() - Method in interface com.almasb.fxgl.service.Display
-
- currentValueProperty() - Method in class com.almasb.fxgl.ui.ProgressBar
-
- GameApplication - Class in com.almasb.fxgl.app
-
To use FXGL extend this class and implement necessary methods.
- GameApplication() - Constructor for class com.almasb.fxgl.app.GameApplication
-
- GameEntity - Class in com.almasb.fxgl.entity
-
Entity that guarantees to have Type, Position, Rotation, BoundingBox and View
components.
- GameEntity() - Constructor for class com.almasb.fxgl.entity.GameEntity
-
- GameEntityBuilder() - Constructor for class com.almasb.fxgl.entity.Entities.GameEntityBuilder
-
- GameScene - Class in com.almasb.fxgl.scene
-
Represents the scene that shows game objects on the screen during "play" mode.
- GameScene(int, int) - Constructor for class com.almasb.fxgl.scene.GameScene
-
- GameSettings - Class in com.almasb.fxgl.settings
-
Data structure for variables that are
initialised before the application (game) starts.
- GameSettings() - Constructor for class com.almasb.fxgl.settings.GameSettings
-
- gameToScreen(Point2D) - Method in class com.almasb.fxgl.scene.GameScene
-
Converts a point in game world to a point within screen (viewport).
- GameWorld - Class in com.almasb.fxgl.entity
-
Represents pure logical state of game.
- GameWorld() - Constructor for class com.almasb.fxgl.entity.GameWorld
-
- get(Class<T>) - Method in interface com.almasb.fxgl.service.Pooler
-
Either an existing "free" pooled instance is returned
or a new instance will be created.
- getAchievement() - Method in class com.almasb.fxgl.gameplay.AchievementEvent
-
- getAchievementManager() - Method in class com.almasb.fxgl.app.FXGLApplication
-
- getApp() - Method in class com.almasb.fxgl.app.ApplicationModule
-
- getAppBounds() - Method in class com.almasb.fxgl.app.FXGLApplication
-
- getAppHeight() - Method in class com.almasb.fxgl.physics.PhysicsWorld
-
- getApplicationMode() - Method in class com.almasb.fxgl.settings.ReadOnlyGameSettings
-
- getAssetLoader() - Method in class com.almasb.fxgl.app.FXGLApplication
-
- getAsString() - Static method in class com.almasb.fxgl.util.Version
-
- getAudioPlayer() - Method in class com.almasb.fxgl.app.FXGLApplication
-
- getBackgroundColor() - Method in interface com.almasb.fxgl.service.NotificationService
-
- getBBox(Entity) - Static method in class com.almasb.fxgl.entity.Entities
-
Convenient way to obtain bbox component.
- getBindings() - Method in interface com.almasb.fxgl.service.Input
-
- getBlendMode() - Method in class com.almasb.fxgl.effect.Particle
-
- getBody() - Method in class com.almasb.fxgl.physics.PhysicsComponent
-
- getBottomY() - Method in class com.almasb.fxgl.entity.GameEntity
-
- getBoundingBoxComponent() - Method in class com.almasb.fxgl.entity.GameEntity
-
- getBounds() - Method in class com.almasb.fxgl.physics.HitBox
-
- getBounds() - Method in interface com.almasb.fxgl.service.Display
-
Returns available (visual) bounds of the physical display.
- getBoxA() - Method in class com.almasb.fxgl.physics.CollisionResult
-
- getBoxB() - Method in class com.almasb.fxgl.physics.CollisionResult
-
- getBundle(String) - Method in class com.almasb.fxgl.settings.UserProfile
-
- getCenter() - Method in class com.almasb.fxgl.entity.GameEntity
-
- getCenterLocal() - Method in class com.almasb.fxgl.entity.component.BoundingBoxComponent
-
- getCenterWorld() - Method in class com.almasb.fxgl.entity.component.BoundingBoxComponent
-
If entity doesn't have
PositionComponent then the center point
is the same as local center.
- getClosestEntity(Entity, Predicate<Entity>) - Method in class com.almasb.fxgl.entity.GameWorld
-
Returns the closest entity to the given entity with given
filter.
- getCollidingEntities(Entity) - Method in class com.almasb.fxgl.entity.GameWorld
-
Returns a list of entities
which colliding with given entity.
- getCollidingEntities(Array<Entity>, Entity) - Method in class com.almasb.fxgl.entity.GameWorld
-
- getColor() - Method in class com.almasb.fxgl.effect.Particle
-
- getColor() - Method in class com.almasb.fxgl.effect.Vignette
-
- getColor() - Method in class com.almasb.fxgl.physics.PhysicsParticleComponent
-
- getColorFunction() - Method in class com.almasb.fxgl.effect.ParticleEmitter
-
- getConnection() - Method in interface com.almasb.fxgl.service.Net
-
- getContentRoot() - Method in class com.almasb.fxgl.scene.FXGLScene
-
- getCredits() - Method in class com.almasb.fxgl.settings.ReadOnlyGameSettings
-
- getCSSFileName() - Method in enum com.almasb.fxgl.scene.menu.MenuStyle
-
- getCurrentChannel() - Method in class com.almasb.fxgl.texture.AnimatedTexture
-
- getCurrentScene() - Method in interface com.almasb.fxgl.service.Display
-
- getCurrentValue() - Method in class com.almasb.fxgl.ui.ProgressBar
-
Gets the value of the property currentValue.
- getCustomMenu() - Method in class com.almasb.fxgl.app.DeveloperMenuBarController
-
- getDefinition() - Method in class com.almasb.fxgl.physics.PhysicsParticleComponent
-
- getDirection() - Method in class com.almasb.fxgl.entity.control.ProjectileControl
-
- getDisplay() - Method in class com.almasb.fxgl.app.FXGLApplication
-
- getEffect() - Method in class com.almasb.fxgl.scene.FXGLScene
-
- getEnabledMenuItems() - Method in class com.almasb.fxgl.settings.ReadOnlyGameSettings
-
- getEntitiesAt(Point2D) - Method in class com.almasb.fxgl.entity.GameWorld
-
Returns a list of entities at given position.
- getEntitiesAt(Array<Entity>, Point2D) - Method in class com.almasb.fxgl.entity.GameWorld
-
- getEntitiesByLayer(RenderLayer) - Method in class com.almasb.fxgl.entity.GameWorld
-
Returns a list of entities which have the given render layer index.
- getEntitiesByLayer(Array<Entity>, RenderLayer) - Method in class com.almasb.fxgl.entity.GameWorld
-
- getEntitiesByType(Enum<?>...) - Method in class com.almasb.fxgl.entity.GameWorld
-
This query only works on entities with TypeComponent.
- getEntitiesByType(Array<Entity>, Enum<?>...) - Method in class com.almasb.fxgl.entity.GameWorld
-
- getEntitiesFiltered(Predicate<Entity>) - Method in class com.almasb.fxgl.entity.GameWorld
-
Returns a list of entities which are filtered by
given predicate.
- getEntitiesFiltered(Array<Entity>, Predicate<Entity>) - Method in class com.almasb.fxgl.entity.GameWorld
-
- getEntitiesInRange(Rectangle2D) - Method in class com.almasb.fxgl.entity.GameWorld
-
Returns a list of entities
which are partially or entirely
in the specified rectangular selection.
- getEntitiesInRange(Array<Entity>, double, double, double, double) - Method in class com.almasb.fxgl.entity.GameWorld
-
- getEntity() - Method in class com.almasb.fxgl.physics.RaycastResult
-
- getEntityByID(String, int) - Method in class com.almasb.fxgl.entity.GameWorld
-
Returns an entity whose IDComponent matches given name and id.
- getEntityFactory() - Method in class com.almasb.fxgl.entity.GameWorld
-
- getEventBus() - Method in class com.almasb.fxgl.app.FXGLApplication
-
- getExceptionHandler() - Method in class com.almasb.fxgl.app.FXGLApplication
-
- getExecutor() - Method in class com.almasb.fxgl.app.FXGLApplication
-
- getFPS() - Method in interface com.almasb.fxgl.service.MasterTimer
-
- getFullID() - Method in class com.almasb.fxgl.entity.component.IDComponent
-
- getGameScene() - Method in class com.almasb.fxgl.app.GameApplication
-
- getGameState() - Method in class com.almasb.fxgl.app.GameApplication
-
- getGameWorld() - Method in class com.almasb.fxgl.app.GameApplication
-
- getGlobalMusicVolume() - Method in interface com.almasb.fxgl.service.AudioPlayer
-
- getGlobalSoundVolume() - Method in interface com.almasb.fxgl.service.AudioPlayer
-
- getGraphicsContext() - Method in class com.almasb.fxgl.scene.GameScene
-
Returns graphics context of the game scene.
- getGravity() - Method in class com.almasb.fxgl.effect.Particle
-
- getGravityFunction() - Method in class com.almasb.fxgl.effect.ParticleEmitter
-
- getGridX(int) - Method in class com.almasb.fxgl.entity.component.PositionComponent
-
Note: if there is no bbox attached, entity is considered as a point,
else as a rectangle with the center placed in the cell.
- getGridY(int) - Method in class com.almasb.fxgl.entity.component.PositionComponent
-
Note: if there is no bbox attached, entity is considered as a point,
else as a rectangle with the center placed in the cell.
- getHeight() - Method in class com.almasb.fxgl.app.FXGLApplication
-
- getHeight() - Method in class com.almasb.fxgl.entity.component.BoundingBoxComponent
-
Returns total height of the bounding box, i.e.
- getHeight() - Method in class com.almasb.fxgl.entity.GameEntity
-
- getHeight() - Method in class com.almasb.fxgl.physics.HitBox
-
- getHeight() - Method in class com.almasb.fxgl.scene.FXGLScene
-
- getHeight() - Method in class com.almasb.fxgl.settings.ReadOnlyGameSettings
-
- getID() - Method in class com.almasb.fxgl.entity.component.IDComponent
-
- getInput() - Method in class com.almasb.fxgl.app.FXGLApplication
-
- getIntensity() - Method in class com.almasb.fxgl.effect.Vignette
-
- getJBox2DWorld() - Method in class com.almasb.fxgl.physics.PhysicsWorld
-
Note: certain modifications to the jbox2d world directly may not be
recognized by FXGL.
- getLatestVersionTask() - Method in interface com.almasb.fxgl.service.Net
-
- getLife() - Method in class com.almasb.fxgl.effect.Particle
-
- getLinearVelocity() - Method in class com.almasb.fxgl.physics.PhysicsComponent
-
- getMasterTimer() - Method in class com.almasb.fxgl.app.FXGLApplication
-
- getMax() - Method in class com.almasb.fxgl.gameplay.AchievementProgressEvent
-
- getMaxValue() - Method in class com.almasb.fxgl.entity.component.RechargeableComponent
-
- getMaxX() - Method in class com.almasb.fxgl.physics.HitBox
-
- getMaxXLocal() - Method in class com.almasb.fxgl.entity.component.BoundingBoxComponent
-
Note: same as width, unless specified otherwise.
- getMaxXWorld() - Method in class com.almasb.fxgl.entity.component.BoundingBoxComponent
-
- getMaxXWorld() - Method in class com.almasb.fxgl.physics.HitBox
-
- getMaxY() - Method in class com.almasb.fxgl.physics.HitBox
-
- getMaxYLocal() - Method in class com.almasb.fxgl.entity.component.BoundingBoxComponent
-
Note: same as height, unless specified otherwise.
- getMaxYWorld() - Method in class com.almasb.fxgl.entity.component.BoundingBoxComponent
-
- getMaxYWorld() - Method in class com.almasb.fxgl.physics.HitBox
-
- getMenuKey() - Method in class com.almasb.fxgl.settings.ReadOnlyGameSettings
-
- getMenuListener() - Method in class com.almasb.fxgl.app.GameApplication
-
- getMenuStyle() - Method in class com.almasb.fxgl.settings.ReadOnlyGameSettings
-
- getMinX() - Method in class com.almasb.fxgl.physics.HitBox
-
- getMinXLocal() - Method in class com.almasb.fxgl.entity.component.BoundingBoxComponent
-
- getMinXWorld() - Method in class com.almasb.fxgl.entity.component.BoundingBoxComponent
-
- getMinXWorld() - Method in class com.almasb.fxgl.physics.HitBox
-
- getMinY() - Method in class com.almasb.fxgl.physics.HitBox
-
- getMinYLocal() - Method in class com.almasb.fxgl.entity.component.BoundingBoxComponent
-
- getMinYWorld() - Method in class com.almasb.fxgl.entity.component.BoundingBoxComponent
-
- getMinYWorld() - Method in class com.almasb.fxgl.physics.HitBox
-
- getMousePositionUI() - Method in interface com.almasb.fxgl.service.Input
-
- getMousePositionWorld() - Method in interface com.almasb.fxgl.service.Input
-
- getMouseXUI() - Method in interface com.almasb.fxgl.service.Input
-
- getMouseXWorld() - Method in interface com.almasb.fxgl.service.Input
-
- getMouseYUI() - Method in interface com.almasb.fxgl.service.Input
-
- getMouseYWorld() - Method in interface com.almasb.fxgl.service.Input
-
- getName() - Method in class com.almasb.fxgl.entity.component.IDComponent
-
- getName() - Method in class com.almasb.fxgl.input.UserAction
-
- getName() - Method in class com.almasb.fxgl.physics.HitBox
-
- getNet() - Method in class com.almasb.fxgl.app.FXGLApplication
-
- getNodes() - Method in class com.almasb.fxgl.entity.EntityView
-
Returns nodes attached to this view.
- getNotification() - Method in class com.almasb.fxgl.gameplay.NotificationEvent
-
- getNotificationService() - Method in class com.almasb.fxgl.app.FXGLApplication
-
- getNow() - Method in class com.almasb.fxgl.app.FXGLApplication
-
- getNow() - Method in interface com.almasb.fxgl.service.MasterTimer
-
Current time for this tick in nanoseconds.
- getNumParticles() - Method in class com.almasb.fxgl.effect.ParticleEmitter
-
- getOsArchString() - Static method in class com.almasb.fxgl.util.PlatformUtils
-
- getOsVersionString() - Static method in class com.almasb.fxgl.util.PlatformUtils
-
- getPerformanceFPS() - Method in interface com.almasb.fxgl.service.MasterTimer
-
- getPhysics(Entity) - Static method in class com.almasb.fxgl.entity.Entities
-
Convenient way to obtain physics component.
- getPhysicsWorld() - Method in class com.almasb.fxgl.app.GameApplication
-
- getPlaytime() - Method in interface com.almasb.fxgl.service.MasterTimer
-
Gets the value of the property playtime.
- getPlaytimeHours() - Method in interface com.almasb.fxgl.service.MasterTimer
-
- getPlaytimeMinutes() - Method in interface com.almasb.fxgl.service.MasterTimer
-
- getPlaytimeSeconds() - Method in interface com.almasb.fxgl.service.MasterTimer
-
- getPoint() - Method in class com.almasb.fxgl.physics.RaycastResult
-
- getPosition(Entity) - Static method in class com.almasb.fxgl.entity.Entities
-
Convenient way to obtain position component.
- getPosition() - Method in class com.almasb.fxgl.entity.GameEntity
-
- getPosition() - Method in interface com.almasb.fxgl.service.NotificationService
-
- getPositionComponent() - Method in class com.almasb.fxgl.entity.GameEntity
-
- getPrimaryStage() - Method in class com.almasb.fxgl.app.FXGLApplication
-
- getProfile() - Method in class com.almasb.fxgl.saving.LoadEvent
-
- getProfile() - Method in class com.almasb.fxgl.saving.SaveEvent
-
- getProfileName() - Method in class com.almasb.fxgl.scene.menu.ProfileSelectedEvent
-
- getQTE() - Method in class com.almasb.fxgl.app.FXGLApplication
-
- getQuestService() - Method in class com.almasb.fxgl.app.FXGLApplication
-
- getRadius() - Method in class com.almasb.fxgl.effect.Vignette
-
- getRadiusX() - Method in class com.almasb.fxgl.effect.Particle
-
- getRadiusY() - Method in class com.almasb.fxgl.effect.Particle
-
- getRandomSize() - Method in class com.almasb.fxgl.effect.ParticleEmitter
-
- getRenderLayer() - Method in class com.almasb.fxgl.entity.component.ViewComponent
-
- getRenderLayer() - Method in class com.almasb.fxgl.entity.EntityView
-
- getRenderLayer() - Method in class com.almasb.fxgl.entity.GameEntity
-
- getRightX() - Method in class com.almasb.fxgl.entity.GameEntity
-
- getRoot() - Method in class com.almasb.fxgl.scene.FXGLScene
-
- getRotation(Entity) - Static method in class com.almasb.fxgl.entity.Entities
-
Convenient way to obtain rotation component.
- getRotation() - Method in class com.almasb.fxgl.entity.GameEntity
-
- getRotationComponent() - Method in class com.almasb.fxgl.entity.GameEntity
-
- getSaveLoadManager() - Method in interface com.almasb.fxgl.scene.menu.MenuEventListener
-
- getScale() - Method in class com.almasb.fxgl.effect.Particle
-
- getScaleRatio() - Method in interface com.almasb.fxgl.service.Display
-
- getSceneDimensions() - Method in interface com.almasb.fxgl.service.Display
-
- getSelectedEntity() - Method in class com.almasb.fxgl.entity.GameWorld
-
Returns last selected (clicked on by mouse) entity.
- getServices() - Method in class com.almasb.fxgl.settings.ReadOnlyGameSettings
-
- getSettings() - Method in class com.almasb.fxgl.app.FXGLApplication
-
- getShape() - Method in class com.almasb.fxgl.physics.HitBox
-
- getSizeMax() - Method in class com.almasb.fxgl.effect.ParticleEmitter
-
- getSizeMin() - Method in class com.almasb.fxgl.effect.ParticleEmitter
-
- getSpeed() - Method in class com.almasb.fxgl.entity.control.ProjectileControl
-
- getStream(String) - Method in interface com.almasb.fxgl.service.AssetLoader
-
Opens a stream to resource with given name.
- getTargetEntity() - Method in class com.almasb.fxgl.entity.EntityEvent
-
Returns entity that was target of the event.
- getTick() - Method in class com.almasb.fxgl.app.FXGLApplication
-
- getTick() - Method in interface com.almasb.fxgl.service.MasterTimer
-
Returns current tick (frame).
- getTitle() - Method in class com.almasb.fxgl.settings.ReadOnlyGameSettings
-
- getTriggerEntity() - Method in class com.almasb.fxgl.entity.EntityEvent
-
- getType(Entity) - Static method in class com.almasb.fxgl.entity.Entities
-
Convenient way to obtain type component.
- getType() - Method in class com.almasb.fxgl.entity.GameEntity
-
- getTypeComponent() - Method in class com.almasb.fxgl.entity.GameEntity
-
- getUIFactory() - Method in class com.almasb.fxgl.app.FXGLApplication
-
- getUINodes() - Method in class com.almasb.fxgl.scene.GameScene
-
- getValue() - Method in class com.almasb.fxgl.entity.component.PositionComponent
-
- getValue() - Method in class com.almasb.fxgl.gameplay.AchievementProgressEvent
-
- getVectorFromMouse(Point2D) - Method in interface com.almasb.fxgl.service.Input
-
- getVectorToMouse(Point2D) - Method in interface com.almasb.fxgl.service.Input
-
- getVelocity() - Method in class com.almasb.fxgl.entity.control.ProjectileControl
-
- getVelocityX() - Method in class com.almasb.fxgl.physics.PhysicsComponent
-
- getVelocityY() - Method in class com.almasb.fxgl.physics.PhysicsComponent
-
- getVelX() - Method in class com.almasb.fxgl.effect.Particle
-
- getVelY() - Method in class com.almasb.fxgl.effect.Particle
-
- getVersion() - Method in class com.almasb.fxgl.settings.ReadOnlyGameSettings
-
- getView() - Method in class com.almasb.fxgl.entity.component.ViewComponent
-
- getView(Entity) - Static method in class com.almasb.fxgl.entity.Entities
-
Convenient way to obtain main view component.
- getView() - Method in class com.almasb.fxgl.entity.GameEntity
-
- getViewComponent() - Method in class com.almasb.fxgl.entity.GameEntity
-
- getViewport() - Method in class com.almasb.fxgl.scene.GameScene
-
- getWidth() - Method in class com.almasb.fxgl.app.FXGLApplication
-
- getWidth() - Method in class com.almasb.fxgl.entity.component.BoundingBoxComponent
-
Returns total width of the bounding box, i.e.
- getWidth() - Method in class com.almasb.fxgl.entity.GameEntity
-
- getWidth() - Method in class com.almasb.fxgl.physics.HitBox
-
- getWidth() - Method in class com.almasb.fxgl.scene.FXGLScene
-
- getWidth() - Method in class com.almasb.fxgl.settings.ReadOnlyGameSettings
-
- getX() - Method in class com.almasb.fxgl.effect.Particle
-
- getX() - Method in class com.almasb.fxgl.entity.component.PositionComponent
-
- getX() - Method in class com.almasb.fxgl.entity.GameEntity
-
- getY() - Method in class com.almasb.fxgl.effect.Particle
-
- getY() - Method in class com.almasb.fxgl.entity.component.PositionComponent
-
- getY() - Method in class com.almasb.fxgl.entity.GameEntity
-
- globalMusicVolumeProperty() - Method in interface com.almasb.fxgl.service.AudioPlayer
-
- globalSoundVolumeProperty() - Method in interface com.almasb.fxgl.service.AudioPlayer
-
- GTAVMenu - Class in com.almasb.fxgl.scene.menu
-
- GTAVMenu(GameApplication, MenuType) - Constructor for class com.almasb.fxgl.scene.menu.GTAVMenu
-
- LiftControl - Class in com.almasb.fxgl.entity.control
-
Lift control.
- LiftControl(Duration, double, boolean) - Constructor for class com.almasb.fxgl.entity.control.LiftControl
-
Constructs lift control (moving vertically).
- listener - Variable in class com.almasb.fxgl.scene.FXGLMenu
-
- load(UserProfile) - Method in interface com.almasb.fxgl.service.listener.UserProfileSavable
-
Called during profile load.
- LOAD_PROFILE - Static variable in class com.almasb.fxgl.saving.LoadEvent
-
Fired when profile is being loaded.
- loadAppIcon(String) - Method in interface com.almasb.fxgl.service.AssetLoader
-
Loads an app icon from /assets/ui/icons/.
- loadBehaviorTree(String) - Method in interface com.almasb.fxgl.service.AssetLoader
-
Loads a behavior tree from /assets/ai/.
- loadCSS(String) - Method in interface com.almasb.fxgl.service.AssetLoader
-
Loads a CSS file from /assets/ui/css/.
- loadCursorImage(String) - Method in interface com.almasb.fxgl.service.AssetLoader
-
Loads cursor image with given name from /assets/ui/cursors/.
- LoadEvent - Class in com.almasb.fxgl.saving
-
Event related to any type of loading.
- LoadEvent(EventType<LoadEvent>, UserProfile) - Constructor for class com.almasb.fxgl.saving.LoadEvent
-
- loadFileNames(String) - Method in interface com.almasb.fxgl.service.AssetLoader
-
Loads file names from a directory.
- loadFont(String) - Method in interface com.almasb.fxgl.service.AssetLoader
-
Loads a native JavaFX font with given name from /assets/ui/fonts/
wrapped in a FontFactory, which later can be used to produce fonts
with different sizes without accessing the font file.
- loadJSON(String) - Method in interface com.almasb.fxgl.service.AssetLoader
-
Loads JSON file with given name from /assets/json/.
- loadJSON(String, Class<T>) - Method in interface com.almasb.fxgl.service.AssetLoader
-
Loads JSON file with given name from /assets/json/ and parses into an object of type T.
- loadKV(String) - Method in interface com.almasb.fxgl.service.AssetLoader
-
Loads KVFile with given name from /assets/kv/.
- loadLastModifiedSaveFileTask() - Method in class com.almasb.fxgl.saving.SaveLoadManager
-
Loads last modified save file from saves directory.
- loadMusic(String) - Method in interface com.almasb.fxgl.service.AssetLoader
-
Loads sound with given name from /assets/music/.
- loadProfileNamesTask() - Static method in class com.almasb.fxgl.saving.SaveLoadManager
-
Load all profile names.
- loadProfileTask() - Method in class com.almasb.fxgl.saving.SaveLoadManager
-
Loads user profile from "profiles/".
- loadResourceBundle(String) - Method in interface com.almasb.fxgl.service.AssetLoader
-
Loads resource bundle with given name from "/assets/properties/".
- loadSaveFilesTask() - Method in class com.almasb.fxgl.saving.SaveLoadManager
-
Loads save files with save file extension from SAVE_DIR.
- loadScript(String) - Method in interface com.almasb.fxgl.service.AssetLoader
-
Loads script with given name from /assets/scripts/ as a single string.
- loadSound(String) - Method in interface com.almasb.fxgl.service.AssetLoader
-
Loads sound with given name from /assets/sounds/.
- loadState(DataFile) - Method in class com.almasb.fxgl.app.GameApplication
-
Called when MenuEvent.LOAD occurs.
- loadTask(SaveFile) - Method in class com.almasb.fxgl.saving.SaveLoadManager
-
Load serializable data from external
file on disk file system from saves directory which is
in the directory where the game is run from.
- loadText(String) - Method in interface com.almasb.fxgl.service.AssetLoader
-
Loads text file with given name from /assets/text/
into List where each element represents a line
in the file.
- loadTexture(String) - Method in interface com.almasb.fxgl.service.AssetLoader
-
Loads texture with given name from /assets/textures/.
- loadTexture(String, double, double) - Method in interface com.almasb.fxgl.service.AssetLoader
-
Loads texture with given name from /assets/textures/.
- loadUI(String, UIController) - Method in interface com.almasb.fxgl.service.AssetLoader
-
Loads an FXML (.fxml) file from /assets/ui/.
- LOCAL_TIMER - Static variable in interface com.almasb.fxgl.service.ServiceType
-
- LocalTimer - Interface in com.almasb.fxgl.time
-
A simple timer.
- log - Static variable in class com.almasb.fxgl.app.FXGLApplication
-
Use system logger fallback until actual logger is ready.
- log - Static variable in class com.almasb.fxgl.entity.EntityView
-
- log - Static variable in class com.almasb.fxgl.scene.FXGLMenu
-
The logger.
- log(Logger) - Method in class com.almasb.fxgl.settings.UserProfile
-
- LOGGER_FACTORY - Static variable in interface com.almasb.fxgl.service.ServiceType
-
- LoggerFactory - Class in com.almasb.fxgl.service
-
Factory for producing loggers.
- LoggerFactory() - Constructor for class com.almasb.fxgl.service.LoggerFactory
-
- LOGOUT - Static variable in class com.almasb.fxgl.scene.menu.MenuEvent
-
- Particle - Class in com.almasb.fxgl.effect
-
Simple particle represented by a circle or an image.
- Particle(Point2D, Point2D, Point2D, double, Point2D, Duration, Paint, BlendMode) - Constructor for class com.almasb.fxgl.effect.Particle
-
- Particle(Image, Point2D, Point2D, Point2D, double, Point2D, Duration, Paint, BlendMode) - Constructor for class com.almasb.fxgl.effect.Particle
-
- Particle() - Constructor for class com.almasb.fxgl.effect.Particle
-
- ParticleControl - Class in com.almasb.fxgl.effect
-
- ParticleControl(ParticleEmitter) - Constructor for class com.almasb.fxgl.effect.ParticleControl
-
Constructs particle control with specified emitter.
- ParticleControl() - Constructor for class com.almasb.fxgl.effect.ParticleControl
-
- ParticleEmitter - Class in com.almasb.fxgl.effect
-
A general particle emitter.
- ParticleEmitter() - Constructor for class com.almasb.fxgl.effect.ParticleEmitter
-
- ParticleEmitters - Class in com.almasb.fxgl.effect
-
Holds configuration of predefined particle emitters.
- ParticleEmitters() - Constructor for class com.almasb.fxgl.effect.ParticleEmitters
-
- particles - Variable in class com.almasb.fxgl.effect.ParticleControl
-
- pause() - Method in class com.almasb.fxgl.app.FXGLApplication
-
Pause the application.
- PAUSE - Static variable in class com.almasb.fxgl.app.FXGLEvent
-
- pause() - Static method in class com.almasb.fxgl.app.FXGLEvent
-
- PAUSE - Static variable in class com.almasb.fxgl.scene.menu.MenuEvent
-
This event occurs when the user hit menu key in the game
to open game menu.
- pause() - Method in interface com.almasb.fxgl.time.TimerAction
-
Pauses action execution.
- pauseAllMusic() - Method in interface com.almasb.fxgl.service.AudioPlayer
-
Pauses all currently playing music.
- pauseMusic(Music) - Method in interface com.almasb.fxgl.service.AudioPlayer
-
- performanceFPSProperty() - Method in interface com.almasb.fxgl.service.MasterTimer
-
- PhysicsComponent - Class in com.almasb.fxgl.physics
-
Adds physics properties to an entity.
- PhysicsComponent() - Constructor for class com.almasb.fxgl.physics.PhysicsComponent
-
- PhysicsControl - Class in com.almasb.fxgl.physics
-
This control updates position and rotation components of entities
based on the physics properties.
- PhysicsParticleComponent - Class in com.almasb.fxgl.physics
-
Adds physics particle properties to an entity.
- PhysicsParticleComponent() - Constructor for class com.almasb.fxgl.physics.PhysicsParticleComponent
-
- PhysicsWorld - Class in com.almasb.fxgl.physics
-
Manages physics entities, collision handling and performs the physics tick.
- PhysicsWorld(int, double) - Constructor for class com.almasb.fxgl.physics.PhysicsWorld
-
- PlatformUtils - Class in com.almasb.fxgl.util
-
Provides information about platform specifics.
- playMusic(String) - Method in interface com.almasb.fxgl.service.AudioPlayer
-
Convenience method to play the music given its filename.
- playMusic(Music) - Method in interface com.almasb.fxgl.service.AudioPlayer
-
Plays given music based on its properties.
- playSound(String) - Method in interface com.almasb.fxgl.service.AudioPlayer
-
Convenience method to play the sound given its filename.
- playSound(Sound) - Method in interface com.almasb.fxgl.service.AudioPlayer
-
Plays given sound based on its properties.
- playtimeProperty() - Method in interface com.almasb.fxgl.service.MasterTimer
-
- Pooler - Interface in com.almasb.fxgl.service
-
Pooler service.
- POOLER - Static variable in interface com.almasb.fxgl.service.ServiceType
-
- Position - Enum in com.almasb.fxgl.ui
-
Represents a 4 directional position of UI element(-s).
- PositionComponent - Class in com.almasb.fxgl.entity.component
-
Component that adds a 2d position to an entity.
- PositionComponent(double, double) - Constructor for class com.almasb.fxgl.entity.component.PositionComponent
-
Constructs a position component from given x and y.
- PositionComponent(Point2D) - Constructor for class com.almasb.fxgl.entity.component.PositionComponent
-
Constructs a position component from given point.
- PositionComponent() - Constructor for class com.almasb.fxgl.entity.component.PositionComponent
-
Constructs a position component with x = y = 0.
- postSolve(Contact, ContactImpulse) - Method in class com.almasb.fxgl.physics.PhysicsWorld
-
- preInit() - Method in class com.almasb.fxgl.app.GameApplication
-
This is called after core services are initialized
but before any game init.
- preSolve(Contact, Manifold) - Method in class com.almasb.fxgl.physics.PhysicsWorld
-
- print() - Static method in class com.almasb.fxgl.util.Version
-
- profileNameProperty() - Method in interface com.almasb.fxgl.scene.menu.MenuEventListener
-
- PROFILER - Static variable in interface com.almasb.fxgl.service.ServiceType
-
- ProfileSelectedEvent - Class in com.almasb.fxgl.scene.menu
-
Event occurs when profile has been selected.
- ProfileSelectedEvent(String, boolean) - Constructor for class com.almasb.fxgl.scene.menu.ProfileSelectedEvent
-
- profilingEnabled - Variable in class com.almasb.fxgl.settings.ReadOnlyGameSettings
-
- PROGRESS - Static variable in class com.almasb.fxgl.gameplay.AchievementProgressEvent
-
- ProgressBar - Class in com.almasb.fxgl.ui
-
A generic progress bar.
- ProgressBar() - Constructor for class com.almasb.fxgl.ui.ProgressBar
-
- ProgressBar(boolean) - Constructor for class com.almasb.fxgl.ui.ProgressBar
-
- ProjectileControl - Class in com.almasb.fxgl.entity.control
-
Generic projectile control.
- ProjectileControl(Point2D, double) - Constructor for class com.almasb.fxgl.entity.control.ProjectileControl
-
- pushNotification(String) - Method in interface com.almasb.fxgl.service.NotificationService
-
Push a notification with given message.
- put(Object) - Method in interface com.almasb.fxgl.service.Pooler
-
Put the given object back to pool so it can reused.
- putBundle(Bundle) - Method in class com.almasb.fxgl.settings.UserProfile
-
Stores a bundle in the user profile.
- rand() - Method in class com.almasb.fxgl.effect.ParticleEmitter
-
Returns a value in [0..1).
- rand(double, double) - Method in class com.almasb.fxgl.effect.ParticleEmitter
-
Returns a value in [min..max).
- range(double, double) - Method in class com.almasb.fxgl.entity.component.BoundingBoxComponent
-
Forms a rectangle around the entity by extending min and max bounds
with width in X and with height in Y directions.
- raycast(Point2D, Point2D) - Method in class com.almasb.fxgl.physics.PhysicsWorld
-
Performs a ray cast from start point to end point.
- RaycastResult - Class in com.almasb.fxgl.physics
-
Result of a raycast.
- read(Bundle) - Method in class com.almasb.fxgl.entity.component.BoundingBoxComponent
-
- read(Bundle) - Method in class com.almasb.fxgl.entity.component.IDComponent
-
- read(Bundle) - Method in class com.almasb.fxgl.entity.component.PositionComponent
-
- read(Bundle) - Method in class com.almasb.fxgl.entity.component.TypeComponent
-
- ReadOnlyGameSettings - Class in com.almasb.fxgl.settings
-
A copy of GameSettings with public getters only.
- rebind(UserAction, KeyCode) - Method in interface com.almasb.fxgl.service.Input
-
Rebinds an existing action to given key.
- rebind(UserAction, KeyCode, InputModifier) - Method in interface com.almasb.fxgl.service.Input
-
Rebinds an existing action to given key.
- rebind(UserAction, MouseButton) - Method in interface com.almasb.fxgl.service.Input
-
Rebinds an action to given mouse button.
- rebind(UserAction, MouseButton, InputModifier) - Method in interface com.almasb.fxgl.service.Input
-
Rebinds an action to given mouse button.
- RechargeableComponent - Class in com.almasb.fxgl.entity.component
-
Any rechargeable component, such as HP, SP, ammo, etc.
- RechargeableComponent(double) - Constructor for class com.almasb.fxgl.entity.component.RechargeableComponent
-
- registerPool(Class<T>, Pool<T>) - Method in interface com.almasb.fxgl.service.Pooler
-
Make the pooler use the given pool for given type.
- registerScene(FXGLScene) - Method in interface com.almasb.fxgl.service.Display
-
Register an FXGL scene to be managed by display settings.
- relocateX(double) - Method in class com.almasb.fxgl.ui.InGameWindow
-
- relocateY(double) - Method in class com.almasb.fxgl.ui.InGameWindow
-
- removeCollisionHandler(CollisionHandler) - Method in class com.almasb.fxgl.physics.PhysicsWorld
-
Removes a collision handler
- removeEventHandler(EventType<T>, EventHandler<? super T>) - Method in class com.almasb.fxgl.scene.FXGLScene
-
Remove event handler.
- removeEventTrigger(<any>) - Method in class com.almasb.fxgl.entity.GameWorld
-
Remove event trigger from the world.
- removeFXGLListener(FXGLListener) - Method in class com.almasb.fxgl.app.FXGLApplication
-
Remove previously added listener.
- removeGameView(EntityView) - Method in class com.almasb.fxgl.scene.GameScene
-
Remove a view from the game root.
- removeHitBox(String) - Method in class com.almasb.fxgl.entity.component.BoundingBoxComponent
-
Removes a hit box with given name from the list of hit boxes for this entity.
- removeNode(Node) - Method in class com.almasb.fxgl.entity.EntityView
-
Removes a child node attached to this view.
- removeQuest(Quest) - Method in interface com.almasb.fxgl.service.QuestService
-
Remove the quest from service.
- removeUI(UI) - Method in class com.almasb.fxgl.scene.GameScene
-
- removeUINode(Node) - Method in class com.almasb.fxgl.scene.GameScene
-
Remove given node from the UI overlay.
- removeUINodes(Node...) - Method in class com.almasb.fxgl.scene.GameScene
-
Remove nodes from the UI overlay.
- removeUpdateListener(UpdateEventListener) - Method in interface com.almasb.fxgl.service.MasterTimer
-
Removes update event listener.
- renderLayer(RenderLayer) - Method in class com.almasb.fxgl.entity.Entities.GameEntityBuilder
-
- RenderLayer - Interface in com.almasb.fxgl.entity
-
Represents a layer which is used to group objects being rendered.
- renderLayerProperty() - Method in class com.almasb.fxgl.entity.component.ViewComponent
-
- renderLayerProperty() - Method in class com.almasb.fxgl.entity.EntityView
-
- renderParticles(GraphicsContext, Point2D) - Method in class com.almasb.fxgl.effect.ParticleControl
-
Do NOT call manually.
- repeat(int) - Method in class com.almasb.fxgl.entity.animation.AnimationBuilder
-
- reposition(Point2D) - Method in class com.almasb.fxgl.physics.PhysicsControl
-
Repositions an entity that supports physics directly in the physics world.
- reset() - Method in class com.almasb.fxgl.app.FXGLApplication
-
Reset the application.
- RESET - Static variable in class com.almasb.fxgl.app.FXGLEvent
-
- reset() - Static method in class com.almasb.fxgl.app.FXGLEvent
-
- reset() - Method in class com.almasb.fxgl.effect.Particle
-
- reset() - Method in class com.almasb.fxgl.entity.GameWorld
-
- reset() - Method in class com.almasb.fxgl.physics.CollisionResult
-
- reset() - Method in interface com.almasb.fxgl.service.MasterTimer
-
Clears all registered timer based actions.
- restore(double) - Method in class com.almasb.fxgl.entity.component.RechargeableComponent
-
Restore component by given value.
- RESTORE_SETTINGS - Static variable in class com.almasb.fxgl.saving.LoadEvent
-
Fired when settings are being restored.
- restoreDefaultSettings() - Method in interface com.almasb.fxgl.scene.menu.MenuEventListener
-
- restorePercentageCurrent(double) - Method in class com.almasb.fxgl.entity.component.RechargeableComponent
-
Restore component by given percentage.
- restorePercentageMax(double) - Method in class com.almasb.fxgl.entity.component.RechargeableComponent
-
Restore by given percentage.
- resume() - Method in class com.almasb.fxgl.app.FXGLApplication
-
Resume the application.
- RESUME - Static variable in class com.almasb.fxgl.app.FXGLEvent
-
- resume() - Static method in class com.almasb.fxgl.app.FXGLEvent
-
- RESUME - Static variable in class com.almasb.fxgl.scene.menu.MenuEvent
-
- resume() - Method in interface com.almasb.fxgl.time.TimerAction
-
Resumes previously paused action.
- resumeAllMusic() - Method in interface com.almasb.fxgl.service.AudioPlayer
-
Resumes all currently paused music.
- resumeMusic(Music) - Method in interface com.almasb.fxgl.service.AudioPlayer
-
- rotate(GameEntity...) - Method in class com.almasb.fxgl.entity.animation.AnimationBuilder
-
- rotate(List<GameEntity>) - Method in class com.almasb.fxgl.entity.animation.AnimationBuilder
-
- rotate(double) - Method in class com.almasb.fxgl.entity.Entities.GameEntityBuilder
-
- rotateBy(double) - Method in class com.almasb.fxgl.entity.component.RotationComponent
-
Rotate entity view by given angle.
- rotateBy(double) - Method in class com.almasb.fxgl.entity.GameEntity
-
Rotate entity view by given angle clockwise.
- rotateToVector(Point2D) - Method in class com.almasb.fxgl.entity.component.RotationComponent
-
Set absolute rotation of the entity view to angle
between vector and positive X axis.
- rotateToVector(Point2D) - Method in class com.almasb.fxgl.entity.GameEntity
-
Set absolute rotation of the entity view to angle
between vector and positive X axis.
- RotationComponent - Class in com.almasb.fxgl.entity.component
-
Adds rotation data to an entity.
- RotationComponent() - Constructor for class com.almasb.fxgl.entity.component.RotationComponent
-
Constructs rotation with angle = 0.
- RotationComponent(double) - Constructor for class com.almasb.fxgl.entity.component.RotationComponent
-
Constructs rotation with given angle.
- runAtInterval(Runnable, Duration) - Method in interface com.almasb.fxgl.service.MasterTimer
-
The Runnable action will be scheduled to run at given interval.
- runAtIntervalWhile(Runnable, Duration, ReadOnlyBooleanProperty) - Method in interface com.almasb.fxgl.service.MasterTimer
-
The Runnable action will be scheduled for execution iff
whileCondition is initially true.
- runOnceAfter(Runnable, Duration) - Method in interface com.almasb.fxgl.service.MasterTimer
-
The Runnable action will be executed once after given delay
- SAT - Class in com.almasb.fxgl.physics
-
Separating Axis Theorem based check for collision.
- SAVE - Static variable in class com.almasb.fxgl.scene.menu.MenuEvent
-
- save(UserProfile) - Method in interface com.almasb.fxgl.service.listener.UserProfileSavable
-
Called during profile save.
- SaveEvent - Class in com.almasb.fxgl.saving
-
Occurs during save.
- SaveEvent(UserProfile) - Constructor for class com.almasb.fxgl.saving.SaveEvent
-
- saveFileExists(String) - Method in class com.almasb.fxgl.saving.SaveLoadManager
-
- saveFiles() - Method in class com.almasb.fxgl.saving.SaveLoadManager
-
- SaveLoadManager - Class in com.almasb.fxgl.saving
-
Convenient access to saving and loading game data.
- SaveLoadManager(String) - Constructor for class com.almasb.fxgl.saving.SaveLoadManager
-
Constructs manager for given profile name.
- saveProfileTask(UserProfile) - Method in class com.almasb.fxgl.saving.SaveLoadManager
-
Saves user profile to "profiles/".
- saveScreenshot() - Method in interface com.almasb.fxgl.service.Display
-
Saves a screenshot of the current scene into a ".png" file.
- saveState() - Method in class com.almasb.fxgl.app.GameApplication
-
Called when MenuEvent.SAVE occurs.
- saveTask(DataFile, SaveFile) - Method in class com.almasb.fxgl.saving.SaveLoadManager
-
Save serializable data onto a disk file system under saves directory,
which is created if necessary in the directory where the game is run from.
- scale(GameEntity...) - Method in class com.almasb.fxgl.entity.animation.AnimationBuilder
-
- scanForHandlers(Object) - Method in interface com.almasb.fxgl.service.EventBus
-
Scan an object for public methods marked @Handles
and add them to the event bus.
- scanForUserActions(Object) - Method in interface com.almasb.fxgl.service.Input
-
Given an object, scans its methods for
OnUserAction annotation
and creates UserActions from its data.
- SceneDimension - Class in com.almasb.fxgl.settings
-
A 2d dimension that describes scene resolution.
- SceneDimension(double, double) - Constructor for class com.almasb.fxgl.settings.SceneDimension
-
Constructs a SceneDimension with the specified width and
height.
- schedule(Runnable, Duration) - Method in interface com.almasb.fxgl.service.Executor
-
Schedule a single action to run after delay.
- scope() - Method in interface com.almasb.fxgl.service.ServiceType
-
- screenToGame(Point2D) - Method in class com.almasb.fxgl.scene.GameScene
-
Converts a point on screen to a point within game scene.
- SelectableComponent - Class in com.almasb.fxgl.entity.component
-
Marks an entity as selectable.
- SelectableComponent(boolean) - Constructor for class com.almasb.fxgl.entity.component.SelectableComponent
-
- selectedEntityProperty() - Method in class com.almasb.fxgl.entity.GameWorld
-
- service() - Method in interface com.almasb.fxgl.service.ServiceType
-
- serviceProvider() - Method in interface com.almasb.fxgl.service.ServiceType
-
- services - Variable in class com.almasb.fxgl.settings.ReadOnlyGameSettings
-
- ServiceType<T> - Interface in com.almasb.fxgl.service
-
Marks a service type.
- set(Texture) - Method in class com.almasb.fxgl.texture.Texture
-
Set texture data by copying it from other texture.
- setAngularVelocity(double) - Method in class com.almasb.fxgl.physics.PhysicsComponent
-
Set velocity (angle in deg) at which the entity will rotate per tick.
- setAnimationChannel(AnimationChannel) - Method in class com.almasb.fxgl.texture.AnimatedTexture
-
Set animation channel.
- setAnimationChannel(AnimationChannel, Runnable) - Method in class com.almasb.fxgl.texture.AnimatedTexture
-
Set animation channel with a callback to run when the channel ends.
- setApplicationMode(ApplicationMode) - Method in class com.almasb.fxgl.settings.GameSettings
-
Sets application run mode.
- setBackgroundColor(Color) - Method in interface com.almasb.fxgl.service.NotificationService
-
Set background color of notifications.
- setBackgroundColor(Paint) - Method in class com.almasb.fxgl.ui.InGameWindow
-
Set background color of this window.
- setBackgroundFill(Paint) - Method in class com.almasb.fxgl.ui.ProgressBar
-
- setBlendFunction(TriFunction<Integer, Double, Double, BlendMode>) - Method in class com.almasb.fxgl.effect.ParticleEmitter
-
Blend function is used to obtain blend mode for particles.
- setBlendMode(BlendMode) - Method in class com.almasb.fxgl.effect.Particle
-
- setBodyDef(BodyDef) - Method in class com.almasb.fxgl.physics.PhysicsComponent
-
Set custom body definition to describe a generated
body for this physics entity.
- setBodyLinearVelocity(Vec2) - Method in class com.almasb.fxgl.physics.PhysicsComponent
-
Set linear velocity for a physics entity.
- setBodyType(BodyType) - Method in class com.almasb.fxgl.physics.PhysicsComponent
-
A convenience method to avoid setting body definition
if only a change of body type is required.
- setCanGoOffscreen(boolean) - Method in class com.almasb.fxgl.ui.InGameWindow
-
- setCloseConfirmation(boolean) - Method in class com.almasb.fxgl.settings.GameSettings
-
Setting to false will disable asking for confirmation on exit.
- setColor(Paint) - Method in class com.almasb.fxgl.effect.Particle
-
- setColor(Color) - Method in class com.almasb.fxgl.effect.Vignette
-
Set effect color.
- setColor(Color) - Method in class com.almasb.fxgl.physics.PhysicsParticleComponent
-
Set particle color.
- setColorFunction(Supplier<Paint>) - Method in class com.almasb.fxgl.effect.ParticleEmitter
-
Set color function to particles created by this emitter.
- setControl(Consumer<Particle>) - Method in class com.almasb.fxgl.effect.Particle
-
Set a direct controller to this particle.
- setCredits(Credits) - Method in class com.almasb.fxgl.settings.GameSettings
-
Set additional credits.
- setCurrentValue(double) - Method in class com.almasb.fxgl.ui.ProgressBar
-
Sets the value of the property currentValue.
- setCursor(String, Point2D) - Method in class com.almasb.fxgl.scene.FXGLScene
-
Sets global game cursor using given name to find
the image cursor within assets/ui/cursors/.
- setDefinition(ParticleGroupDef) - Method in class com.almasb.fxgl.physics.PhysicsParticleComponent
-
Set particle group definition.
- setDirection(Point2D) - Method in class com.almasb.fxgl.entity.control.ProjectileControl
-
Set direction in which projectile is moving.
- setEffect(Effect) - Method in class com.almasb.fxgl.scene.FXGLScene
-
Applies given effect to the scene.
- setEmissionRate(double) - Method in class com.almasb.fxgl.effect.ParticleEmitter
-
Set the emission rate.
- setEnabledMenuItems(EnumSet<MenuItem>) - Method in class com.almasb.fxgl.settings.GameSettings
-
- SetEntityFactory - Annotation Type in com.almasb.fxgl.annotation
-
Indicates that a class will be used as the main entity factory.
- setEntityFactory(EntityFactory) - Method in class com.almasb.fxgl.entity.GameWorld
-
- setExpireFunction(TriFunction<Integer, Double, Double, Duration>) - Method in class com.almasb.fxgl.effect.ParticleEmitter
-
Expire function is used to obtain expire time for particles.
- setFill(Color) - Method in class com.almasb.fxgl.ui.ProgressBar
-
- setFill(Color) - Method in class com.almasb.fxgl.ui.ToggleSwitch
-
- setFixtureDef(FixtureDef) - Method in class com.almasb.fxgl.physics.PhysicsComponent
-
Set custom fixture definition to describe a generated
fixture for this physics entity.
- setFullScreen(boolean) - Method in class com.almasb.fxgl.settings.GameSettings
-
Setting to true will start the game in fullscreen mode.
- setGlobalMusicVolume(double) - Method in interface com.almasb.fxgl.service.AudioPlayer
-
Set global music volume in the range [0..1],
where 0 = 0%, 1 = 100%.
- setGlobalSoundVolume(double) - Method in interface com.almasb.fxgl.service.AudioPlayer
-
Set global sound volume in the range [0..1],
where 0 = 0%, 1 = 100%.
- setGravity(Point2D) - Method in class com.almasb.fxgl.effect.Particle
-
- setGravity(double, double) - Method in class com.almasb.fxgl.physics.PhysicsWorld
-
Set global world gravity.
- setGravityFunction(Supplier<Point2D>) - Method in class com.almasb.fxgl.effect.ParticleEmitter
-
Set gravity function.
- setHeight(int) - Method in class com.almasb.fxgl.settings.GameSettings
-
Set target height.
- setHeight(double) - Method in class com.almasb.fxgl.ui.ProgressBar
-
- setIntensity(double) - Method in class com.almasb.fxgl.effect.Vignette
-
Set effect intensity.
- setIntroEnabled(boolean) - Method in class com.almasb.fxgl.settings.GameSettings
-
If set to true, the intro video/animation will
be played before the start of the game.
- setLabelFill(Paint) - Method in class com.almasb.fxgl.ui.ProgressBar
-
- setLabelPosition(Position) - Method in class com.almasb.fxgl.ui.ProgressBar
-
- setLabelVisible(boolean) - Method in class com.almasb.fxgl.ui.ProgressBar
-
- setLevel(Level) - Method in class com.almasb.fxgl.entity.GameWorld
-
Set level to given.
- setLevelFromMap(TiledMap) - Method in class com.almasb.fxgl.entity.GameWorld
-
- setLinearVelocity(Point2D) - Method in class com.almasb.fxgl.physics.PhysicsComponent
-
Set linear velocity for a physics entity.
- setLinearVelocity(double, double) - Method in class com.almasb.fxgl.physics.PhysicsComponent
-
Set linear velocity for a physics entity.
- setMaxValue(double) - Method in class com.almasb.fxgl.entity.component.RechargeableComponent
-
Set max value.
- setMaxValue(double) - Method in class com.almasb.fxgl.ui.ProgressBar
-
Sets the value of the property maxValue.
- setMenuEnabled(boolean) - Method in class com.almasb.fxgl.settings.GameSettings
-
Setting to true enables main and game menu.
- setMenuKey(KeyCode) - Method in class com.almasb.fxgl.settings.GameSettings
-
Set the key that will trigger in-game menu.
- setMenuStyle(MenuStyle) - Method in class com.almasb.fxgl.settings.GameSettings
-
Set the menu style to use.
- setMinValue(double) - Method in class com.almasb.fxgl.ui.ProgressBar
-
Sets the value of the property minValue.
- setNumParticles(int) - Method in class com.almasb.fxgl.effect.ParticleEmitter
-
Set number of particles being spawned per emission.
- setOnClose(Runnable) - Method in class com.almasb.fxgl.scene.FXGLMenu.MenuContent
-
Set on close handler.
- setOnOpen(Runnable) - Method in class com.almasb.fxgl.scene.FXGLMenu.MenuContent
-
Set on open handler.
- setOnPhysicsInitialized(Runnable) - Method in class com.almasb.fxgl.physics.PhysicsComponent
-
Set a callback to run when this entity has been added to physics world.
- setPosition(Point2D) - Method in class com.almasb.fxgl.entity.GameEntity
-
Set top left position of this entity in world coordinates.
- setPosition(Position) - Method in interface com.almasb.fxgl.service.NotificationService
-
Set position of future notifications.
- setPosition(double, double) - Method in class com.almasb.fxgl.ui.InGameWindow
-
Set top-left position of the window.
- setProcessInput(boolean) - Method in interface com.almasb.fxgl.service.Input
-
Setting to false will disable processing of input events.
- setProfilingEnabled(boolean) - Method in class com.almasb.fxgl.settings.GameSettings
-
Setting to true will enable profiler that reports on performance
when FXGL exits.
- setRadius(double) - Method in class com.almasb.fxgl.effect.Vignette
-
Set gradient radius.
- setRadiusX(double) - Method in class com.almasb.fxgl.effect.Particle
-
- setRadiusY(double) - Method in class com.almasb.fxgl.effect.Particle
-
- setRaycastIgnored(boolean) - Method in class com.almasb.fxgl.physics.PhysicsComponent
-
Set true to make raycast ignore this entity.
- setRegisterInput(boolean) - Method in interface com.almasb.fxgl.service.Input
-
Setting to false will disable capturing of input events.
- setRenderLayer(RenderLayer) - Method in class com.almasb.fxgl.entity.component.ViewComponent
-
Set render layer.
- setRenderLayer(RenderLayer) - Method in class com.almasb.fxgl.entity.EntityView
-
Set render layer for this entity.
- setRenderLayer(RenderLayer) - Method in class com.almasb.fxgl.entity.GameEntity
-
Set render layer.
- setRotation(double) - Method in class com.almasb.fxgl.entity.GameEntity
-
Set absolute rotation angle.
- setScale(Point2D) - Method in class com.almasb.fxgl.effect.Particle
-
- setScaleFunction(TriFunction<Integer, Double, Double, Point2D>) - Method in class com.almasb.fxgl.effect.ParticleEmitter
-
Scale function defines how the size of particles change over time.
- setScaleX(double) - Method in class com.almasb.fxgl.entity.GameEntity
-
Set view scale X.
- setScaleY(double) - Method in class com.almasb.fxgl.entity.GameEntity
-
Set view scale Y.
- setScene(FXGLScene) - Method in interface com.almasb.fxgl.service.Display
-
Set current FXGL scene.
- setSceneDimension(SceneDimension) - Method in interface com.almasb.fxgl.service.Display
-
Set new scene dimension.
- setShowBBoxColor(Color) - Static method in class com.almasb.fxgl.entity.component.ViewComponent
-
- setSize(double, double) - Method in class com.almasb.fxgl.effect.ParticleEmitter
-
Set size to particles.
- setSnapToScreen(boolean) - Method in class com.almasb.fxgl.ui.InGameWindow
-
- setSnapToWindows(boolean) - Method in class com.almasb.fxgl.ui.InGameWindow
-
- setSourceImage(Image) - Method in class com.almasb.fxgl.effect.ParticleEmitter
-
Set source image for this emitter to produce particles.
- setSpawnPointFunction(TriFunction<Integer, Double, Double, Point2D>) - Method in class com.almasb.fxgl.effect.ParticleEmitter
-
Particles will use the function to obtain spawn points.
- setSpeed(double) - Method in class com.almasb.fxgl.entity.control.ProjectileControl
-
- setTexture(String) - Method in class com.almasb.fxgl.entity.component.ViewComponent
-
Convenience method to set texture as view.
- setTexture(String, boolean) - Method in class com.almasb.fxgl.entity.component.ViewComponent
-
Convenience method to set texture as view.
- setTick(long) - Method in class com.almasb.fxgl.time.UpdateEvent
-
- setTitle(String) - Method in class com.almasb.fxgl.settings.GameSettings
-
Set title of the game.
- setTPF(double) - Method in class com.almasb.fxgl.time.UpdateEvent
-
- setTraceFill(Paint) - Method in class com.almasb.fxgl.ui.ProgressBar
-
- setUIMouseTransparent(boolean) - Method in class com.almasb.fxgl.scene.GameScene
-
Set true if UI elements should forward mouse events
to the game layer.
- setValue(double, double) - Method in class com.almasb.fxgl.entity.component.PositionComponent
-
Set position.
- setValue(Point2D) - Method in class com.almasb.fxgl.entity.component.PositionComponent
-
Set position.
- setVelocityFunction(TriFunction<Integer, Double, Double, Point2D>) - Method in class com.almasb.fxgl.effect.ParticleEmitter
-
Set initial velocity function.
- setVelocityX(double) - Method in class com.almasb.fxgl.physics.PhysicsComponent
-
- setVelocityY(double) - Method in class com.almasb.fxgl.physics.PhysicsComponent
-
- setVelX(double) - Method in class com.almasb.fxgl.effect.Particle
-
- setVelY(double) - Method in class com.almasb.fxgl.effect.Particle
-
- setVersion(String) - Method in class com.almasb.fxgl.settings.GameSettings
-
Set version of the game.
- setView(Node) - Method in class com.almasb.fxgl.entity.component.ViewComponent
-
Set view without generating bounding boxes from view.
- setView(Node, boolean) - Method in class com.almasb.fxgl.entity.component.ViewComponent
-
Set view.
- setView(Node) - Method in class com.almasb.fxgl.entity.GameEntity
-
Set view without generating bounding boxes from view.
- setViewFromTexture(String) - Method in class com.almasb.fxgl.entity.GameEntity
-
Set view from texture.
- setViewFromTextureWithBBox(String) - Method in class com.almasb.fxgl.entity.GameEntity
-
Set view from texture and generate bbox from it.
- setViewWithBBox(Node) - Method in class com.almasb.fxgl.entity.GameEntity
-
Set view and generate bounding boxes from view.
- setWidth(int) - Method in class com.almasb.fxgl.settings.GameSettings
-
Set target width.
- setWidth(double) - Method in class com.almasb.fxgl.ui.ProgressBar
-
- setX(double) - Method in class com.almasb.fxgl.entity.component.PositionComponent
-
Set x.
- setX(double) - Method in class com.almasb.fxgl.entity.GameEntity
-
Set position x of this entity.
- setY(double) - Method in class com.almasb.fxgl.entity.component.PositionComponent
-
Set y.
- setY(double) - Method in class com.almasb.fxgl.entity.GameEntity
-
Set position y of this entity.
- showBox(String, Node, Button...) - Method in interface com.almasb.fxgl.service.Display
-
Shows a blocking (stops game execution, method returns normally) generic dialog.
- showConfirmationBox(String, Consumer<Boolean>) - Method in interface com.almasb.fxgl.service.Display
-
Shows a blocking message box with YES and NO buttons.
- showDialog(Dialog<T>, Consumer<T>) - Method in interface com.almasb.fxgl.service.Display
-
Shows given dialog and blocks execution of the game until the dialog is
dismissed.
- showErrorBox(Throwable) - Method in interface com.almasb.fxgl.service.Display
-
Shows a blocking (stops game execution, method returns normally) dialog with the error.
- showErrorBox(String, Runnable) - Method in interface com.almasb.fxgl.service.Display
-
Shows a blocking (stops game execution, method returns normally) dialog with the error.
- showInputBox(String, Consumer<String>) - Method in interface com.almasb.fxgl.service.Display
-
Shows a blocking (stops game execution, method returns normally) message box with OK button and input field.
- showInputBox(String, Predicate<String>, Consumer<String>) - Method in interface com.almasb.fxgl.service.Display
-
Shows a blocking (stops game execution, method returns normally) message box with OK button and input field.
- showInputBoxWithCancel(String, Predicate<String>, Consumer<String>) - Method in interface com.almasb.fxgl.service.Display
-
Shows a blocking (stops game execution, method returns normally) message box with OK and CANCEL buttons and input field.
- showMessageBox(String) - Method in interface com.almasb.fxgl.service.Display
-
Shows a blocking (stops game execution, method returns normally) message box with OK button.
- showMessageBox(String, Runnable) - Method in interface com.almasb.fxgl.service.Display
-
Shows a blocking (stops game execution, method returns normally) message box with OK button.
- showProgressBox(String) - Method in interface com.almasb.fxgl.service.Display
-
Shows a blocking (stops game execution, method returns normally) progress dialog.
- spawn(SpawnData) - Method in interface com.almasb.fxgl.entity.EntitySpawner
-
- spawn(String) - Method in class com.almasb.fxgl.entity.GameWorld
-
- spawn(String, Point2D) - Method in class com.almasb.fxgl.entity.GameWorld
-
Creates an entity with given name at x, y using specified entity factory.
- spawn(String, double, double) - Method in class com.almasb.fxgl.entity.GameWorld
-
Creates an entity with given name at x, y using specified entity factory.
- spawn(String, SpawnData) - Method in class com.almasb.fxgl.entity.GameWorld
-
Creates an entity with given name and data using specified entity factory.
- Spawns - Annotation Type in com.almasb.fxgl.annotation
-
Indicates that a method is used for creating entities.
- SpawnSymbol - Annotation Type in com.almasb.fxgl.annotation
-
- start(Stage) - Method in class com.almasb.fxgl.app.FXGLApplication
-
- start(Consumer<Boolean>, Duration, KeyCode...) - Method in interface com.almasb.fxgl.service.QTE
-
Starts quick time event.
- startLoadedGame(DataFile) - Method in class com.almasb.fxgl.app.GameApplication
-
(Re-)initializes the user application from the given data file and starts the game.
- startNewGame() - Method in class com.almasb.fxgl.app.GameApplication
-
(Re-)initializes the user application as new and starts the game.
- stop() - Method in class com.almasb.fxgl.app.FXGLApplication
-
- stopAllMusic() - Method in interface com.almasb.fxgl.service.AudioPlayer
-
Stops all currently playing music.
- stopAllSounds() - Method in interface com.almasb.fxgl.service.AudioPlayer
-
Stops playing all sounds.
- stopMusic(Music) - Method in interface com.almasb.fxgl.service.AudioPlayer
-
Stops currently playing music.
- stopSound(Sound) - Method in interface com.almasb.fxgl.service.AudioPlayer
-
Stops playing given sound.
- subTexture(Rectangle2D) - Method in class com.almasb.fxgl.texture.Texture
-
Given a rectangular area, produces a sub-texture of
this texture.
- superTexture(Texture, HorizontalDirection) - Method in class com.almasb.fxgl.texture.Texture
-
Generates a new texture which combines this and given texture.
- superTexture(Texture, VerticalDirection) - Method in class com.almasb.fxgl.texture.Texture
-
Generates a new texture which combines this and given texture.
- switchedOnProperty() - Method in class com.almasb.fxgl.ui.ToggleSwitch
-
- switchMenuContentTo(Node) - Method in class com.almasb.fxgl.scene.FXGLMenu
-
Switches current active content to given.
- switchMenuContentTo(Node) - Method in class com.almasb.fxgl.scene.menu.CCTRMenu
-
- switchMenuContentTo(Node) - Method in class com.almasb.fxgl.scene.menu.FXGLDefaultMenu
-
- switchMenuContentTo(Node) - Method in class com.almasb.fxgl.scene.menu.GTAVMenu
-
- switchMenuTo(Node) - Method in class com.almasb.fxgl.scene.FXGLMenu
-
Switches current active menu body to given.
- switchMenuTo(Node) - Method in class com.almasb.fxgl.scene.menu.FXGLDefaultMenu
-
- switchMenuTo(Node) - Method in class com.almasb.fxgl.scene.menu.GTAVMenu
-
- TextEntityFactory - Interface in com.almasb.fxgl.entity
-
Marks a class that it's able to spawn entities from text-based levels.
- Texture - Class in com.almasb.fxgl.texture
-
Represents a 2D image which can be set as view for an entity.
- Texture(Image) - Constructor for class com.almasb.fxgl.texture.Texture
-
Constructs new texture from given image.
- tick() - Method in class com.almasb.fxgl.time.UpdateEvent
-
- tickProperty() - Method in interface com.almasb.fxgl.service.MasterTimer
-
- TimerAction - Interface in com.almasb.fxgl.time
-
Action to be executed by the timer after certain intervals or
under certain conditions.
- title - Variable in class com.almasb.fxgl.settings.ReadOnlyGameSettings
-
- to(Class<T>) - Method in class com.almasb.fxgl.parser.KVFile
-
Converts an instance of KVFile to instance of the data
structure and populates its fields with appropriate values.
- toAnimatedTexture(int, Duration) - Method in class com.almasb.fxgl.texture.Texture
-
Converts the texture to animated texture.
- toAnimatedTexture(AnimationChannel) - Method in class com.almasb.fxgl.texture.Texture
-
Converts the texture to animated texture.
- toColor(Color) - Method in class com.almasb.fxgl.texture.Texture
-
Colorizes this texture's pixels with given color.
- ToggleSwitch - Class in com.almasb.fxgl.ui
-
On/Off toggle switch.
- ToggleSwitch() - Constructor for class com.almasb.fxgl.ui.ToggleSwitch
-
- toGrayscale() - Method in class com.almasb.fxgl.texture.Texture
-
- toMeters(double) - Method in class com.almasb.fxgl.physics.PhysicsWorld
-
Converts pixels to meters
- TOP - Static variable in interface com.almasb.fxgl.entity.RenderLayer
-
Default render layer for entities with no specified
render layer.
- toPixels(double) - Method in class com.almasb.fxgl.physics.PhysicsWorld
-
Converts meters to pixels
- toPoint(Point2D) - Method in class com.almasb.fxgl.physics.PhysicsWorld
-
Converts a point in pixel space to a point in physics space.
- toPoint(Vec2) - Method in class com.almasb.fxgl.physics.PhysicsWorld
-
Converts a point in physics space to a point in pixel space.
- toReadOnly() - Method in class com.almasb.fxgl.settings.GameSettings
-
- toString() - Method in class com.almasb.fxgl.app.FXGLEvent
-
- toString() - Method in class com.almasb.fxgl.entity.component.HealthComponent
-
- toString() - Method in class com.almasb.fxgl.entity.component.IDComponent
-
- toString() - Method in class com.almasb.fxgl.entity.component.PositionComponent
-
- toString() - Method in class com.almasb.fxgl.entity.component.RotationComponent
-
- toString() - Method in class com.almasb.fxgl.entity.component.TypeComponent
-
- toString() - Method in class com.almasb.fxgl.entity.component.ViewComponent
-
- toString() - Method in class com.almasb.fxgl.entity.EntityEvent
-
- toString() - Method in class com.almasb.fxgl.entity.GameEntity
-
- toString() - Method in class com.almasb.fxgl.gameplay.AchievementEvent
-
- toString() - Method in class com.almasb.fxgl.gameplay.AchievementProgressEvent
-
- toString() - Method in class com.almasb.fxgl.gameplay.NotificationEvent
-
- toString() - Method in class com.almasb.fxgl.input.UserAction
-
- toString() - Method in class com.almasb.fxgl.parser.KVFile
-
- toString() - Method in class com.almasb.fxgl.saving.LoadEvent
-
- toString() - Method in class com.almasb.fxgl.saving.SaveEvent
-
- toString() - Method in class com.almasb.fxgl.scene.DisplayEvent
-
- toString() - Method in class com.almasb.fxgl.scene.menu.MenuEvent
-
- toString() - Method in class com.almasb.fxgl.scene.menu.ProfileSelectedEvent
-
- toString() - Method in class com.almasb.fxgl.settings.ReadOnlyGameSettings
-
- toString() - Method in class com.almasb.fxgl.settings.SceneDimension
-
- toString() - Method in class com.almasb.fxgl.texture.Texture
-
- toString() - Method in class com.almasb.fxgl.time.UpdateEvent
-
- toVector(Point2D) - Method in class com.almasb.fxgl.physics.PhysicsWorld
-
Converts a vector of type Point2D to vector of type Vec2
- toVector(Vec2) - Method in class com.almasb.fxgl.physics.PhysicsWorld
-
Converts a vector of type Vec2 to vector of type Point2D
- tpf() - Method in interface com.almasb.fxgl.service.MasterTimer
-
- tpf() - Method in class com.almasb.fxgl.time.UpdateEvent
-
- translate(GameEntity...) - Method in class com.almasb.fxgl.entity.animation.AnimationBuilder
-
- translate(double, double) - Method in class com.almasb.fxgl.entity.component.PositionComponent
-
Translate x and y by given values.
- translate(Point2D) - Method in class com.almasb.fxgl.entity.component.PositionComponent
-
Translate x and y by given vector.
- translate(Point2D) - Method in class com.almasb.fxgl.entity.GameEntity
-
Translate x and y by given vector.
- translate(Vec2) - Method in class com.almasb.fxgl.entity.GameEntity
-
Translate x and y by given vector.
- translate(double, double) - Method in class com.almasb.fxgl.entity.GameEntity
-
Translate x and y by given vector.
- translate(double, double) - Method in class com.almasb.fxgl.physics.HitBox
-
Computes new bounds based on translated X and Y
of an entity.
- translateTowards(Point2D, double) - Method in class com.almasb.fxgl.entity.component.PositionComponent
-
- translateTowards(Point2D, double) - Method in class com.almasb.fxgl.entity.GameEntity
-
- translateX(double) - Method in class com.almasb.fxgl.entity.component.PositionComponent
-
Translate X by given value.
- translateX(double) - Method in class com.almasb.fxgl.entity.GameEntity
-
Translate X by given value.
- translateXFlipped(double, double, double) - Method in class com.almasb.fxgl.physics.HitBox
-
Computes new bounds based on translated X and Y
of an entity with X axis being flipped.
- translateY(double) - Method in class com.almasb.fxgl.entity.component.PositionComponent
-
Translate Y by given value.
- translateY(double) - Method in class com.almasb.fxgl.entity.GameEntity
-
Translate Y by given value.
- TriFunction<T,U,V,R> - Interface in com.almasb.fxgl.util
-
Represents a function that accepts three arguments and produces a result.
- turnOnDebugBBox(boolean) - Method in class com.almasb.fxgl.entity.component.ViewComponent
-
Turn on / off bounding box display.
- type(Enum<?>) - Method in class com.almasb.fxgl.entity.Entities.GameEntityBuilder
-
- type - Variable in class com.almasb.fxgl.scene.FXGLMenu
-
- TypeComponent - Class in com.almasb.fxgl.entity.component
-
Represents an entity type.
- TypeComponent() - Constructor for class com.almasb.fxgl.entity.component.TypeComponent
-
Constructs a component with no type.
- TypeComponent(Serializable) - Constructor for class com.almasb.fxgl.entity.component.TypeComponent
-
Constructs a component with given type.