Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- Activatable - Interface in com.github.hanyaeger.core
-
Implementing
Activatabledenotes the Object can, and usually must, be activated before it can be used. - activate() - Method in class com.github.hanyaeger.api.scenes.DynamicScene
- activate() - Method in class com.github.hanyaeger.api.scenes.StaticScene
- activate() - Method in class com.github.hanyaeger.api.scenes.TileMap
- activate() - Method in interface com.github.hanyaeger.core.Activatable
-
Lifecycle method used to perform activation of this Game Object.
- add(Coordinate2D) - Method in class com.github.hanyaeger.api.Coordinate2D
-
Returns a
Coordinate2Dwith the coordinates of the specified point added to the coordinates of thisCoordinate2D. - add(Point2D) - Method in class com.github.hanyaeger.api.Coordinate2D
- addBoundingBoxVisualizer(BoundingBoxVisualizer) - Method in class com.github.hanyaeger.core.entities.EntityCollection
-
Add a
BoundingBoxVisualizerto thisEntityCollection. - addDynamicEntity(Updatable) - Method in class com.github.hanyaeger.core.entities.EntityCollection
-
Add a Dynamic Entity to this
EntityCollection. - addEntity(int, Class<? extends YaegerEntity>) - Method in class com.github.hanyaeger.api.scenes.TileMap
- addEntity(int, Class<? extends YaegerEntity>, C) - Method in class com.github.hanyaeger.api.scenes.TileMap
- addEntity(YaegerEntity) - Method in class com.github.hanyaeger.api.entities.CompositeEntity
-
Add an
YaegerEntityto thisYaegerScene. - addEntity(YaegerEntity) - Method in class com.github.hanyaeger.api.scenes.StaticScene
-
Add an
YaegerEntityto thisYaegerScene. - addEntity(YaegerEntity, boolean) - Method in class com.github.hanyaeger.api.scenes.ScrollableDynamicScene
-
Add an
YaegerEntityto thisYaegerScene. - addEntitySpawner(EntitySpawner) - Method in interface com.github.hanyaeger.api.EntitySpawnerContainer
-
Use this method to add any
EntitySpawnerthat is required by theYaegerScene. - addRemoveHandler(EventHandler) - Method in class com.github.hanyaeger.core.entities.motion.InitializationBuffer
-
Add a
EventHandlerthat should be registered forEventTypes.REMOVEwhen theNodehas been set. - addScene(int, YaegerScene) - Method in class com.github.hanyaeger.api.YaegerGame
-
Add a
YaegerSceneto the Game. - addScene(int, YaegerScene) - Method in class com.github.hanyaeger.core.SceneCollection
-
Add a
YaegerSceneto the collection ofSceneCollection. - addScene(int, YaegerScene) - Method in class com.github.hanyaeger.core.YaegerStage
-
Add a
YaegerSceneto theYaegerStage. - addSimplePhysics() - Method in interface com.github.hanyaeger.api.entities.Newtonian
-
Return an
Updatablethat applies simple rules of physics on each call toUpdatable.update(long). - addStaticEntity(YaegerEntity) - Method in class com.github.hanyaeger.core.entities.EntityCollection
-
Add a Static Entity to this
EntityCollection. - addStatisticsObserver(StatisticsObserver) - Method in class com.github.hanyaeger.core.entities.EntityCollection
-
Add a
StatisticsObserver. - addTileMap(TileMap) - Method in interface com.github.hanyaeger.api.scenes.TileMapContainer
-
Register an
TileMap. - addTimer(Timer) - Method in interface com.github.hanyaeger.api.TimerContainer
-
Use this method to add any
Timerthat is required by theYaegerSceneorYaegerEntityin which it is instantiated. - addToEntityCollection(EntityCollection) - Method in class com.github.hanyaeger.api.entities.DynamicCompositeEntity
- addToEntityCollection(EntityCollection) - Method in class com.github.hanyaeger.api.entities.impl.DynamicCircleEntity
- addToEntityCollection(EntityCollection) - Method in class com.github.hanyaeger.api.entities.impl.DynamicEllipseEntity
- addToEntityCollection(EntityCollection) - Method in class com.github.hanyaeger.api.entities.impl.DynamicRectangleEntity
- addToEntityCollection(EntityCollection) - Method in class com.github.hanyaeger.api.entities.impl.DynamicSpriteEntity
- addToEntityCollection(EntityCollection) - Method in class com.github.hanyaeger.api.entities.impl.DynamicTextEntity
- addToEntityCollection(EntityCollection) - Method in class com.github.hanyaeger.api.entities.YaegerEntity
- addToMotion(double, double) - Method in class com.github.hanyaeger.core.entities.motion.MotionApplier
- addToMotion(double, double) - Method in interface com.github.hanyaeger.core.entities.motion.MotionModifier
-
Add a given motion to the current motion.
- addToMotion(double, double) - Method in interface com.github.hanyaeger.core.entities.motion.Movable
- addToMotion(double, Direction) - Method in class com.github.hanyaeger.core.entities.motion.MotionApplier
- addToMotion(double, Direction) - Method in interface com.github.hanyaeger.core.entities.motion.MotionModifier
-
Add a given motion to the current motion.
- addToMotion(double, Direction) - Method in interface com.github.hanyaeger.core.entities.motion.Movable
- addToParent(EntityProcessor) - Method in class com.github.hanyaeger.api.entities.CompositeEntity
-
Note that this method will become recursive if the composition consists of more instance of
CompositeEntity. - addToParent(EntityProcessor) - Method in class com.github.hanyaeger.api.entities.YaegerEntity
-
The
Nodeencapsulated by thisYaegerEntityshould be added to a parentNodeto be displayed on the screen and become part of theYaegerScene. - addUpdatable(Updatable) - Method in class com.github.hanyaeger.core.Updater
- addUpdatable(Updatable, boolean) - Method in class com.github.hanyaeger.core.Updater
- Anchorable - Interface in com.github.hanyaeger.core.entities
-
When an
YaegerEntityisAnchorable, it has access to am anchorpoint. - AnchorPoint - Enum Class in com.github.hanyaeger.api
-
An
AnchorPointdenotes the point of anYaegerEntitywhich is being used for placement on the x,y-coordinate. - angleTo(Coordinate2D) - Method in class com.github.hanyaeger.api.Coordinate2D
-
Returns a
doublewith the angle to the specified point of thisCoordinate2D - angleTo(Coordinate2D) - Method in class com.github.hanyaeger.api.entities.YaegerEntity
-
Computes the angle (in degrees) between the unit vector that originates at the
YaegerEntity.getAnchorLocation()of thisYaegerEntityand the vector with its origin at that sameYaegerEntity.getAnchorLocation()that points towards the specifiedCoordinate2D. - angleTo(YaegerEntity) - Method in class com.github.hanyaeger.api.entities.YaegerEntity
-
Computes the angle (in degrees) between the unit vector that originates at the
YaegerEntity.getAnchorLocation()point of thisYaegerEntityand the vector with its origin at that sameYaegerEntity.getAnchorLocation()that points towards theYaegerEntity.getAnchorLocation()of the specifiedYaegerEntity. - Animation - Interface in com.github.hanyaeger.api.entities
-
An
Animationencapsulate an animation that uses only a selection of the frames from a sprite sheet. - AnimationCallback - Interface in com.github.hanyaeger.api.entities
-
When used with an
Animationthat support a callback, this interface should be implemented by the object that supplies the callback-method. - AnimationTimerFactory - Class in com.github.hanyaeger.core.factories.animationtimer
-
An
AnimationTimerFactoryshould be used to create instances of anAnimationTimer. - AnimationTimerFactory() - Constructor for class com.github.hanyaeger.core.factories.animationtimer.AnimationTimerFactory
- AnimationTimerHandler - Interface in com.github.hanyaeger.core.factories.animationtimer
-
A Functional Interface to be used for the default handler of a
AnimationTimer. - AnnotationProcessor - Class in com.github.hanyaeger.core.annotations
-
The
AnnotationProcessoris responsible for processing Yaeger specific annotations. - AnnotationProcessor() - Constructor for class com.github.hanyaeger.core.annotations.AnnotationProcessor
- applyEntityProcessor(EntityProcessor) - Method in class com.github.hanyaeger.api.entities.CompositeEntity
- applyEntityProcessor(EntityProcessor) - Method in class com.github.hanyaeger.api.entities.YaegerEntity
-
Apply an
EntityProcessorto thisYaegerEntity. - applyRotation() - Method in interface com.github.hanyaeger.api.entities.ContinuousRotatable
-
Return an
Updatablethat applies the rotation on eachUpdatable.update(long). - applyTranslationsForAnchorPoint() - Method in class com.github.hanyaeger.api.entities.CompositeEntity
-
At this stage we only ask the children to apply their transformation.
- applyTranslationsForAnchorPoint() - Method in class com.github.hanyaeger.api.entities.YaegerEntity
- applyTranslationsForAnchorPoint() - Method in class com.github.hanyaeger.core.entities.CenteredShapeEntity
- asFirst() - Element in annotation interface com.github.hanyaeger.core.annotations.UpdatableProvider
- attachDragEnteredListener() - Method in interface com.github.hanyaeger.api.userinput.MouseDragEnterListener
- attachDragExitedListener() - Method in interface com.github.hanyaeger.api.userinput.MouseDragExitedListener
- attachDropListener() - Method in interface com.github.hanyaeger.api.userinput.MouseDropListener
- attachEventListener(EventType<T>, EventHandler<T>) - Method in interface com.github.hanyaeger.core.entities.EventInitiator
-
Attach an
EventHandlerfor the givenEventType. - attachEventListener(EventType, EventHandler) - Method in class com.github.hanyaeger.api.entities.CompositeEntity
- attachEventListener(EventType, EventHandler) - Method in class com.github.hanyaeger.api.entities.YaegerEntity
- attachMouseButtonPressedListener() - Method in interface com.github.hanyaeger.api.userinput.MouseButtonPressedListener
-
Attach a mousePressedListener to this
YaegerEntityorYaegerScene. - attachMouseButtonReleasedListener() - Method in interface com.github.hanyaeger.api.userinput.MouseButtonReleasedListener
- attachMouseDraggedListener() - Method in interface com.github.hanyaeger.api.userinput.MouseDraggedListener
- attachMouseEnterListener() - Method in interface com.github.hanyaeger.api.userinput.MouseEnterListener
- attachMouseExitListener() - Method in interface com.github.hanyaeger.api.userinput.MouseExitListener
- attachMouseMovedListener() - Method in interface com.github.hanyaeger.api.userinput.MouseMovedListener
-
Attach a mouse moved Listener to this entity.
- attachMouseMovedWhileDraggedListener() - Method in interface com.github.hanyaeger.api.userinput.MouseMovedWhileDraggingListener
-
Attach a mouse moved while dragged Listener to this entity.
- AudioRepository - Class in com.github.hanyaeger.core.repositories
-
An
AudioRepositoryprovides a central repository for acquiring audio files.
B
- BackgroundAudioMediaPlayer - Class in com.github.hanyaeger.core.media
-
A MediaPlayer for playing background audio.
- BackgroundAudioMediaPlayer() - Constructor for class com.github.hanyaeger.core.media.BackgroundAudioMediaPlayer
- BackgroundDelegate - Class in com.github.hanyaeger.core.scenes.delegates
-
A
BackgroundDelegatefollows the Delegate pattern and embraces Composition over Inheritance. - BackgroundDelegate() - Constructor for class com.github.hanyaeger.core.scenes.delegates.BackgroundDelegate
- BackgroundFactory - Class in com.github.hanyaeger.core.factories
-
A
BackgroundFactorycan be used to create instances ofBackgroundto be used as the background of aPane. - BackgroundFactory() - Constructor for class com.github.hanyaeger.core.factories.BackgroundFactory
- beforeInitialize() - Method in class com.github.hanyaeger.api.entities.CompositeEntity
- beforeInitialize() - Method in interface com.github.hanyaeger.core.Initializable
-
A default method to be used as a lifecycle hook to be called before a
YaegerEntityis initialized and added to theYaegerScene. - BOTTOM - Enum constant in enum class com.github.hanyaeger.api.scenes.SceneBorder
-
The top of the
YaegerScene. - BOTTOM_CENTER - Enum constant in enum class com.github.hanyaeger.api.AnchorPoint
-
Use the bottom-center point of the bounding box as the Anchor Point.
- BOTTOM_LEFT - Enum constant in enum class com.github.hanyaeger.api.AnchorPoint
-
Use the bottom-left corner of the bounding box as the Anchor Point.
- BOTTOM_RIGHT - Enum constant in enum class com.github.hanyaeger.api.AnchorPoint
-
Use the bottom-right corner of the bounding box as the Anchor Point.
- Bounded - Interface in com.github.hanyaeger.core.entities
-
Implementing this interface exposes the
Bounded.getBoundingBox()and method, which returns the bounds, aka Bounding Box, of this Entity. - BufferedMovable - Interface in com.github.hanyaeger.core.entities.motion
-
A
BufferedMovableextends the interfaceMovableand support the use of a buffer.
C
- call() - Method in interface com.github.hanyaeger.api.entities.AnimationCallback
-
Method to be implemented to handle the callback.
- callback() - Method in interface com.github.hanyaeger.api.entities.Animation
-
The
AnimationCallbackis a functional interface the methodAnimationCallback.call(), which will be called after the animation calls the last sprite. - callback() - Method in record class com.github.hanyaeger.api.entities.FiniteAnimationWithCallBack
-
Returns the value of the
callbackrecord component. - callback() - Method in record class com.github.hanyaeger.api.entities.LinkedAnimationWithCallBack
-
Returns the value of the
callbackrecord component. - callEntitySpawners() - Method in interface com.github.hanyaeger.api.EntitySpawnerContainer
-
Call the
Updatable.update(long)of all instances ofEntitySpawnerthat were added to thisEntitySpawnerContainer. - callTimers() - Method in interface com.github.hanyaeger.api.TimerContainer
-
Return an
Updatablethat, when called, call all the timers that were added to thisTimerContainer. - CENTER_CENTER - Enum constant in enum class com.github.hanyaeger.api.AnchorPoint
-
Use the center point of the bounding box as the Anchor Point.
- CENTER_LEFT - Enum constant in enum class com.github.hanyaeger.api.AnchorPoint
-
Use the center-left point of the bounding box as the Anchor Point.
- CENTER_RIGHT - Enum constant in enum class com.github.hanyaeger.api.AnchorPoint
-
Use the center-right point of the bounding box as the Anchor Point.
- CenteredShapeEntity<T> - Class in com.github.hanyaeger.core.entities
-
A
CenteredShapeEntityis a special case of aShapeEntity, based on aShapeof which the center is the reference point when placed on aScene. - CenteredShapeEntity(Coordinate2D) - Constructor for class com.github.hanyaeger.core.entities.CenteredShapeEntity
-
Instantiate a new
CenteredShapeEntityfor the givenCoordinate2D. - changeDirection(double) - Method in class com.github.hanyaeger.core.entities.motion.MotionApplier
- changeDirection(double) - Method in interface com.github.hanyaeger.core.entities.motion.MotionModifier
-
Change the direction by adding a rotation in degrees.
- changeDirection(double) - Method in interface com.github.hanyaeger.core.entities.motion.Movable
- checkCollisions() - Method in class com.github.hanyaeger.core.entities.CollisionDelegate
-
Check for collisions.
- checkForCollisions(List<Collider>) - Method in interface com.github.hanyaeger.api.entities.Collided
- CircleEntity - Class in com.github.hanyaeger.api.entities.impl
-
A
CircleEntityprovides the option to use a drawable Circle as anYaegerEntity. - CircleEntity(Coordinate2D) - Constructor for class com.github.hanyaeger.api.entities.impl.CircleEntity
-
Create a new
CircleEntityon the giveninitialLocation. - clear() - Method in class com.github.hanyaeger.api.scenes.StaticScene
- clear() - Method in interface com.github.hanyaeger.core.Clearable
-
Implement this method and use it to clear the content of this Object.
- clear() - Method in class com.github.hanyaeger.core.entities.EntityCollection
-
Clear this
EntityCollection. - clear() - Method in class com.github.hanyaeger.core.repositories.DragNDropRepository
-
Clear the content of this repository.
- clear() - Method in class com.github.hanyaeger.core.Updater
- Clearable - Interface in com.github.hanyaeger.core
-
Denote that this
Objectcan be cleared. - Collided - Interface in com.github.hanyaeger.api.entities
- Collider - Interface in com.github.hanyaeger.api.entities
- CollisionDelegate - Class in com.github.hanyaeger.core.entities
-
A
CollisionDelegatehandles all behavior related to Object collisions. - CollisionDelegate() - Constructor for class com.github.hanyaeger.core.entities.CollisionDelegate
-
Create a new
CollisionDelegate. - colorAdjust - Variable in class com.github.hanyaeger.core.YaegerGameObject
-
The
ColorAdjust, which is responsible for setting the effects on theNode. - columnEnd() - Method in interface com.github.hanyaeger.api.entities.Animation
-
The column-index of the last sprite to be shown.
- columnEnd() - Method in record class com.github.hanyaeger.api.entities.FiniteAnimation
-
Returns the value of the
columnEndrecord component. - columnEnd() - Method in record class com.github.hanyaeger.api.entities.FiniteAnimationWithCallBack
-
Returns the value of the
columnEndrecord component. - columnEnd() - Method in record class com.github.hanyaeger.api.entities.LinkedAnimation
-
Returns the value of the
columnEndrecord component. - columnEnd() - Method in record class com.github.hanyaeger.api.entities.LinkedAnimationWithCallBack
-
Returns the value of the
columnEndrecord component. - columnEnd() - Method in record class com.github.hanyaeger.api.entities.LoopingAnimation
-
Returns the value of the
columnEndrecord component. - columnStart() - Method in interface com.github.hanyaeger.api.entities.Animation
-
The column-index of the first sprite to be shown.
- columnStart() - Method in record class com.github.hanyaeger.api.entities.FiniteAnimation
-
Returns the value of the
columnStartrecord component. - columnStart() - Method in record class com.github.hanyaeger.api.entities.FiniteAnimationWithCallBack
-
Returns the value of the
columnStartrecord component. - columnStart() - Method in record class com.github.hanyaeger.api.entities.LinkedAnimation
-
Returns the value of the
columnStartrecord component. - columnStart() - Method in record class com.github.hanyaeger.api.entities.LinkedAnimationWithCallBack
-
Returns the value of the
columnStartrecord component. - columnStart() - Method in record class com.github.hanyaeger.api.entities.LoopingAnimation
-
Returns the value of the
columnStartrecord component. - com.github.hanyaeger.api - package com.github.hanyaeger.api
-
Classes and packages that are part of the public API of Yaeger.
- com.github.hanyaeger.api.entities - package com.github.hanyaeger.api.entities
-
All classes, interfaces and enumerations that are related to entities and their behaviour.
- com.github.hanyaeger.api.entities.impl - package com.github.hanyaeger.api.entities.impl
-
All (abstract) implementations of
YaegerEntitythat can be used on aYaegerScene. - com.github.hanyaeger.api.media - package com.github.hanyaeger.api.media
-
Classes required for creating media objects.
- com.github.hanyaeger.api.scenes - package com.github.hanyaeger.api.scenes
-
All classes, interfaces and enumerations that are related to scenes.
- com.github.hanyaeger.api.userinput - package com.github.hanyaeger.api.userinput
-
All interfaces that enable an instance of
YaegerEntity,YaegerSceneor both to receive user input. - com.github.hanyaeger.core - package com.github.hanyaeger.core
- com.github.hanyaeger.core.annotations - package com.github.hanyaeger.core.annotations
- com.github.hanyaeger.core.entities - package com.github.hanyaeger.core.entities
- com.github.hanyaeger.core.entities.motion - package com.github.hanyaeger.core.entities.motion
- com.github.hanyaeger.core.factories - package com.github.hanyaeger.core.factories
- com.github.hanyaeger.core.factories.animationtimer - package com.github.hanyaeger.core.factories.animationtimer
- com.github.hanyaeger.core.factories.debug - package com.github.hanyaeger.core.factories.debug
- com.github.hanyaeger.core.factories.image - package com.github.hanyaeger.core.factories.image
- com.github.hanyaeger.core.media - package com.github.hanyaeger.core.media
- com.github.hanyaeger.core.repositories - package com.github.hanyaeger.core.repositories
- com.github.hanyaeger.core.scenes.delegates - package com.github.hanyaeger.core.scenes.delegates
- com.github.hanyaeger.core.scenes.splash - package com.github.hanyaeger.core.scenes.splash
- CompositeEntity - Class in com.github.hanyaeger.api.entities
-
When a group of entities is combined to create a single
YaegerEntity, they are a composition and this class should be used to perform that composition. - CompositeEntity(Coordinate2D) - Constructor for class com.github.hanyaeger.api.entities.CompositeEntity
-
Create a new
CompositeEntityon the giveninitialLocation. - configureUpdateDelegators(Object) - Method in class com.github.hanyaeger.core.annotations.AnnotationProcessor
-
When calling this method, the
Objectprovided als its parameter will be scanned for the annotationUpdatableProvider, if theObjectis anUpdateDelegator. - ContinuousRotatable - Interface in com.github.hanyaeger.api.entities
-
When implementing this Interface, a
YaegerEntitywill acquire the behaviour to perform a rotation on each Game World update, and thus give the illusion of a continuous rotation. - Coordinate2D - Class in com.github.hanyaeger.api
-
A
Coordinate2Dis a 2D geometric point that represents a pair of coordinates. - Coordinate2D() - Constructor for class com.github.hanyaeger.api.Coordinate2D
-
Creates a new instance of
Coordinate2Dat (0,0). - Coordinate2D(double, double) - Constructor for class com.github.hanyaeger.api.Coordinate2D
-
Creates a new instance of
Coordinate2D. - Coordinate2D(Point2D) - Constructor for class com.github.hanyaeger.api.Coordinate2D
-
Creates a new instance of a
Coordinate2D. - CoordinateGridDelegate - Class in com.github.hanyaeger.core.scenes.delegates
-
A
CoordinateGridDelegatefollows the Delegate pattern and embraces Composition over Inheritance. - CoordinateGridDelegate() - Constructor for class com.github.hanyaeger.core.scenes.delegates.CoordinateGridDelegate
- create() - Method in class com.github.hanyaeger.core.factories.debug.DebugGridPaneFactory
-
Construct a new
GridPanethat can be used by theDebugger. - create(EntityConfiguration<C>, Coordinate2D, Size) - Method in class com.github.hanyaeger.core.factories.TileFactory
-
Create an instance of
YaegerEntitywith anEntityConfigurationof the given typeTileFactorywith the given parameters. - create(AnimationTimerHandler, boolean) - Method in class com.github.hanyaeger.core.factories.animationtimer.AnimationTimerFactory
-
Create an
AnimationTimerwith the given handler. - create(YaegerConfig) - Method in class com.github.hanyaeger.core.factories.EntityCollectionFactory
-
Create a
EntityCollection. - create(Class<? extends YaegerEntity>, Coordinate2D, Size) - Method in class com.github.hanyaeger.core.factories.TileFactory
-
Create an instance of
YaegerEntitywith the given parameters. - create(Runnable) - Method in class com.github.hanyaeger.core.scenes.splash.SplashScreenFactory
-
Create an instance of
SplashScene. - create(String) - Method in class com.github.hanyaeger.core.factories.image.ImageFactory
-
Constructs an
Imagewith content loaded from the specified url. - create(String, double, double, boolean) - Method in class com.github.hanyaeger.core.factories.image.ImageFactory
-
Construct a new
Imagewith the specified parameters. - create(Image) - Method in class com.github.hanyaeger.core.factories.image.ImageViewFactory
-
Constructs an
ImageViewfor the givenImage. - create(ImageView, int, int) - Method in class com.github.hanyaeger.core.factories.image.SpriteAnimationDelegateFactory
-
Create a new
SpriteAnimationDelegatefor the givenImageViewand number of rows and columns. - create(Pane) - Method in class com.github.hanyaeger.core.factories.EntitySupplierFactory
-
Create an instance of
EntitySupplierwith the givenPane. - create(Parent) - Method in class com.github.hanyaeger.core.factories.SceneFactory
-
Create a
Scene. - create(Stage, YaegerConfig) - Method in class com.github.hanyaeger.core.factories.SceneCollectionFactory
-
Create a
SceneCollection. - createEmptyForSize(Size) - Method in class com.github.hanyaeger.core.factories.SceneFactory
-
Create an empty
Scenewith the givenSize - createFillBackground(Color) - Method in class com.github.hanyaeger.core.factories.BackgroundFactory
-
Create a
Backgroundwith the specified fillColor. - createImageBackground(Image, boolean) - Method in class com.github.hanyaeger.core.factories.BackgroundFactory
-
Create a
Backgroundwith the specified image. - createLabel(String) - Method in class com.github.hanyaeger.core.factories.debug.DebugLabelFactory
-
Instantiate a new
DebugLabelFactorywithout any text value shown. - createLine(double, double, double, double, double, Color) - Method in class com.github.hanyaeger.core.factories.LineFactory
- createMedia(String) - Static method in class com.github.hanyaeger.core.factories.MediaFactory
-
Constructs
Mediawith content loaded from the specified url. - createMediaPlayer(Media) - Static method in class com.github.hanyaeger.core.factories.MediaFactory
-
Construct a new
Imagewith the specified parameters. - createPane() - Method in class com.github.hanyaeger.core.factories.PaneFactory
-
Return an instance of
Pane. - createPathForResource(String) - Method in interface com.github.hanyaeger.core.ResourceConsumer
-
Returns the absolute path for a given
Resource. - createScrollPane() - Method in class com.github.hanyaeger.core.factories.PaneFactory
-
Return an instance of
ScrollPane. - createStackPane() - Method in class com.github.hanyaeger.core.factories.PaneFactory
-
Return an instance of
StackPane. - createText(String, Color) - Method in class com.github.hanyaeger.core.factories.TextFactory
- createTimeableAnimationTimer(TimeableAnimationTimerHandler, long) - Method in class com.github.hanyaeger.core.factories.animationtimer.AnimationTimerFactory
-
Create an
AnimationTimerwith the given handler for the given interval. - createValue() - Method in class com.github.hanyaeger.core.factories.debug.DebugLabelFactory
-
Create a
Labelthat can be used to display a value on theDebugger. - createValue(String) - Method in class com.github.hanyaeger.core.factories.debug.DebugLabelFactory
-
Create a
Labelthat can be used to display a value on theDebugger. - CustomFont - Record Class in com.github.hanyaeger.api.entities.impl
-
Although many fonts are already available through the underlying technology JavaFX, it is also possible to use custom fonts.
- CustomFont(String, double) - Constructor for record class com.github.hanyaeger.api.entities.impl.CustomFont
-
Create a new Custom Font for the given font file.
- cycleTimeInMs() - Method in interface com.github.hanyaeger.api.entities.Animation
-
The interval for sprite cycling that will be used when playing this
Animation. - cycleTimeInMs() - Method in record class com.github.hanyaeger.api.entities.FiniteAnimation
-
Returns the value of the
cycleTimeInMsrecord component. - cycleTimeInMs() - Method in record class com.github.hanyaeger.api.entities.FiniteAnimationWithCallBack
-
Returns the value of the
cycleTimeInMsrecord component. - cycleTimeInMs() - Method in record class com.github.hanyaeger.api.entities.LinkedAnimation
-
Returns the value of the
cycleTimeInMsrecord component. - cycleTimeInMs() - Method in record class com.github.hanyaeger.api.entities.LinkedAnimationWithCallBack
-
Returns the value of the
cycleTimeInMsrecord component. - cycleTimeInMs() - Method in record class com.github.hanyaeger.api.entities.LoopingAnimation
-
Returns the value of the
cycleTimeInMsrecord component.
D
- Debugger - Class in com.github.hanyaeger.core.entities
-
The
Debuggeris used to gather and show in-game debug information. - Debugger() - Constructor for class com.github.hanyaeger.core.entities.Debugger
- DebugGridPaneFactory - Class in com.github.hanyaeger.core.factories.debug
- DebugGridPaneFactory() - Constructor for class com.github.hanyaeger.core.factories.debug.DebugGridPaneFactory
- DebugLabelFactory - Class in com.github.hanyaeger.core.factories.debug
-
A value shown in the
Debugger. - DebugLabelFactory() - Constructor for class com.github.hanyaeger.core.factories.debug.DebugLabelFactory
- DEFAULT_AUTOCYCLE_INTERVAL - Static variable in interface com.github.hanyaeger.api.entities.Animation
-
The default interval for sprite cycling that will be used if none is set.
- DEFAULT_FRICTION_CONSTANT - Static variable in class com.github.hanyaeger.core.entities.motion.MotionApplier
-
The default value to be used for the Friction constant, if none are set.
- DEFAULT_GAME_DIMENSIONS - Static variable in class com.github.hanyaeger.api.YaegerGame
-
As an ode to the old days, the default dimensions of a Yaeger Game is 640x480px.
- DEFAULT_GRAVITATIONAL_CONSTANT - Static variable in class com.github.hanyaeger.core.entities.motion.MotionApplier
-
The default value to be used for the Gravitational constant, if none are set.
- DEFAULT_GRAVITATIONAL_DIRECTION - Static variable in class com.github.hanyaeger.core.entities.motion.MotionApplier
-
The default value to be used for the Gravitational direction, if none are set.
- defineMap() - Method in class com.github.hanyaeger.api.scenes.TileMap
-
The lifecycle method
defineMap()should be used to define the map that should be used. - DependencyInjector - Interface in com.github.hanyaeger.core
-
Implementing this interface states that this Object requires injection of dependencies.
- destroy() - Method in class com.github.hanyaeger.api.scenes.DynamicScene
- destroy() - Method in class com.github.hanyaeger.api.scenes.StaticScene
- destroy() - Method in interface com.github.hanyaeger.core.Destroyable
-
Implement this method and use it to ensure that the maximum number of Objects are eligible for Garbage Collection after this method has been called.
- destroy() - Method in class com.github.hanyaeger.core.media.BackgroundAudioMediaPlayer
- destroy() - Method in class com.github.hanyaeger.core.repositories.AudioRepository
- destroy() - Method in class com.github.hanyaeger.core.repositories.ImageRepository
- destroy() - Method in class com.github.hanyaeger.core.scenes.delegates.BackgroundDelegate
- destroy() - Method in class com.github.hanyaeger.core.scenes.delegates.CoordinateGridDelegate
- Destroyable - Interface in com.github.hanyaeger.core
-
Denote that this
Objectis Destroyable and hence ensures maximum Objects eligible for Garbage Collection. - Direction - Enum Class in com.github.hanyaeger.api.entities
-
Convenience enum for setting the
Direction. - DirectionProvider - Interface in com.github.hanyaeger.core.entities.motion
-
A
DirectionProviderexposes a method to acquire the direction. - distanceTo(Coordinate2D) - Method in class com.github.hanyaeger.api.entities.YaegerEntity
- distanceTo(YaegerEntity) - Method in class com.github.hanyaeger.api.entities.YaegerEntity
-
Calculates the distance to a given
YaegerEntity. - divide(Coordinate2D) - Method in class com.github.hanyaeger.api.Coordinate2D
-
Return a
Coordinate2Dwith the coordinates of the specified point divided by the coordinates of thisCoordinate2D. - DOWN - Enum constant in enum class com.github.hanyaeger.api.entities.Direction
-
The downward direction, of which the numeric value is 0 degrees.
- DOWN_LEFT - Enum constant in enum class com.github.hanyaeger.api.entities.Direction
-
The diagonal direction to the left down, of which the numeric value is 315 degrees.
- DOWN_RIGHT - Enum constant in enum class com.github.hanyaeger.api.entities.Direction
-
The diagonal direction to the right down, of which the numeric value is 45 degrees.
- DragNDropRepository - Class in com.github.hanyaeger.core.repositories
-
The
DragNDropRepositoryis responsible for storing the Object that is currently being dragged. - DragNDropRepository() - Constructor for class com.github.hanyaeger.core.repositories.DragNDropRepository
- DragRepositoryAccessor - Interface in com.github.hanyaeger.core.entities
-
A
DragRepositoryAccessorneeds access to aDragNDropRepositoryto either set or get information about the object that is currently being dragged/dropped. - DynamicCircleEntity - Class in com.github.hanyaeger.api.entities.impl
-
An
DynamicCircleEntityextends all behaviour of aCircleEntity, but also implements theUpdatableInterface. - DynamicCircleEntity(Coordinate2D) - Constructor for class com.github.hanyaeger.api.entities.impl.DynamicCircleEntity
-
Create a new
DynamicCircleEntityon the giveninitialLocation. - DynamicCompositeEntity - Class in com.github.hanyaeger.api.entities
-
When a group of entities is combined to create a single entity, they are a composition and this class should be used to perform that composition.
- DynamicCompositeEntity(Coordinate2D) - Constructor for class com.github.hanyaeger.api.entities.DynamicCompositeEntity
-
Create a new
DynamicCompositeEntityon the giveninitialLocation. - DynamicEllipseEntity - Class in com.github.hanyaeger.api.entities.impl
-
An
DynamicEllipseEntityextends all behaviour of aEllipseEntity, but also implements theUpdatableInterface. - DynamicEllipseEntity(Coordinate2D) - Constructor for class com.github.hanyaeger.api.entities.impl.DynamicEllipseEntity
-
Create a new
DynamicEllipseEntityon the giveninitialLocation. - DynamicEllipseEntity(Coordinate2D, Size) - Constructor for class com.github.hanyaeger.api.entities.impl.DynamicEllipseEntity
- DynamicRectangleEntity - Class in com.github.hanyaeger.api.entities.impl
-
An
DynamicRectangleEntityextends all behaviour of aRectangleEntity, but also implements theUpdatableInterface. - DynamicRectangleEntity(Coordinate2D) - Constructor for class com.github.hanyaeger.api.entities.impl.DynamicRectangleEntity
-
Create a new
DynamicRectangleEntityon the giveninitialLocation. - DynamicRectangleEntity(Coordinate2D, Size) - Constructor for class com.github.hanyaeger.api.entities.impl.DynamicRectangleEntity
- DynamicScene - Class in com.github.hanyaeger.api.scenes
-
A
DynamicSceneextends aStaticScene, but adds a Game World Update (GWU). - DynamicScene() - Constructor for class com.github.hanyaeger.api.scenes.DynamicScene
- DynamicSpriteEntity - Class in com.github.hanyaeger.api.entities.impl
-
A
DynamicSpriteEntityextends all behaviour of aSpriteEntity, but also implements theUpdatableInterface. - DynamicSpriteEntity(String, Coordinate2D) - Constructor for class com.github.hanyaeger.api.entities.impl.DynamicSpriteEntity
-
Create a new
DynamicSpriteEntityfor the given image resource on the giveninitialLocation. - DynamicSpriteEntity(String, Coordinate2D, int, int) - Constructor for class com.github.hanyaeger.api.entities.impl.DynamicSpriteEntity
-
Create a new
DynamicSpriteEntityfor the given image resource on the givenCoordinate2D. - DynamicSpriteEntity(String, Coordinate2D, Size) - Constructor for class com.github.hanyaeger.api.entities.impl.DynamicSpriteEntity
-
Create a new
DynamicSpriteEntityfor the given image resource on the givenCoordinate2D, with the givenSize. - DynamicSpriteEntity(String, Coordinate2D, Size, int, int) - Constructor for class com.github.hanyaeger.api.entities.impl.DynamicSpriteEntity
-
Create a new
DynamicSpriteEntityfor the given image resource on the givenCoordinate2D, with the givenSize. - DynamicTextEntity - Class in com.github.hanyaeger.api.entities.impl
-
An
DynamicTextEntityextends all behaviour of aTextEntity, but also implements theUpdatableInterface. - DynamicTextEntity(Coordinate2D) - Constructor for class com.github.hanyaeger.api.entities.impl.DynamicTextEntity
-
Instantiate a new
DynamicTextEntityfor the giveninitialLocation. - DynamicTextEntity(Coordinate2D, String) - Constructor for class com.github.hanyaeger.api.entities.impl.DynamicTextEntity
-
Instantiate a new
DynamicTextEntityfor the givenPoint2Dand textDelegate.
E
- Effectable - Interface in com.github.hanyaeger.core
-
By implementing the interface
Effectable, it is possible to apply various effects on both aYaegerSceneand aYaegerEntity. - EllipseEntity - Class in com.github.hanyaeger.api.entities.impl
-
An
EllipseEntityprovides the option to use a drawable Ellipse as aYaegerEntity. - EllipseEntity(Coordinate2D) - Constructor for class com.github.hanyaeger.api.entities.impl.EllipseEntity
-
Create a new
EllipseEntityon the giveninitialLocation. - EllipseEntity(Coordinate2D, Size) - Constructor for class com.github.hanyaeger.api.entities.impl.EllipseEntity
- enableScroll() - Method in record class com.github.hanyaeger.core.YaegerConfig
-
Returns the value of the
enableScrollrecord component. - EntityCollection - Class in com.github.hanyaeger.core.entities
-
An
EntityCollectionencapsulates all behaviour related to all instances ofYaegerEntitythat are part of aYaegerScene. - EntityCollection(YaegerConfig) - Constructor for class com.github.hanyaeger.core.entities.EntityCollection
- EntityCollectionFactory - Class in com.github.hanyaeger.core.factories
-
A
EntityCollectionFactoryshould be used to create instances ofEntityCollection. - EntityCollectionFactory() - Constructor for class com.github.hanyaeger.core.factories.EntityCollectionFactory
- entityCollectionUpdatable() - Method in class com.github.hanyaeger.api.scenes.DynamicScene
- EntityConfiguration<C> - Class in com.github.hanyaeger.core.entities
-
A wrapper class that allows entities to be configured using a generic configuration object.
- EntityConfiguration(Class<? extends YaegerEntity>) - Constructor for class com.github.hanyaeger.core.entities.EntityConfiguration
-
Create a new
EntityConfigurationfor the givenClass. - EntityConfiguration(Class<? extends YaegerEntity>, C) - Constructor for class com.github.hanyaeger.core.entities.EntityConfiguration
- EntityMotionInitBuffer - Class in com.github.hanyaeger.core.entities.motion
-
An
EntityMotionInitBufferis used to support the option to set the speed, direction and physics related properties of anYaegerEntityfrom theconstructor. - EntityMotionInitBuffer() - Constructor for class com.github.hanyaeger.core.entities.motion.EntityMotionInitBuffer
- EntityProcessor - Interface in com.github.hanyaeger.core.entities
-
When a
YaegerEntityneeds to be processed, in general meaning it should be passed as a parameter to a specific method, this functional interface can be used as the basis for a Lambda expression. - EntitySpawner - Class in com.github.hanyaeger.api.entities
-
An
EntitySpawneris the abstract superclass that should be extended to create an object that spawns a subclass ofYaegerEntity. - EntitySpawner(long) - Constructor for class com.github.hanyaeger.api.entities.EntitySpawner
-
Create a new instance of
EntitySpawnerfor the given interval in milliseconds. - EntitySpawnerContainer - Interface in com.github.hanyaeger.api
- EntitySupplier - Class in com.github.hanyaeger.core.entities
- EntitySupplier() - Constructor for class com.github.hanyaeger.core.entities.EntitySupplier
- EntitySupplierFactory - Class in com.github.hanyaeger.core.factories
-
An
EntitySupplierFactoryis responsible for creating instances ofEntitySupplier. - EntitySupplierFactory() - Constructor for class com.github.hanyaeger.core.factories.EntitySupplierFactory
- equals(Object) - Method in record class com.github.hanyaeger.api.entities.FiniteAnimation
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.github.hanyaeger.api.entities.FiniteAnimationWithCallBack
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.github.hanyaeger.api.entities.impl.CustomFont
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.github.hanyaeger.api.entities.LinkedAnimation
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.github.hanyaeger.api.entities.LinkedAnimationWithCallBack
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.github.hanyaeger.api.entities.LoopingAnimation
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class com.github.hanyaeger.api.scenes.TileMap
- equals(Object) - Method in record class com.github.hanyaeger.api.Size
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class com.github.hanyaeger.core.entities.EntitySupplier
- equals(Object) - Method in class com.github.hanyaeger.core.SceneCollection
- equals(Object) - Method in record class com.github.hanyaeger.core.YaegerConfig
-
Indicates whether some other object is "equal to" this one.
- EventInitiator<T> - Interface in com.github.hanyaeger.core.entities
-
By implementing the interface
EventInitiatorit is possible to register anEventHandlerfor a givenEventType. - EXCEPTION_X_Y_IS_0 - Static variable in class com.github.hanyaeger.api.Coordinate2D
-
The message as to be shown in case a
IllegalArgumentExceptionoccurs as the result of some methods from this class. - explicitUpdate(long) - Method in interface com.github.hanyaeger.api.UpdateExposer
-
An explicit update that can be used from either a
YaegerEntityor aYaegerScene. - exposedUpdate() - Method in interface com.github.hanyaeger.api.UpdateExposer
-
Delegates the
Updatable.update(long)to theUpdateExposer.explicitUpdate(long).
F
- FadeInTimer - Class in com.github.hanyaeger.core.scenes.splash
-
A
Timerthat is to be used for creating the fade-in effect of theSplashScene. - FadeInTimer(YaegerScene) - Constructor for class com.github.hanyaeger.core.scenes.splash.FadeInTimer
-
Create a new instance of
FadeInTimer. - FiniteAnimation - Record Class in com.github.hanyaeger.api.entities
- FiniteAnimation(int, int, int, int) - Constructor for record class com.github.hanyaeger.api.entities.FiniteAnimation
-
Create a new instance of
LinkedAnimation - FiniteAnimation(int, int, int, int, long) - Constructor for record class com.github.hanyaeger.api.entities.FiniteAnimation
-
Creates an instance of a
FiniteAnimationrecord class. - FiniteAnimationWithCallBack - Record Class in com.github.hanyaeger.api.entities
- FiniteAnimationWithCallBack(int, int, int, int, long, AnimationCallback) - Constructor for record class com.github.hanyaeger.api.entities.FiniteAnimationWithCallBack
-
Creates an instance of a
FiniteAnimationWithCallBackrecord class. - FiniteAnimationWithCallBack(int, int, int, int, AnimationCallback) - Constructor for record class com.github.hanyaeger.api.entities.FiniteAnimationWithCallBack
-
Create a new instance of
FiniteAnimationWithCallBack
G
- GameNode - Interface in com.github.hanyaeger.core.entities
-
Being a
GameNodeguarantees that aNode, if set, is accessible. - get() - Method in class com.github.hanyaeger.core.entities.EntitySupplier
-
Return a
Listof instances ofYaegerEntity. - get() - Method in class com.github.hanyaeger.core.entities.motion.MotionApplier
-
Return the current transformation.
- get(String) - Method in class com.github.hanyaeger.core.repositories.AudioRepository
-
Return a
AudioClipfor the given [@code audiofile]. - get(String) - Method in class com.github.hanyaeger.core.repositories.ImageRepository
-
Return an
Imagewith content loaded from the specified url. - get(String, double, double, boolean) - Method in class com.github.hanyaeger.core.repositories.ImageRepository
-
Construct a new
Imagewith the specified parameters. - get(String, int) - Method in class com.github.hanyaeger.core.repositories.AudioRepository
-
Return a
AudioClipfor the given [@code audiofile] andcycleCount. - getActiveScene() - Method in class com.github.hanyaeger.core.SceneCollection
-
Return the
YaegerScenecurrently active. - getAnchorLocation() - Method in class com.github.hanyaeger.api.entities.YaegerEntity
- getAnchorLocation() - Method in interface com.github.hanyaeger.core.entities.Placeable
-
Return the
Coordinate2Dwhere theAnchorPointof thisYaegerEntityis placed, within theYaegerScene. - getAnchorPoint() - Method in class com.github.hanyaeger.api.entities.YaegerEntity
- getAnchorPoint() - Method in class com.github.hanyaeger.api.scenes.TileMap
- getAnchorPoint() - Method in interface com.github.hanyaeger.core.entities.Anchorable
-
Return the
AnchorPointof thisPlaceable. - getArcHeight() - Method in class com.github.hanyaeger.api.entities.impl.RectangleEntity
-
Return the
arcHeightof thisRectangleEntity. - getArcWidth() - Method in class com.github.hanyaeger.api.entities.impl.RectangleEntity
-
Return the
arcWidthof thisRectangleEntity. - getAutoCycleInterval() - Method in class com.github.hanyaeger.core.entities.SpriteAnimationDelegate
-
Return the current auto-cycle interval
- getAutoCycleRow() - Method in class com.github.hanyaeger.api.entities.impl.DynamicSpriteEntity
-
Return the row that is currently set as the only row to cycle through.
- getBackgroundAudioVolume() - Method in class com.github.hanyaeger.api.scenes.StaticScene
- getBackgroundAudioVolume() - Method in interface com.github.hanyaeger.api.scenes.YaegerScene
-
Return the playback volume of the background audio.
- getBackgroundAudioVolume() - Method in class com.github.hanyaeger.api.YaegerGame
-
Return the playback volume of the background audio.
- getBoundingBox() - Method in interface com.github.hanyaeger.core.entities.Bounded
-
Return the
Bounds(Bounding Box) within theYaegerSceneafter all transformations have been applied. - getBrightness() - Method in interface com.github.hanyaeger.core.Effectable
-
Return the brightness level of this
YaegerSceneorYaegerEntity. - getBrightness() - Method in class com.github.hanyaeger.core.YaegerGameObject
- getBuffer() - Method in class com.github.hanyaeger.api.entities.DynamicCompositeEntity
- getBuffer() - Method in class com.github.hanyaeger.api.entities.impl.DynamicCircleEntity
- getBuffer() - Method in class com.github.hanyaeger.api.entities.impl.DynamicEllipseEntity
- getBuffer() - Method in class com.github.hanyaeger.api.entities.impl.DynamicRectangleEntity
- getBuffer() - Method in class com.github.hanyaeger.api.entities.impl.DynamicSpriteEntity
- getBuffer() - Method in class com.github.hanyaeger.api.entities.impl.DynamicTextEntity
- getBuffer() - Method in interface com.github.hanyaeger.core.entities.motion.BufferedMovable
- getConfiguration() - Method in class com.github.hanyaeger.core.entities.EntityConfiguration
-
Return the configuration (of type
EntityConfiguration) that should be applied to theClass. - getContrast() - Method in interface com.github.hanyaeger.core.Effectable
-
Return the contrast level of this
YaegerSceneorYaegerEntity. - getContrast() - Method in class com.github.hanyaeger.core.YaegerGameObject
- getCurrentAnimation() - Method in class com.github.hanyaeger.api.entities.impl.DynamicSpriteEntity
-
Return the
Animationthat is currently being played. - getCurrentAnimation() - Method in class com.github.hanyaeger.core.entities.SpriteAnimationDelegate
-
Return the
Animationthat is currently being played. - getCurrentFrameIndex() - Method in class com.github.hanyaeger.api.entities.impl.SpriteEntity
-
Return the current index of the sprite.
- getCursor() - Method in class com.github.hanyaeger.api.entities.YaegerEntity
-
Return the
Cursorthat is currently being used. - getCyclingRow() - Method in class com.github.hanyaeger.core.entities.SpriteAnimationDelegate
-
Return the row that is currently set as the only row to cycle through.
- getDirection() - Method in interface com.github.hanyaeger.core.entities.motion.DirectionProvider
-
Get the direction in which the
YaegerEntityis moving, in degrees. - getDirection() - Method in class com.github.hanyaeger.core.entities.motion.MotionApplier
- getDirection() - Method in interface com.github.hanyaeger.core.entities.motion.Movable
- getDraggedObject() - Method in class com.github.hanyaeger.core.repositories.DragNDropRepository
-
Get the Object that is currently being dragged.
- getDragNDropRepository() - Method in class com.github.hanyaeger.api.entities.YaegerEntity
- getDragNDropRepository() - Method in class com.github.hanyaeger.api.scenes.StaticScene
- getDragNDropRepository() - Method in interface com.github.hanyaeger.core.entities.DragRepositoryAccessor
-
Return the
DragNDropRepositorythat was set on thisDragRepositoryAccessor. - getEntityClass() - Method in class com.github.hanyaeger.core.entities.EntityConfiguration
-
Return the
Classof theYaegerEntity. - getEntityCollection() - Method in class com.github.hanyaeger.api.scenes.StaticScene
- getEntitySupplier() - Method in class com.github.hanyaeger.api.scenes.StaticScene
- getFill() - Method in class com.github.hanyaeger.core.entities.ShapeEntity
-
Return the
fillused for thisShapeEntity. - getFont() - Method in class com.github.hanyaeger.api.entities.impl.TextEntity
-
Return the
Fontcurrently used fot thisTextEntity. - getFrameIndex() - Method in class com.github.hanyaeger.core.entities.SpriteAnimationDelegate
-
Return the current index of the sprite.
- getFrames() - Method in class com.github.hanyaeger.api.entities.impl.SpriteEntity
-
Return the number of frames comprising this
SpriteEntity. - getFrictionConstant() - Method in interface com.github.hanyaeger.api.entities.Newtonian
- getFrictionConstant() - Method in class com.github.hanyaeger.core.entities.motion.MotionApplier
- getFrictionConstant() - Method in interface com.github.hanyaeger.core.entities.motion.NewtonianModifier
-
Return the friction constant used.
- getGravityConstant() - Method in interface com.github.hanyaeger.api.entities.Newtonian
- getGravityConstant() - Method in class com.github.hanyaeger.core.entities.motion.MotionApplier
- getGravityConstant() - Method in interface com.github.hanyaeger.core.entities.motion.NewtonianModifier
-
Return the gravitational constant used.
- getGravityDirection() - Method in interface com.github.hanyaeger.api.entities.Newtonian
- getGravityDirection() - Method in class com.github.hanyaeger.core.entities.motion.MotionApplier
- getGravityDirection() - Method in interface com.github.hanyaeger.core.entities.motion.NewtonianModifier
-
Return the gravitational direction used.
- getHeight() - Method in class com.github.hanyaeger.api.entities.impl.RectangleEntity
- getHeight() - Method in class com.github.hanyaeger.api.scenes.ScrollableDynamicScene
-
Return the height of the complete scene.
- getHeight() - Method in interface com.github.hanyaeger.api.scenes.YaegerScene
-
Return the height of this
YaegerScene. - getHeight() - Method in interface com.github.hanyaeger.core.entities.Bounded
- getHorizontalRelativeScrollPosition() - Method in class com.github.hanyaeger.api.scenes.ScrollableDynamicScene
-
Return the current horizontal scroll position of the viewport.
- getHue() - Method in interface com.github.hanyaeger.core.Effectable
-
Return the contrast level of this
YaegerSceneorYaegerEntity. - getHue() - Method in class com.github.hanyaeger.core.YaegerGameObject
- getInitializationBuffer() - Method in interface com.github.hanyaeger.api.entities.Rotatable
-
Return an instance of
InitializationBufferto be used whenever aNodeis unavailable to apply the rotation. - getInitializationBuffer() - Method in class com.github.hanyaeger.api.entities.YaegerEntity
- getInjector() - Method in class com.github.hanyaeger.api.scenes.StaticScene
- getInjector() - Method in interface com.github.hanyaeger.core.DependencyInjector
-
Return an
Injectorthat can be used to inject dependencies into thisObject. - getInstance() - Static method in class com.github.hanyaeger.core.repositories.AudioRepository
-
Return a singleton instance of this
AudioRepository. - getInstanceMap() - Method in class com.github.hanyaeger.api.scenes.TileMap
-
Return a two-dimensional array of instances of
YaegerEntitythat contains the instances created by thisTileMap. - getIntervalInMs() - Method in class com.github.hanyaeger.api.Timer
-
Return the interval in ms that is being used by this
Timer. - getLocationInScene() - Method in class com.github.hanyaeger.api.entities.YaegerEntity
-
Calculate the absolute location of this
YaegerEntityin the scene. - getMotionApplier() - Method in class com.github.hanyaeger.api.entities.DynamicCompositeEntity
- getMotionApplier() - Method in class com.github.hanyaeger.api.entities.impl.DynamicCircleEntity
- getMotionApplier() - Method in class com.github.hanyaeger.api.entities.impl.DynamicEllipseEntity
- getMotionApplier() - Method in class com.github.hanyaeger.api.entities.impl.DynamicRectangleEntity
- getMotionApplier() - Method in class com.github.hanyaeger.api.entities.impl.DynamicSpriteEntity
- getMotionApplier() - Method in class com.github.hanyaeger.api.entities.impl.DynamicTextEntity
- getMotionApplier() - Method in interface com.github.hanyaeger.core.entities.motion.BufferedMovable
-
Return the
MotionApplierto be used by thisBufferedMovable. - getMotionApplier() - Method in interface com.github.hanyaeger.core.entities.motion.Movable
-
Return the
MotionApplierthat should be used. - getNamedAnimations() - Method in interface com.github.hanyaeger.core.entities.NamedAnimationListProvider
-
Return the
ListofFiniteAnimationinstances. - getNode() - Method in class com.github.hanyaeger.api.entities.CompositeEntity
- getNode() - Method in class com.github.hanyaeger.api.entities.impl.SpriteEntity
- getNode() - Method in class com.github.hanyaeger.api.scenes.StaticScene
- getNode() - Method in interface com.github.hanyaeger.core.entities.GameNode
- getNode() - Method in class com.github.hanyaeger.core.entities.ShapeEntity
- getOpacity() - Method in class com.github.hanyaeger.api.entities.YaegerEntity
-
Return the opacity of this
YaegerEntity, meaning how opaque (that is, solid) theYaegerEntityappears. - getPane() - Method in class com.github.hanyaeger.core.entities.EntitySupplier
- getRadius() - Method in class com.github.hanyaeger.api.entities.impl.CircleEntity
-
Return the
radiusof thisCircleEntity. - getRadiusX() - Method in class com.github.hanyaeger.api.entities.impl.EllipseEntity
-
Return the horizontal
radiusof thisEllipseEntity. - getRadiusY() - Method in class com.github.hanyaeger.api.entities.impl.EllipseEntity
-
Return the vertical
radiusof thisCircleEntity. - getRemoveHandlers() - Method in class com.github.hanyaeger.core.entities.motion.InitializationBuffer
-
Return all the
EventHandlerthat should be registered forEventTypes.REMOVE. - getRootPane() - Method in class com.github.hanyaeger.api.entities.YaegerEntity
-
Return the root pane to which this
YaegerEntityis added. - getRootPane() - Method in class com.github.hanyaeger.api.scenes.StaticScene
- getRootPane() - Method in interface com.github.hanyaeger.core.RootPaneProvider
-
Return the root pane.
- getRotation() - Method in interface com.github.hanyaeger.api.entities.Rotatable
-
Return the rotation of the
YaegerEntity. - getRotation() - Method in class com.github.hanyaeger.core.entities.motion.InitializationBuffer
-
Return the value of
rotation. - getRotationSpeed() - Method in interface com.github.hanyaeger.api.entities.ContinuousRotatable
-
Return the angle that should be added each update to the rotation of the
YaegerEntity. - getRotationSpeed() - Method in class com.github.hanyaeger.api.entities.DynamicCompositeEntity
- getRotationSpeed() - Method in class com.github.hanyaeger.api.entities.impl.DynamicCircleEntity
- getRotationSpeed() - Method in class com.github.hanyaeger.api.entities.impl.DynamicEllipseEntity
- getRotationSpeed() - Method in class com.github.hanyaeger.api.entities.impl.DynamicRectangleEntity
- getRotationSpeed() - Method in class com.github.hanyaeger.api.entities.impl.DynamicSpriteEntity
- getRotationSpeed() - Method in class com.github.hanyaeger.api.entities.impl.DynamicTextEntity
- getSaturation() - Method in interface com.github.hanyaeger.core.Effectable
-
Return the saturation level of this
YaegerSceneorYaegerEntity. - getSaturation() - Method in class com.github.hanyaeger.core.YaegerGameObject
- getScene() - Method in class com.github.hanyaeger.api.scenes.ScrollableDynamicScene
- getScene() - Method in class com.github.hanyaeger.api.scenes.StaticScene
- getScene() - Method in interface com.github.hanyaeger.api.scenes.YaegerScene
-
Return the
Scenethat is encapsulated by thisYaegerScene - getSceneHeight() - Method in class com.github.hanyaeger.api.entities.YaegerEntity
- getSceneHeight() - Method in interface com.github.hanyaeger.core.entities.SceneChild
-
Return the height of the
YaegerScenethat thisEntityis part of. - getSceneWidth() - Method in class com.github.hanyaeger.api.entities.YaegerEntity
- getSceneWidth() - Method in interface com.github.hanyaeger.core.entities.SceneChild
-
Return the width of the
YaegerScenethat thisEntityis part of. - getSpawners() - Method in class com.github.hanyaeger.api.scenes.DynamicScene
- getSpeed() - Method in class com.github.hanyaeger.core.entities.motion.MotionApplier
- getSpeed() - Method in interface com.github.hanyaeger.core.entities.motion.Movable
- getSpeed() - Method in interface com.github.hanyaeger.core.entities.motion.SpeedProvider
-
Return the current speed as a
double. - getSpeedInDirection(double) - Method in class com.github.hanyaeger.core.entities.motion.MotionApplier
- getSpeedInDirection(double) - Method in interface com.github.hanyaeger.core.entities.motion.MotionModifier
-
Since a motion can be described as a vector, such a vector can be decomposed in two perpendicular components, of which one is parallel to the given direction.
- getSpeedInDirection(double) - Method in interface com.github.hanyaeger.core.entities.motion.Movable
- getSpeedInDirection(Direction) - Method in class com.github.hanyaeger.core.entities.motion.MotionApplier
- getSpeedInDirection(Direction) - Method in interface com.github.hanyaeger.core.entities.motion.MotionModifier
- getSpeedInDirection(Direction) - Method in interface com.github.hanyaeger.core.entities.motion.Movable
- getStage() - Method in class com.github.hanyaeger.api.scenes.StaticScene
- getStage() - Method in interface com.github.hanyaeger.api.scenes.YaegerScene
-
Return the
Stageto which thisYaegerScenewill be added. - getStatistics() - Method in class com.github.hanyaeger.core.entities.EntityCollection
-
Return the statistics related to this
EntityCollection. - getStrokeColor() - Method in class com.github.hanyaeger.core.entities.ShapeEntity
-
Return the
strokeColorused for thisShapeEntity. - getStrokeWidth() - Method in class com.github.hanyaeger.core.entities.ShapeEntity
-
Return the
strokeWidthused for thisShapeEntity. - getSupplier() - Method in class com.github.hanyaeger.api.entities.EntitySpawner
-
Return the
EntitySupplierthat is part of thisEntitySpawner. - getText() - Method in class com.github.hanyaeger.api.entities.impl.TextEntity
-
Return the
textthat is being displayed. - getTileMaps() - Method in class com.github.hanyaeger.api.scenes.StaticScene
- getTimers() - Method in class com.github.hanyaeger.api.entities.YaegerEntity
- getTimers() - Method in class com.github.hanyaeger.api.scenes.DynamicScene
- getTimers() - Method in interface com.github.hanyaeger.core.TimerListProvider
- getUpdater() - Method in class com.github.hanyaeger.api.entities.DynamicCompositeEntity
- getUpdater() - Method in class com.github.hanyaeger.api.entities.impl.DynamicCircleEntity
- getUpdater() - Method in class com.github.hanyaeger.api.entities.impl.DynamicEllipseEntity
- getUpdater() - Method in class com.github.hanyaeger.api.entities.impl.DynamicRectangleEntity
- getUpdater() - Method in class com.github.hanyaeger.api.entities.impl.DynamicSpriteEntity
- getUpdater() - Method in class com.github.hanyaeger.api.entities.impl.DynamicTextEntity
- getUpdater() - Method in class com.github.hanyaeger.api.scenes.DynamicScene
- getUpdater() - Method in interface com.github.hanyaeger.core.UpdateDelegator
-
Get the
Updaterto which theupdateshould be delegated. - getValue() - Method in enum class com.github.hanyaeger.api.entities.Direction
-
Return the numeric value of this enumeration.
- getVerticalRelativeScrollPosition() - Method in class com.github.hanyaeger.api.scenes.ScrollableDynamicScene
-
Return the current vertical scroll position of the viewport.
- getViewOrder() - Method in class com.github.hanyaeger.api.entities.YaegerEntity
-
Return the viewOrder of this
YaegerEntity. - getViewportHeight() - Method in class com.github.hanyaeger.api.scenes.ScrollableDynamicScene
-
Return the height of the viewport.
- getViewportWidth() - Method in class com.github.hanyaeger.api.scenes.ScrollableDynamicScene
-
Return the width of the viewport.
- getVolume() - Method in class com.github.hanyaeger.api.media.SoundClip
-
Get the default volume level.
- getVolume() - Method in class com.github.hanyaeger.core.media.BackgroundAudioMediaPlayer
-
Retrieves the audio playback volume.
- getVolume() - Method in class com.github.hanyaeger.core.scenes.delegates.BackgroundDelegate
-
Retrieves the background audio playback volume.
- getWidth() - Method in class com.github.hanyaeger.api.entities.impl.RectangleEntity
- getWidth() - Method in class com.github.hanyaeger.api.scenes.ScrollableDynamicScene
-
Return the width of the complete scene.
- getWidth() - Method in interface com.github.hanyaeger.api.scenes.YaegerScene
-
Return the width of this
YaegerScene. - getWidth() - Method in interface com.github.hanyaeger.core.entities.Bounded
H
- handle() - Method in class com.github.hanyaeger.core.factories.animationtimer.TimeableAnimationTimer
-
Method called whenever the interval time is reached
- handle() - Method in interface com.github.hanyaeger.core.factories.animationtimer.TimeableAnimationTimerHandler
-
Called when a
AnimationTimercalls its internalAnimationTimer.handle(long)()} - handle(long) - Method in class com.github.hanyaeger.api.entities.EntitySpawner
- handle(long) - Method in class com.github.hanyaeger.api.Timer
-
Handle an update.
- handle(long) - Method in interface com.github.hanyaeger.core.factories.animationtimer.AnimationTimerHandler
-
Called when a
AnimationTimercalls its internalhandle() - handle(long) - Method in class com.github.hanyaeger.core.factories.animationtimer.TimeableAnimationTimer
- handle(long) - Method in class com.github.hanyaeger.core.YaegerAnimationTimer
- handleOn60fps(long) - Method in class com.github.hanyaeger.core.YaegerAnimationTimer
-
This method needs to be overridden by extending classes.
- hanyaeger - module hanyaeger
-
The main (and only) module for Yaeger.
- hashCode() - Method in record class com.github.hanyaeger.api.entities.FiniteAnimation
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.github.hanyaeger.api.entities.FiniteAnimationWithCallBack
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.github.hanyaeger.api.entities.impl.CustomFont
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.github.hanyaeger.api.entities.LinkedAnimation
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.github.hanyaeger.api.entities.LinkedAnimationWithCallBack
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.github.hanyaeger.api.entities.LoopingAnimation
-
Returns a hash code value for this object.
- hashCode() - Method in class com.github.hanyaeger.api.scenes.TileMap
- hashCode() - Method in record class com.github.hanyaeger.api.Size
-
Returns a hash code value for this object.
- hashCode() - Method in class com.github.hanyaeger.core.entities.EntitySupplier
- hashCode() - Method in class com.github.hanyaeger.core.SceneCollection
- hashCode() - Method in record class com.github.hanyaeger.core.YaegerConfig
-
Returns a hash code value for this object.
- height() - Method in record class com.github.hanyaeger.api.Size
-
Returns the value of the
heightrecord component.
I
- ImageFactory - Class in com.github.hanyaeger.core.factories.image
-
An
ImageFactoryshould be used for creating instance ofImage. - ImageFactory() - Constructor for class com.github.hanyaeger.core.factories.image.ImageFactory
- ImageRepository - Class in com.github.hanyaeger.core.repositories
-
An
ImageRepositoryprovides a central repository for acquiring sprites. - ImageRepository() - Constructor for class com.github.hanyaeger.core.repositories.ImageRepository
- ImageViewFactory - Class in com.github.hanyaeger.core.factories.image
-
An
ImageViewFactoryshould be used for creating instance ofImageView. - ImageViewFactory() - Constructor for class com.github.hanyaeger.core.factories.image.ImageViewFactory
- incrementSpeed(double) - Method in class com.github.hanyaeger.core.entities.motion.MotionApplier
- incrementSpeed(double) - Method in interface com.github.hanyaeger.core.entities.motion.MotionModifier
-
Alter the speed through addition.
- incrementSpeed(double) - Method in interface com.github.hanyaeger.core.entities.motion.Movable
- INDEFINITE - Static variable in class com.github.hanyaeger.api.media.SoundClip
-
When instantiating a
SoundClip, the value of the constructor parametercycleCountcan be used to set the number of times the audio file should be played. - init(Injector) - Method in class com.github.hanyaeger.api.entities.CompositeEntity
- init(Injector) - Method in class com.github.hanyaeger.api.entities.DynamicCompositeEntity
- init(Injector) - Method in class com.github.hanyaeger.api.entities.impl.CircleEntity
- init(Injector) - Method in class com.github.hanyaeger.api.entities.impl.DynamicCircleEntity
- init(Injector) - Method in class com.github.hanyaeger.api.entities.impl.DynamicEllipseEntity
- init(Injector) - Method in class com.github.hanyaeger.api.entities.impl.DynamicRectangleEntity
- init(Injector) - Method in class com.github.hanyaeger.api.entities.impl.DynamicSpriteEntity
- init(Injector) - Method in class com.github.hanyaeger.api.entities.impl.DynamicTextEntity
- init(Injector) - Method in class com.github.hanyaeger.api.entities.impl.EllipseEntity
- init(Injector) - Method in class com.github.hanyaeger.api.entities.impl.RectangleEntity
- init(Injector) - Method in class com.github.hanyaeger.api.entities.impl.SpriteEntity
- init(Injector) - Method in class com.github.hanyaeger.api.entities.impl.TextEntity
- init(Injector) - Method in class com.github.hanyaeger.api.entities.YaegerEntity
- init(Injector) - Method in class com.github.hanyaeger.api.scenes.StaticScene
- init(Injector) - Method in class com.github.hanyaeger.core.entities.EntityCollection
- init(Injector) - Method in class com.github.hanyaeger.core.entities.motion.EntityMotionInitBuffer
- init(Injector) - Method in class com.github.hanyaeger.core.entities.ShapeEntity
- init(Injector) - Method in interface com.github.hanyaeger.core.Initializable
- init(Injector) - Method in class com.github.hanyaeger.core.SceneCollection
- init(Injector) - Method in class com.github.hanyaeger.core.YaegerStage
- Initializable - Interface in com.github.hanyaeger.core
- InitializationBuffer - Class in com.github.hanyaeger.core.entities.motion
-
A
InitializationBufferis a simple data container, only used for storing the values can be set before anYaegerEntitygets initialized and theNodeis available. - InitializationBuffer() - Constructor for class com.github.hanyaeger.core.entities.motion.InitializationBuffer
- initialUpdate() - Method in class com.github.hanyaeger.core.entities.EntityCollection
-
Perform the initial update, to ensure all available entities are transferred from their
EntitySupplierto the actual collections to become part of theEntityCollection. - initSpawners() - Method in interface com.github.hanyaeger.api.EntitySpawnerContainer
-
Initialize all instances of
EntitySpawnerthat were added to thisEntitySpawnerContainer. - initTileMaps() - Method in interface com.github.hanyaeger.api.scenes.TileMapContainer
-
Initialize all instances of
TileMapthat were added to thisTileMapContainer. - initTimers() - Method in interface com.github.hanyaeger.api.TimerContainer
-
Annotated with
OnActivation, this method will be called during activation. - invert() - Method in class com.github.hanyaeger.api.Coordinate2D
-
Return a
Coordinate2Dwhich is the inverse of this coordinate - invertSpeedInDirection(double) - Method in class com.github.hanyaeger.core.entities.motion.MotionApplier
- invertSpeedInDirection(double) - Method in interface com.github.hanyaeger.core.entities.motion.MotionModifier
-
Since a motion can be described as a vector, such a vector can be decomposed in two perpendicular components, of which one is parallel to the given direction.
- invertSpeedInDirection(double) - Method in interface com.github.hanyaeger.core.entities.motion.Movable
- invertSpeedInDirection(Direction) - Method in class com.github.hanyaeger.core.entities.motion.MotionApplier
- invertSpeedInDirection(Direction) - Method in interface com.github.hanyaeger.core.entities.motion.MotionModifier
- invertSpeedInDirection(Direction) - Method in interface com.github.hanyaeger.core.entities.motion.Movable
- invokeActivators(Object) - Method in class com.github.hanyaeger.core.annotations.AnnotationProcessor
-
Invoke all methods annotated with the annotation
OnActivationon the givenObject. - invokePostActivators(Object) - Method in class com.github.hanyaeger.core.annotations.AnnotationProcessor
-
Invoke all methods annotated with the annotation
OnPostActivationon the givenObject. - isActivationComplete() - Method in class com.github.hanyaeger.api.scenes.StaticScene
- isActivationComplete() - Method in interface com.github.hanyaeger.core.Activatable
-
Return whether this
YaegerScenehas completed activation. - isActive() - Method in class com.github.hanyaeger.api.Timer
-
State whether this
Timeris currently active. - isActiveGWU() - Method in class com.github.hanyaeger.api.scenes.DynamicScene
-
Returns whether the Game World Update is active or not.
- isGarbage() - Method in class com.github.hanyaeger.api.Timer
-
State whether this
Timerhas been marked as garbage. - isVisible() - Method in class com.github.hanyaeger.api.entities.YaegerEntity
-
Return the visibility of this
YaegerEntity.
K
- KeyListener - Interface in com.github.hanyaeger.api.userinput
-
A
KeyListeneris notified when the set of pressed keys changes. - KeyListenerDelegate - Class in com.github.hanyaeger.core.scenes.delegates
-
A
KeyListenerDelegatefollows the Delegate pattern and embraces Composition over Inheritance. - KeyListenerDelegate() - Constructor for class com.github.hanyaeger.core.scenes.delegates.KeyListenerDelegate
L
- LEFT - Enum constant in enum class com.github.hanyaeger.api.entities.Direction
-
The direction to the left, of which the numeric value is 270 degrees.
- LEFT - Enum constant in enum class com.github.hanyaeger.api.scenes.SceneBorder
-
The top of the
YaegerScene. - limitGWU() - Method in record class com.github.hanyaeger.core.YaegerConfig
-
Returns the value of the
limitGWUrecord component. - LINE_INTERVAL - Static variable in class com.github.hanyaeger.core.scenes.delegates.CoordinateGridDelegate
- LineFactory - Class in com.github.hanyaeger.core.factories
-
An
LineFactoryshould be used for creating instance ofLine. - LineFactory() - Constructor for class com.github.hanyaeger.core.factories.LineFactory
- LinkedAnimation - Record Class in com.github.hanyaeger.api.entities
- LinkedAnimation(int, int, int, int, long, Animation) - Constructor for record class com.github.hanyaeger.api.entities.LinkedAnimation
-
Creates an instance of a
LinkedAnimationrecord class. - LinkedAnimation(int, int, int, int, Animation) - Constructor for record class com.github.hanyaeger.api.entities.LinkedAnimation
-
Create a new instance of
LinkedAnimation - LinkedAnimationWithCallBack - Record Class in com.github.hanyaeger.api.entities
- LinkedAnimationWithCallBack(int, int, int, int, long, Animation, AnimationCallback) - Constructor for record class com.github.hanyaeger.api.entities.LinkedAnimationWithCallBack
-
Creates an instance of a
LinkedAnimationWithCallBackrecord class. - LinkedAnimationWithCallBack(int, int, int, int, Animation, AnimationCallback) - Constructor for record class com.github.hanyaeger.api.entities.LinkedAnimationWithCallBack
-
Create a new instance of
LinkedAnimationWithCallBack - LocationUpdater - Interface in com.github.hanyaeger.core.entities.motion
-
A
LocationUpdatercan calculate a new location. - loop() - Method in interface com.github.hanyaeger.api.entities.Animation
-
A value that states whether this
Animationshould loop after it has finished. - loop() - Method in record class com.github.hanyaeger.api.entities.LoopingAnimation
- LoopingAnimation - Record Class in com.github.hanyaeger.api.entities
- LoopingAnimation(int, int, int, int) - Constructor for record class com.github.hanyaeger.api.entities.LoopingAnimation
-
Create a new instance of
LinkedAnimation - LoopingAnimation(int, int, int, int, long) - Constructor for record class com.github.hanyaeger.api.entities.LoopingAnimation
-
Creates an instance of a
LoopingAnimationrecord class.
M
- maximizeMotionInDirection(double, double) - Method in class com.github.hanyaeger.core.entities.motion.MotionApplier
- maximizeMotionInDirection(double, double) - Method in interface com.github.hanyaeger.core.entities.motion.MotionModifier
-
Since the motion can be described as a vector, such a vector can be decomposed in two perpendicular components.
- maximizeMotionInDirection(double, double) - Method in interface com.github.hanyaeger.core.entities.motion.Movable
- maximizeMotionInDirection(Direction, double) - Method in class com.github.hanyaeger.core.entities.motion.MotionApplier
- maximizeMotionInDirection(Direction, double) - Method in interface com.github.hanyaeger.core.entities.motion.MotionModifier
- maximizeMotionInDirection(Direction, double) - Method in interface com.github.hanyaeger.core.entities.motion.Movable
- MediaFactory - Class in com.github.hanyaeger.core.factories
-
An
MediaFactoryshould be used for creating instance ofMediaandMediaPlayer. - MediaFactory() - Constructor for class com.github.hanyaeger.core.factories.MediaFactory
- middlePoint(Coordinate2D) - Method in class com.github.hanyaeger.api.Coordinate2D
-
Returns a
Coordinate2Dwhich lies in the middle between thisCoordinate2Dand the specifiedCoordinate2D. - MotionApplier - Class in com.github.hanyaeger.core.entities.motion
-
A
MotionApplierprovides basis behaviour regarding speed and direction of aYaegerEntity - MotionApplier() - Constructor for class com.github.hanyaeger.core.entities.motion.MotionApplier
-
Create a new instance of
MotionApplier. - MotionModifier - Interface in com.github.hanyaeger.core.entities.motion
-
A
MotionModifieris the basic interface that defines the API of all Objects that capable of modifying the motion of aYaegerEntity. - MouseButtonPressedListener - Interface in com.github.hanyaeger.api.userinput
-
A
MouseButtonPressedListenerenables theYaegerEntityorYaegerSceneto be notified if aMouseButtonhas been clicked while the mouse pointer is on theYaegerEntityorYaegerScene. - MouseButtonReleasedListener - Interface in com.github.hanyaeger.api.userinput
-
A
MouseButtonReleasedListenerenables theYaegerEntityorYaegerSceneto be notified if aMouseButtonhas been released while the mouse pointer is on theYaegerEntityorYaegerScene. - MouseDragEnterListener - Interface in com.github.hanyaeger.api.userinput
-
A
MouseDragEnterListenerenables theYaegerEntityorYaegerSceneto be notified when the area defined by itsBoundingBoxis being entered by something that is being dragged. - MouseDragExitedListener - Interface in com.github.hanyaeger.api.userinput
-
A
MouseDragExitedListenerenables theYaegerEntityorYaegerSceneto be notified when the area defined by itsBoundingBoxis being exited by something that is being dragged. - MouseDraggedListener - Interface in com.github.hanyaeger.api.userinput
-
Being a
MouseDraggedListenerenables theYaegerEntityorYaegerSceneto be notified when a mouse button is pressed on this the area defined by theBoundingBoxof anYaegerEntityorYaegerScene, and then dragged. - MouseDropListener - Interface in com.github.hanyaeger.api.userinput
-
A
MouseDropListenerenables theYaegerEntityorYaegerSceneto be notified when within the area defined by itsBoundingBoxsomething that is being dragged is dropped. - MouseEnterListener - Interface in com.github.hanyaeger.api.userinput
-
A
MouseEnterListenerenables theYaegerEntityorYaegerSceneto be notified if the Mouse Cursor has entered the area defined by theBoundingBoxof theYaegerEntityorYaegerScene. - MouseExitListener - Interface in com.github.hanyaeger.api.userinput
-
A
MouseExitListenerenables theYaegerEntityorYaegerSceneto be notified if the Mouse Cursor has exited the area defined by theBoundingBoxof theYaegerEntityorYaegerScene. - MouseMovedListener - Interface in com.github.hanyaeger.api.userinput
-
A
MouseMovedListenerenables theYaegerEntityorYaegerSceneto be notified if the mouse has been moved. - MouseMovedWhileDraggingListener - Interface in com.github.hanyaeger.api.userinput
-
Being a
MouseMovedWhileDraggingListenerenables theYaegerEntityorYaegerSceneto be notified if the mouse has been moved while it is dragging aMouseDraggedListeneror nothing at all. - Movable - Interface in com.github.hanyaeger.core.entities.motion
-
When the Interface
Movableis implemented, anYaegerEntityis able to move around theYaegerSceneon each Game World Update. - multiply(Coordinate2D) - Method in class com.github.hanyaeger.api.Coordinate2D
-
Return a
Coordinate2Dwith the coordinates of the specified point multiplied by the coordinates of thisCoordinate2D. - multiplySpeed(double) - Method in class com.github.hanyaeger.core.entities.motion.MotionApplier
- multiplySpeed(double) - Method in interface com.github.hanyaeger.core.entities.motion.MotionModifier
-
Alter the speed through multiplication.
- multiplySpeed(double) - Method in interface com.github.hanyaeger.core.entities.motion.Movable
N
- NamedAnimationListProvider - Interface in com.github.hanyaeger.core.entities
-
Implementing the
NamedAnimationListProviderinterface guarantees that aListof instances ofFiniteAnimationis available. - Newtonian - Interface in com.github.hanyaeger.api.entities
- NewtonianModifier - Interface in com.github.hanyaeger.core.entities.motion
-
A
NewtonianModifieris capable of modifying all properties that are related to the laws of gravity and friction. - next() - Method in interface com.github.hanyaeger.api.entities.Animation
-
A value that returns the next
Animationto be played, after this instance has finished. - next() - Method in record class com.github.hanyaeger.api.entities.LinkedAnimation
-
Returns the value of the
nextrecord component. - next() - Method in record class com.github.hanyaeger.api.entities.LinkedAnimationWithCallBack
-
Returns the value of the
nextrecord component. - normalize() - Method in class com.github.hanyaeger.api.Coordinate2D
-
Return a normalized
Coordinate2D. - notifyBoundaryCrossing(SceneBorder) - Method in interface com.github.hanyaeger.api.entities.SceneBorderCrossingWatcher
-
This method is being called when this
SceneBorderCrossingWatchercrosses a border of theYaegerScene. - notifyBoundaryTouching(SceneBorder) - Method in interface com.github.hanyaeger.api.entities.SceneBorderTouchingWatcher
-
This method is being called when this
SceneBorderTouchingWatchertouches a border of theYaegerScene. - notifyGameObjectsOfPressedKeys(Set<KeyCode>) - Method in class com.github.hanyaeger.core.entities.EntityCollection
-
Notify all
YaegerEntitythat implement the interfaceKeyListenerthat keys are being pressed. - notifyRemove() - Method in interface com.github.hanyaeger.core.entities.Removable
- nullifySpeedInDirection(double) - Method in class com.github.hanyaeger.core.entities.motion.MotionApplier
- nullifySpeedInDirection(double) - Method in interface com.github.hanyaeger.core.entities.motion.MotionModifier
-
Since the motion can be described as a vector, such a vector can be decomposed in two perpendicular components, of which one is parallel to the given direction.
- nullifySpeedInDirection(double) - Method in interface com.github.hanyaeger.core.entities.motion.Movable
- nullifySpeedInDirection(Direction) - Method in class com.github.hanyaeger.core.entities.motion.MotionApplier
- nullifySpeedInDirection(Direction) - Method in interface com.github.hanyaeger.core.entities.motion.MotionModifier
- nullifySpeedInDirection(Direction) - Method in interface com.github.hanyaeger.core.entities.motion.Movable
- NULLPOINTER_LOCATION - Static variable in class com.github.hanyaeger.api.Coordinate2D
-
The message as to be shown in case a
NullPointerExceptionoccurs as the result of some methods from this class.
O
- OnActivation - Annotation Interface in com.github.hanyaeger.core.annotations
-
A method annotated with
OnActivationwill be automatically called by theAnnotationProcessorduring activation of either anYaegerEntityor aYaegerScene. - onAnimationUpdate(long) - Method in class com.github.hanyaeger.api.entities.EntitySpawner
- onAnimationUpdate(long) - Method in class com.github.hanyaeger.api.Timer
-
Implement this method, which will be called each animation update with the given interval.
- onAnimationUpdate(long) - Method in class com.github.hanyaeger.core.scenes.splash.FadeInTimer
- onCollision(List<Collider>) - Method in interface com.github.hanyaeger.api.entities.Collided
-
This method is called if a collision has occurred.
- onDragEntered(Coordinate2D, MouseDraggedListener) - Method in interface com.github.hanyaeger.api.userinput.MouseDragEnterListener
-
Called when the area defined by the
BoundingBoxof thisYaegerEntityorYaegerSceneis being entered by something that is being dragged. - onDragExited(Coordinate2D, MouseDraggedListener) - Method in interface com.github.hanyaeger.api.userinput.MouseDragExitedListener
-
Called when the area defined by the
BoundingBoxof thisYaegerEntityorYaegerSceneis being exited by something that is being dragged. - onDragged(Coordinate2D) - Method in interface com.github.hanyaeger.api.userinput.MouseDraggedListener
-
Called when the
YaegerEntityis being dragged. - onDrop(Coordinate2D, MouseDraggedListener) - Method in interface com.github.hanyaeger.api.userinput.MouseDropListener
-
Called when within the area defined by the
BoundingBoxof thisYaegerEntityorYaegerScenesomething that is being dragged is dropped. - onDropped(Coordinate2D) - Method in interface com.github.hanyaeger.api.userinput.MouseDraggedListener
-
Called when the
YaegerEntityis being dropped. - onMouseButtonPressed(MouseButton, Coordinate2D) - Method in interface com.github.hanyaeger.api.userinput.MouseButtonPressedListener
-
Called when the corresponding
Nodereceives a mouse pressed event. - onMouseButtonReleased(MouseButton, Coordinate2D) - Method in interface com.github.hanyaeger.api.userinput.MouseButtonReleasedListener
-
Called when the corresponding
Nodereceives a mouse released event. - onMouseEntered() - Method in interface com.github.hanyaeger.api.userinput.MouseEnterListener
-
Called when the corresponding
Nodereceives a mouse enter event. - onMouseExited() - Method in interface com.github.hanyaeger.api.userinput.MouseExitListener
-
Called when the corresponding
Nodereceives a mouse exited event. - onMouseMoved(Coordinate2D) - Method in interface com.github.hanyaeger.api.userinput.MouseMovedListener
-
Called when the corresponding
Nodereceives a mouse moved event. - onMouseMovedWhileDragging(Coordinate2D) - Method in interface com.github.hanyaeger.api.userinput.MouseMovedWhileDraggingListener
-
Called when the corresponding
Nodereceives a mouse pressed event. - OnPostActivation - Annotation Interface in com.github.hanyaeger.core.annotations
-
A method annotated with
OnActivationwill be automatically called by theAnnotationProcessorafter activation of either anYaegerEntityor aYaegerScene. - onPressedKeysChange(Set<KeyCode>) - Method in interface com.github.hanyaeger.api.userinput.KeyListener
-
Called when the set of pressed keys changes.
P
- PaneFactory - Class in com.github.hanyaeger.core.factories
-
A
PaneFactorycan be used to create instances ofPaneorScrollPane. - PaneFactory() - Constructor for class com.github.hanyaeger.core.factories.PaneFactory
- parseToConfig(List<String>) - Method in class com.github.hanyaeger.core.YaegerCommandLineParser
-
Parse the given command line Arguments and create a
YaegerConfigthat can be used to initialize aYaegerGame. - path() - Method in record class com.github.hanyaeger.api.entities.impl.CustomFont
-
Returns the value of the
pathrecord component. - pause() - Method in class com.github.hanyaeger.api.scenes.DynamicScene
-
Pause the Game World Update (GWU) of this
YaegerScene. - pause() - Method in class com.github.hanyaeger.api.Timer
-
Pause the timer, so it will no longer update with each animation.
- Placeable - Interface in com.github.hanyaeger.core.entities
-
A
Placeablehas a methods that can be used to place it at a different x,y-coordinates on theYaegerScene. - play() - Method in class com.github.hanyaeger.api.media.SoundClip
-
Play the file.
- playAnimation(Animation) - Method in class com.github.hanyaeger.api.entities.impl.DynamicSpriteEntity
-
Play the given
Animation. - playAnimation(Animation, boolean) - Method in class com.github.hanyaeger.api.entities.impl.DynamicSpriteEntity
-
Play the given
Animation. - playAnimation(Animation, boolean) - Method in class com.github.hanyaeger.core.entities.SpriteAnimationDelegate
-
Play the given
FiniteAnimation. - playBackgroundAudio(String) - Method in class com.github.hanyaeger.core.media.BackgroundAudioMediaPlayer
-
Set the background audio.
- postActivate() - Method in class com.github.hanyaeger.api.scenes.ScrollableDynamicScene
- postActivate() - Method in class com.github.hanyaeger.api.scenes.StaticScene
- postActivate() - Method in interface com.github.hanyaeger.api.scenes.YaegerScene
-
Use this method to trigger behaviour that should be set after the
YaegerScenehas been completely set up. - postActivation() - Method in class com.github.hanyaeger.core.entities.Debugger
-
Ensure that the
Debuggeris brought to the top of the view stack. - postActivation() - Method in class com.github.hanyaeger.core.scenes.delegates.CoordinateGridDelegate
-
Use this method to trigger behaviour that should be set after the
CoordinateGridDelegatehas been completely set up. - process(YaegerEntity) - Method in interface com.github.hanyaeger.core.entities.EntityProcessor
-
Process the given
YaegerEntity.
Q
- queueAnimation(Animation) - Method in class com.github.hanyaeger.core.entities.SpriteAnimationDelegate
- quit() - Method in class com.github.hanyaeger.api.YaegerGame
-
Stop and close the Game.
- quit() - Method in class com.github.hanyaeger.core.YaegerStage
-
Stop and close the Game.
R
- RectangleEntity - Class in com.github.hanyaeger.api.entities.impl
-
A
RectangleEntityprovides the option to use a drawable Rectangle as anYaegerEntity. - RectangleEntity(Coordinate2D) - Constructor for class com.github.hanyaeger.api.entities.impl.RectangleEntity
-
Create a new
RectangleEntityon the giveninitialLocation. - RectangleEntity(Coordinate2D, Size) - Constructor for class com.github.hanyaeger.api.entities.impl.RectangleEntity
- register(Collided) - Method in class com.github.hanyaeger.core.entities.CollisionDelegate
-
Register a
Collidedto be evaluated for collision detection. - register(Collider) - Method in class com.github.hanyaeger.core.entities.CollisionDelegate
-
Register a
Colliderto be evaluated for collision detection. - register(YaegerEntity) - Method in class com.github.hanyaeger.core.entities.CollisionDelegate
-
Register an
YaegerEntityto be evaluated for collision detection. - registerEntitySpawners() - Method in interface com.github.hanyaeger.api.EntitySpawnerContainer
-
Register all instances of
EntitySpawnerthat were added to thisEntitySpawnerContainer. - registerKeyListener(KeyListener) - Method in class com.github.hanyaeger.core.entities.EntityCollection
-
Register a
KeyListener. - registerSupplier(EntitySupplier) - Method in class com.github.hanyaeger.core.entities.EntityCollection
-
Register an
EntitySupplier. - Removable - Interface in com.github.hanyaeger.core.entities
-
A
Removabledenotes anObject, most likely anYaegerEntity, that is eligible for removing from its parent. - remove() - Method in class com.github.hanyaeger.api.entities.CompositeEntity
- remove() - Method in class com.github.hanyaeger.api.entities.impl.SpriteEntity
- remove() - Method in class com.github.hanyaeger.api.entities.YaegerEntity
- remove() - Method in class com.github.hanyaeger.api.Timer
-
When this method is called, this
Timeris set for removal. - remove() - Method in interface com.github.hanyaeger.core.entities.Removable
-
Perform all necessary actions to remove the entity.
- remove(Removable) - Method in class com.github.hanyaeger.core.entities.CollisionDelegate
-
Remove the
Removablefrom the list of Objects that are taken into account - removeSupplier(EntitySupplier) - Method in class com.github.hanyaeger.core.entities.EntityCollection
-
Remove the given
EntitySupplierfrom the list of suppliers. - reset() - Method in class com.github.hanyaeger.api.Timer
-
Reset this
Timerto start from the beginning again. - ResourceConsumer - Interface in com.github.hanyaeger.core
-
Implementing a
ResourceConsumerexposes a default methode that can be used to acquire the absolute path to a resource available on the class path. - resume() - Method in class com.github.hanyaeger.api.scenes.DynamicScene
-
Resume a Game that has been paused (the
DynamicScene.pause()) method has been called. - resume() - Method in class com.github.hanyaeger.api.Timer
-
Resume the timer, so it will start updating on each animation again.
- RIGHT - Enum constant in enum class com.github.hanyaeger.api.entities.Direction
-
The direction to the right, of which the numeric value is 90 degrees.
- RIGHT - Enum constant in enum class com.github.hanyaeger.api.scenes.SceneBorder
-
The top of the
YaegerScene. - RootPaneProvider - Interface in com.github.hanyaeger.core
-
A
RootPaneProvideris capable of providing thePanethat should be used as the root pane for all other children ofNodethat are part of theYaegerScene. - Rotatable - Interface in com.github.hanyaeger.api.entities
-
Implementing this interface will result in de availability of the
Rotatable.setRotate(double)method. - rowEnd() - Method in interface com.github.hanyaeger.api.entities.Animation
-
The row-index of the last sprite to be shown.
- rowEnd() - Method in record class com.github.hanyaeger.api.entities.FiniteAnimation
-
Returns the value of the
rowEndrecord component. - rowEnd() - Method in record class com.github.hanyaeger.api.entities.FiniteAnimationWithCallBack
-
Returns the value of the
rowEndrecord component. - rowEnd() - Method in record class com.github.hanyaeger.api.entities.LinkedAnimation
-
Returns the value of the
rowEndrecord component. - rowEnd() - Method in record class com.github.hanyaeger.api.entities.LinkedAnimationWithCallBack
-
Returns the value of the
rowEndrecord component. - rowEnd() - Method in record class com.github.hanyaeger.api.entities.LoopingAnimation
-
Returns the value of the
rowEndrecord component. - rowStart() - Method in interface com.github.hanyaeger.api.entities.Animation
-
The row-index of the first sprite to be shown.
- rowStart() - Method in record class com.github.hanyaeger.api.entities.FiniteAnimation
-
Returns the value of the
rowStartrecord component. - rowStart() - Method in record class com.github.hanyaeger.api.entities.FiniteAnimationWithCallBack
-
Returns the value of the
rowStartrecord component. - rowStart() - Method in record class com.github.hanyaeger.api.entities.LinkedAnimation
-
Returns the value of the
rowStartrecord component. - rowStart() - Method in record class com.github.hanyaeger.api.entities.LinkedAnimationWithCallBack
-
Returns the value of the
rowStartrecord component. - rowStart() - Method in record class com.github.hanyaeger.api.entities.LoopingAnimation
-
Returns the value of the
rowStartrecord component.
S
- SceneBorder - Enum Class in com.github.hanyaeger.api.scenes
-
Since a
YaegerSceneis always rectangular shaped, it has fout borders, being theSceneBorder.TOP,SceneBorder.RIGHT,SceneBorder.BOTTOMandSceneBorder.LEFT. - SceneBorderCrossingWatcher - Interface in com.github.hanyaeger.api.entities
-
Implement this interface to be notified if the
YaegerEntitycrosses the boundary of theYaegerScene. - SceneBorderTouchingWatcher - Interface in com.github.hanyaeger.api.entities
-
Implement this interface to be notified if the
YaegerEntitytouches the boundary of theYaegerScene. - SceneChild - Interface in com.github.hanyaeger.core.entities
-
A
SceneChildis part of aYaegerSceneand has thus acces to width and height of theYaegerSceneit is part of. - SceneCollection - Class in com.github.hanyaeger.core
-
A
SceneCollectioncontains all instances ofYaegerScenethat are part of a Game. - SceneCollection(Stage, YaegerConfig) - Constructor for class com.github.hanyaeger.core.SceneCollection
- SceneCollectionFactory - Class in com.github.hanyaeger.core.factories
-
A
SceneCollectionFactorycan be used to create instances ofSceneCollection. - SceneCollectionFactory() - Constructor for class com.github.hanyaeger.core.factories.SceneCollectionFactory
- SceneFactory - Class in com.github.hanyaeger.core.factories
-
A
SceneFactorycan be used to create instances ofScene. - SceneFactory() - Constructor for class com.github.hanyaeger.core.factories.SceneFactory
- ScrollableDynamicScene - Class in com.github.hanyaeger.api.scenes
-
A
ScrollableDynamicScenehas exactly the same behaviour as aDynamicScene, but adds the option to differ between the viewable area and the actual window size. - ScrollableDynamicScene() - Constructor for class com.github.hanyaeger.api.scenes.ScrollableDynamicScene
- setActive(int) - Method in class com.github.hanyaeger.core.SceneCollection
-
Set the
YaegerSceneof the givenint. - setActiveScene(int) - Method in class com.github.hanyaeger.api.YaegerGame
-
Set the current active
YaegerScene. - setActiveScene(int) - Method in class com.github.hanyaeger.core.YaegerStage
-
Set the current active
YaegerScene. - setAnchorLocation(Coordinate2D) - Method in class com.github.hanyaeger.api.entities.CompositeEntity
- setAnchorLocation(Coordinate2D) - Method in class com.github.hanyaeger.api.entities.impl.CircleEntity
- setAnchorLocation(Coordinate2D) - Method in class com.github.hanyaeger.api.entities.impl.EllipseEntity
- setAnchorLocation(Coordinate2D) - Method in class com.github.hanyaeger.api.entities.impl.RectangleEntity
- setAnchorLocation(Coordinate2D) - Method in class com.github.hanyaeger.api.entities.impl.SpriteEntity
- setAnchorLocation(Coordinate2D) - Method in class com.github.hanyaeger.api.entities.impl.TextEntity
- setAnchorLocation(Coordinate2D) - Method in class com.github.hanyaeger.api.entities.YaegerEntity
- setAnchorLocation(Coordinate2D) - Method in interface com.github.hanyaeger.core.entities.Placeable
-
Set the
Coordinate2Dwhere theAnchorPointof thisYaegerEntitywill be placed, within theYaegerScene. - setAnchorLocationX(double) - Method in class com.github.hanyaeger.api.entities.YaegerEntity
- setAnchorLocationX(double) - Method in interface com.github.hanyaeger.core.entities.Placeable
-
Set the x-coordinate of the
AnchorLocationof thisYaegerEntity; - setAnchorLocationY(double) - Method in class com.github.hanyaeger.api.entities.YaegerEntity
- setAnchorLocationY(double) - Method in interface com.github.hanyaeger.core.entities.Placeable
-
Set the y-coordinate of the
AnchorLocationof thisYaegerEntity; - setAnchorPoint(AnchorPoint) - Method in class com.github.hanyaeger.api.entities.YaegerEntity
- setAnchorPoint(AnchorPoint) - Method in class com.github.hanyaeger.api.scenes.TileMap
- setAnchorPoint(AnchorPoint) - Method in interface com.github.hanyaeger.core.entities.Anchorable
-
Set the
AnchorPointof thisPlaceable. - setAnimationTimerFactory(AnimationTimerFactory) - Method in class com.github.hanyaeger.api.scenes.DynamicScene
-
Set the
AnimationTimerFactorythat should be used. - setAnimationTimerFactory(AnimationTimerFactory) - Method in class com.github.hanyaeger.core.scenes.delegates.KeyListenerDelegate
-
The
AnimationTimerwill be used to generate events during the time that a key is pressed for the first time, and the key-press-delay is active. - setAnnotationProcessor(AnnotationProcessor) - Method in class com.github.hanyaeger.core.entities.EntityCollection
-
Set the
AnnotationProcessorto be used - setAnnotationProcessor(AnnotationProcessor) - Method in class com.github.hanyaeger.core.SceneCollection
-
Set the
AnnotationProcessorto be used. - setArcHeight(double) - Method in class com.github.hanyaeger.api.entities.impl.RectangleEntity
-
Set the height of the arc corner of the rectangle.
- setArcWidth(double) - Method in class com.github.hanyaeger.api.entities.impl.RectangleEntity
-
Set the width of the arc corner of the rectangle.
- setAutoCycle(long) - Method in class com.github.hanyaeger.api.entities.impl.DynamicSpriteEntity
-
Set the interval at which the sprite should be automatically cycled.
- setAutoCycle(long, int) - Method in class com.github.hanyaeger.api.entities.impl.DynamicSpriteEntity
-
Set the interval at which the sprite should be automatically cycled.
- setAutoCycle(long, int) - Method in class com.github.hanyaeger.core.entities.SpriteAnimationDelegate
-
Set the interval at which the sprite should be automatically cycled and which row to cycle through.
- setAutoCycleInterval(long) - Method in class com.github.hanyaeger.core.entities.SpriteAnimationDelegate
-
set the interval at which the sprite should be automatically cycled.
- setAutoCycleRow(int) - Method in class com.github.hanyaeger.api.entities.impl.DynamicSpriteEntity
-
Set the row through which the sprite should be automatically cycled.
- setAutoCycleRow(int) - Method in class com.github.hanyaeger.core.entities.SpriteAnimationDelegate
-
Set the row through which the sprite should be automatically cycled.
- setBackgroundAudio(String) - Method in class com.github.hanyaeger.api.scenes.StaticScene
- setBackgroundAudio(String) - Method in interface com.github.hanyaeger.api.scenes.YaegerScene
-
Set the background audio file.
- setBackgroundAudio(String) - Method in class com.github.hanyaeger.api.YaegerGame
-
Set the background audio file.
- setBackgroundAudio(String) - Method in class com.github.hanyaeger.core.scenes.delegates.BackgroundDelegate
-
Set the background audio.
- setBackgroundAudioMediaPlayer(BackgroundAudioMediaPlayer) - Method in class com.github.hanyaeger.core.scenes.delegates.BackgroundDelegate
-
TSet the
BackgroundAudioMediaPlayerto be used for thisBackgroundDelegate. - setBackgroundAudioVolume(double) - Method in class com.github.hanyaeger.api.scenes.StaticScene
- setBackgroundAudioVolume(double) - Method in interface com.github.hanyaeger.api.scenes.YaegerScene
-
Set the playback volume of the background audio.
- setBackgroundAudioVolume(double) - Method in class com.github.hanyaeger.api.YaegerGame
-
Set the playback volume of the background audio.
- setBackgroundColor(Color) - Method in class com.github.hanyaeger.api.scenes.StaticScene
- setBackgroundColor(Color) - Method in interface com.github.hanyaeger.api.scenes.YaegerScene
-
Set the background color of the
YaegerScene. - setBackgroundColor(Color) - Method in class com.github.hanyaeger.core.scenes.delegates.BackgroundDelegate
-
Set the background color of the
YaegerScene. - setBackgroundDelegate(BackgroundDelegate) - Method in class com.github.hanyaeger.api.scenes.StaticScene
-
Set the
BackgroundDelegatethat should be used. - setBackgroundFactory(BackgroundFactory) - Method in class com.github.hanyaeger.core.scenes.delegates.BackgroundDelegate
-
Set the
BackgroundFactoryto be used for thisBackgroundDelegate. - setBackgroundImage(String) - Method in class com.github.hanyaeger.api.scenes.StaticScene
- setBackgroundImage(String) - Method in interface com.github.hanyaeger.api.scenes.YaegerScene
-
Set the background image file.
- setBackgroundImage(String, boolean) - Method in class com.github.hanyaeger.api.scenes.StaticScene
- setBackgroundImage(String, boolean) - Method in interface com.github.hanyaeger.api.scenes.YaegerScene
-
Set the background image file.
- setBackgroundImage(String, boolean) - Method in class com.github.hanyaeger.core.scenes.delegates.BackgroundDelegate
-
Set the background image.
- setBrightness(double) - Method in interface com.github.hanyaeger.core.Effectable
-
Set the brightness of the
YaegerSceneorYaegerEntity. - setBrightness(double) - Method in class com.github.hanyaeger.core.YaegerGameObject
- setColorAdjust(ColorAdjust) - Method in class com.github.hanyaeger.api.scenes.StaticScene
-
Set the
ColorAdjustthat should be used. - setConfig(YaegerConfig) - Method in class com.github.hanyaeger.api.scenes.StaticScene
- setConfig(YaegerConfig) - Method in interface com.github.hanyaeger.api.scenes.YaegerScene
-
Set the
YaegerConfigto be used by thisYaegerScene. - setContrast(double) - Method in interface com.github.hanyaeger.core.Effectable
-
Set the contrast of the
YaegerSceneorYaegerEntity. - setContrast(double) - Method in class com.github.hanyaeger.core.YaegerGameObject
- setCoordinateGridDelegate(CoordinateGridDelegate) - Method in class com.github.hanyaeger.api.scenes.StaticScene
- setCurrentFrameIndex(int) - Method in class com.github.hanyaeger.api.entities.impl.SpriteEntity
-
Set the current frame index of the Sprite image.
- setCursor(Cursor) - Method in class com.github.hanyaeger.api.entities.YaegerEntity
-
Set the cursor to be shown.
- setCursor(Cursor) - Method in interface com.github.hanyaeger.api.scenes.YaegerScene
-
Set the Cursor.
- setDebugger(Debugger) - Method in class com.github.hanyaeger.api.scenes.StaticScene
-
Set the
Debuggerthat should be used. - setDebugGridPaneFactory(DebugGridPaneFactory) - Method in class com.github.hanyaeger.core.entities.Debugger
-
Set the
DebugGridPaneFactory. - setDebugLabelFactory(DebugLabelFactory) - Method in class com.github.hanyaeger.core.entities.Debugger
-
Set the
DebugLabelFactory. - setDirection(double) - Method in interface com.github.hanyaeger.core.entities.motion.BufferedMovable
- setDirection(double) - Method in class com.github.hanyaeger.core.entities.motion.MotionApplier
- setDirection(double) - Method in interface com.github.hanyaeger.core.entities.motion.MotionModifier
-
Set the
Direction. - setDirection(double) - Method in interface com.github.hanyaeger.core.entities.motion.Movable
- setDirection(Direction) - Method in interface com.github.hanyaeger.core.entities.motion.BufferedMovable
- setDirection(Direction) - Method in class com.github.hanyaeger.core.entities.motion.MotionApplier
- setDirection(Direction) - Method in interface com.github.hanyaeger.core.entities.motion.MotionModifier
- setDirection(Direction) - Method in interface com.github.hanyaeger.core.entities.motion.Movable
- setDraggedObject(MouseDraggedListener) - Method in class com.github.hanyaeger.core.repositories.DragNDropRepository
-
Set the Object that is currently being dragged.
- setDragNDropRepository(DragNDropRepository) - Method in class com.github.hanyaeger.api.entities.YaegerEntity
-
Set the
DragNDropRepositoryto be used. - setDragNDropRepository(DragNDropRepository) - Method in class com.github.hanyaeger.api.scenes.StaticScene
-
Set the
DragNDropRepositorythat should be used. - setDragNDropRepository(DragNDropRepository) - Method in interface com.github.hanyaeger.core.entities.DragRepositoryAccessor
-
Set the
DragNDropRepository. - setEntityCollectionFactory(EntityCollectionFactory) - Method in class com.github.hanyaeger.api.scenes.StaticScene
-
Set the
EntityCollectionFactorythat should be used. - setEntitySupplier(EntitySupplier) - Method in class com.github.hanyaeger.api.scenes.StaticScene
-
Set the
EntitySupplierthat should be used. - setEntitySupplierFactory(EntitySupplierFactory) - Method in class com.github.hanyaeger.core.entities.EntityCollection
-
Set the
EntitySupplierFactoryto be used - setFactory(ImageFactory) - Method in class com.github.hanyaeger.core.repositories.ImageRepository
- setFill(Color) - Method in class com.github.hanyaeger.core.entities.ShapeEntity
-
Set the fill color to be used.
- setFont(CustomFont) - Method in class com.github.hanyaeger.api.entities.impl.TextEntity
-
Set the
CustomFontto be used. - setFont(Font) - Method in class com.github.hanyaeger.api.entities.impl.TextEntity
-
Set the
Fontto be used. - setFrameIndex(int) - Method in class com.github.hanyaeger.core.entities.SpriteAnimationDelegate
-
Set the index of the sprite.
- setFrictionConstant(double) - Method in interface com.github.hanyaeger.api.entities.Newtonian
- setFrictionConstant(double) - Method in class com.github.hanyaeger.core.entities.motion.EntityMotionInitBuffer
-
Set the friction constant to be used.
- setFrictionConstant(double) - Method in class com.github.hanyaeger.core.entities.motion.MotionApplier
- setFrictionConstant(double) - Method in interface com.github.hanyaeger.core.entities.motion.NewtonianModifier
-
Set the friction constant to be used.
- setGameDimensions(Size) - Method in class com.github.hanyaeger.core.entities.Debugger
-
Set the dimensions of the game, which will be shown by the debugger.
- setGameTitle(String) - Method in class com.github.hanyaeger.api.YaegerGame
-
Set the title of the Game.
- setGravityConstant(double) - Method in interface com.github.hanyaeger.api.entities.Newtonian
- setGravityConstant(double) - Method in class com.github.hanyaeger.core.entities.motion.EntityMotionInitBuffer
-
Set the gravity constant to be used.
- setGravityConstant(double) - Method in class com.github.hanyaeger.core.entities.motion.MotionApplier
- setGravityConstant(double) - Method in interface com.github.hanyaeger.core.entities.motion.NewtonianModifier
-
Set the gravitational constant to be used.
- setGravityDirection(double) - Method in interface com.github.hanyaeger.api.entities.Newtonian
- setGravityDirection(double) - Method in class com.github.hanyaeger.core.entities.motion.EntityMotionInitBuffer
-
Set the gravity direction to be used.
- setGravityDirection(double) - Method in class com.github.hanyaeger.core.entities.motion.MotionApplier
- setGravityDirection(double) - Method in interface com.github.hanyaeger.core.entities.motion.NewtonianModifier
-
Set the gravitational direction used.
- setGroup(Group) - Method in class com.github.hanyaeger.api.entities.CompositeEntity
-
Set the
Groupthat is used within thisCompositeEntity. - setHeight(double) - Method in class com.github.hanyaeger.api.entities.impl.RectangleEntity
-
Set the height of the rectangle.
- setHorizontalRelativeScrollPosition(double) - Method in class com.github.hanyaeger.api.scenes.ScrollableDynamicScene
-
Set the horizontal scroll position of the scene to a relative value.
- setHorizontalScrollPosition(double) - Method in class com.github.hanyaeger.api.scenes.ScrollableDynamicScene
-
Set the horizontal scroll position of the scene.
- setHue(double) - Method in interface com.github.hanyaeger.core.Effectable
-
Set the hue of the
YaegerSceneorYaegerEntity. - setHue(double) - Method in class com.github.hanyaeger.core.YaegerGameObject
- setImageRepository(ImageRepository) - Method in class com.github.hanyaeger.api.entities.impl.SpriteEntity
-
Set the
ImageRepositoryto be used. - setImageRepository(ImageRepository) - Method in class com.github.hanyaeger.core.entities.Debugger
-
Set the
ImageRepository. - setImageRepository(ImageRepository) - Method in class com.github.hanyaeger.core.scenes.delegates.BackgroundDelegate
-
Set the
ImageRepositoryto be used for thisBackgroundDelegate. - setImageViewFactory(ImageViewFactory) - Method in class com.github.hanyaeger.api.entities.impl.SpriteEntity
-
Set the
ImageViewFactoryto be used. - setIntervalInMs(long) - Method in class com.github.hanyaeger.api.Timer
-
Set the interval in ms that should be used by this
Timer. - setKeyListenerDelegate(KeyListenerDelegate) - Method in class com.github.hanyaeger.api.scenes.StaticScene
-
Set the
KeyListenerthat should be used. - setLineFactory(LineFactory) - Method in class com.github.hanyaeger.core.scenes.delegates.CoordinateGridDelegate
- setMotion(double, double) - Method in interface com.github.hanyaeger.core.entities.motion.BufferedMovable
- setMotion(double, double) - Method in class com.github.hanyaeger.core.entities.motion.MotionApplier
- setMotion(double, double) - Method in interface com.github.hanyaeger.core.entities.motion.MotionModifier
-
Set the motion with which this
YaegerEntityis travelling. - setMotion(double, double) - Method in interface com.github.hanyaeger.core.entities.motion.Movable
- setMotion(double, Direction) - Method in interface com.github.hanyaeger.core.entities.motion.BufferedMovable
- setMotion(double, Direction) - Method in class com.github.hanyaeger.core.entities.motion.MotionApplier
- setMotion(double, Direction) - Method in interface com.github.hanyaeger.core.entities.motion.MotionModifier
-
Set the motion with which this
YaegerEntityis travelling. - setMotion(double, Direction) - Method in interface com.github.hanyaeger.core.entities.motion.Movable
- setMotionApplier(MotionApplier) - Method in class com.github.hanyaeger.api.entities.DynamicCompositeEntity
- setMotionApplier(MotionApplier) - Method in class com.github.hanyaeger.api.entities.impl.DynamicCircleEntity
- setMotionApplier(MotionApplier) - Method in class com.github.hanyaeger.api.entities.impl.DynamicEllipseEntity
- setMotionApplier(MotionApplier) - Method in class com.github.hanyaeger.api.entities.impl.DynamicRectangleEntity
- setMotionApplier(MotionApplier) - Method in class com.github.hanyaeger.api.entities.impl.DynamicSpriteEntity
- setMotionApplier(MotionApplier) - Method in class com.github.hanyaeger.api.entities.impl.DynamicTextEntity
- setMotionApplier(MotionApplier) - Method in class com.github.hanyaeger.core.entities.motion.EntityMotionInitBuffer
-
Set the
MotionApplierto be used when this buffer is initialized. - setMotionApplier(MotionApplier) - Method in interface com.github.hanyaeger.core.entities.motion.Movable
-
Set the
MotionApplierthat will be used. - setOpacity(double) - Method in class com.github.hanyaeger.api.entities.YaegerEntity
-
Specifies how opaque (that is, solid) the
YaegerEntityappears. - setPane(Pane) - Method in class com.github.hanyaeger.core.entities.EntitySupplier
- setPaneFactory(PaneFactory) - Method in class com.github.hanyaeger.api.scenes.ScrollableDynamicScene
- setPaneFactory(PaneFactory) - Method in class com.github.hanyaeger.api.scenes.StaticScene
-
Set the
PaneFactoryto be used. - setPreserveAspectRatio(boolean) - Method in class com.github.hanyaeger.api.entities.impl.SpriteEntity
-
Preserve the aspect ratio of the width and height of this
SpriteEntity. - setRadius(double) - Method in class com.github.hanyaeger.api.entities.impl.CircleEntity
-
Set the radius of the circle.
- setRadiusX(double) - Method in class com.github.hanyaeger.api.entities.impl.EllipseEntity
-
Set the horizontal radius of the ellipse.
- setRadiusY(double) - Method in class com.github.hanyaeger.api.entities.impl.EllipseEntity
-
Set the vertical radius of the ellipse.
- setRelativeScrollPosition(double, double) - Method in class com.github.hanyaeger.api.scenes.ScrollableDynamicScene
-
Set the scroll position of the scene to the relative x and y-value provided.
- setRootPane(Pane) - Method in class com.github.hanyaeger.api.entities.CompositeEntity
- setRootPane(Pane) - Method in class com.github.hanyaeger.api.entities.YaegerEntity
-
Set the root pane to which this
YaegerEntityis added. - setRotate(double) - Method in interface com.github.hanyaeger.api.entities.Rotatable
-
Set the rotation of the
YaegerEntityto the specified value. - setRotation(double) - Method in class com.github.hanyaeger.core.entities.motion.InitializationBuffer
-
Set the value of
rotation. - setRotationSpeed(double) - Method in interface com.github.hanyaeger.api.entities.ContinuousRotatable
-
Set the angle at which this
YaegerEntitywill bew rotated at each update. - setRotationSpeed(double) - Method in class com.github.hanyaeger.api.entities.DynamicCompositeEntity
- setRotationSpeed(double) - Method in class com.github.hanyaeger.api.entities.impl.DynamicCircleEntity
- setRotationSpeed(double) - Method in class com.github.hanyaeger.api.entities.impl.DynamicEllipseEntity
- setRotationSpeed(double) - Method in class com.github.hanyaeger.api.entities.impl.DynamicRectangleEntity
- setRotationSpeed(double) - Method in class com.github.hanyaeger.api.entities.impl.DynamicSpriteEntity
- setRotationSpeed(double) - Method in class com.github.hanyaeger.api.entities.impl.DynamicTextEntity
- setSaturation(double) - Method in interface com.github.hanyaeger.core.Effectable
-
Set the saturation of the
YaegerSceneorYaegerEntity. - setSaturation(double) - Method in class com.github.hanyaeger.core.YaegerGameObject
- setSceneCollectionFactory(SceneCollectionFactory) - Method in class com.github.hanyaeger.core.YaegerStage
-
Set the
SceneCollectionFactoryto be used whenever aSceneCollectionhas to be created. - setSceneFactory(SceneFactory) - Method in class com.github.hanyaeger.api.scenes.StaticScene
-
Set the
SceneFactorythat should be used to create aScene. - setSceneFactory(SceneFactory) - Method in class com.github.hanyaeger.core.YaegerStage
-
Set the
SceneFactoryto be used whenever aScenehas to be created. - setScrollPosition(Coordinate2D) - Method in class com.github.hanyaeger.api.scenes.ScrollableDynamicScene
-
Set the scroll position of the scene centered on the given
Coordinate2D. - setShape(T) - Method in class com.github.hanyaeger.core.entities.ShapeEntity
-
Set the actual
Shapeof typeShapeEntity. - setSize(Size) - Method in class com.github.hanyaeger.api.scenes.ScrollableDynamicScene
-
Set the
Size(e.g. - setSize(Size) - Method in class com.github.hanyaeger.api.YaegerGame
- setSize(Size) - Method in class com.github.hanyaeger.core.YaegerStage
- setSpeed(double) - Method in interface com.github.hanyaeger.core.entities.motion.BufferedMovable
- setSpeed(double) - Method in class com.github.hanyaeger.core.entities.motion.MotionApplier
- setSpeed(double) - Method in interface com.github.hanyaeger.core.entities.motion.MotionModifier
-
Set the speed.
- setSpeed(double) - Method in interface com.github.hanyaeger.core.entities.motion.Movable
- setSplashScreenFactory(SplashScreenFactory) - Method in class com.github.hanyaeger.core.SceneCollection
-
Set the
SplashScreenFactoryto be used. - setSpriteAnimationDelegateFactory(SpriteAnimationDelegateFactory) - Method in class com.github.hanyaeger.api.entities.impl.SpriteEntity
-
Set the
SpriteAnimationDelegateFactoryto be used. - setStage(Stage) - Method in class com.github.hanyaeger.api.scenes.StaticScene
- setStage(Stage) - Method in interface com.github.hanyaeger.api.scenes.YaegerScene
-
Set the
Stageon thisYaegerScene. - setStrokeColor(Color) - Method in class com.github.hanyaeger.core.entities.ShapeEntity
-
Set the color of the stroke to be used.
- setStrokeWidth(double) - Method in class com.github.hanyaeger.core.entities.ShapeEntity
-
Set the width of the stroke to be used.
- setSupplier(EntitySupplier) - Method in class com.github.hanyaeger.api.entities.EntitySpawner
-
Set the
EntitySupplierto be used. - setText(String) - Method in class com.github.hanyaeger.api.entities.impl.TextEntity
-
Set the
Stringthat should be shown. - setTextFactory(TextFactory) - Method in class com.github.hanyaeger.core.scenes.delegates.CoordinateGridDelegate
- setTileFactory(TileFactory) - Method in class com.github.hanyaeger.api.scenes.TileMap
-
Set the
TileFactoryto be used. - setTitle(String) - Method in class com.github.hanyaeger.core.YaegerStage
-
Set the title of the Game.
- setup(Pane) - Method in class com.github.hanyaeger.core.scenes.delegates.BackgroundDelegate
-
Set up the
Panebelonging to thisBackgroundDelegate. - setup(Pane) - Method in class com.github.hanyaeger.core.scenes.delegates.CoordinateGridDelegate
-
Set up the
Panebelonging to thisCoordinateGridDelegate. - setup(Pane, Scene) - Method in class com.github.hanyaeger.core.entities.Debugger
-
Set up the
Debuggeron the givenPane. - setup(Scene, KeyListener, YaegerConfig) - Method in class com.github.hanyaeger.core.scenes.delegates.KeyListenerDelegate
- setUpdater(Updater) - Method in class com.github.hanyaeger.api.entities.DynamicCompositeEntity
-
Set the
Updaterto be used. - setUpdater(Updater) - Method in class com.github.hanyaeger.api.entities.impl.DynamicCircleEntity
-
Set the
Updaterto be used. - setUpdater(Updater) - Method in class com.github.hanyaeger.api.entities.impl.DynamicEllipseEntity
-
Set the
Updaterto be used. - setUpdater(Updater) - Method in class com.github.hanyaeger.api.entities.impl.DynamicRectangleEntity
-
Set the
Updaterto be used. - setUpdater(Updater) - Method in class com.github.hanyaeger.api.entities.impl.DynamicSpriteEntity
-
Set the
Updaterto be used. - setUpdater(Updater) - Method in class com.github.hanyaeger.api.entities.impl.DynamicTextEntity
-
Set the
Updaterto be used. - setUpdater(Updater) - Method in class com.github.hanyaeger.api.scenes.DynamicScene
-
Set the
Updaterthat should be used. - setupEntities() - Method in class com.github.hanyaeger.api.entities.CompositeEntity
-
Implement this method to set up all instances of
YaegerEntitythat should be added to theCompositeEntitybefore activation. - setupEntities() - Method in class com.github.hanyaeger.api.scenes.TileMap
-
The lifecycle method
setupEntities()should be used to add the instances ofYaegerEntitythat should be used in thisTileMap. - setupEntities() - Method in interface com.github.hanyaeger.api.scenes.YaegerScene
-
Use this method to set up all instances of
YaegerEntitythat should be added to theYaegerScenebefore activation. - setupEntities() - Method in class com.github.hanyaeger.core.scenes.splash.SplashScene
- setupEntitySpawners() - Method in interface com.github.hanyaeger.api.EntitySpawnerContainer
-
Only instances of
EntitySpawnerthat are registered with the methodEntitySpawnerContainer.addEntitySpawner(EntitySpawner)within this method are registered and will receive an animation update. - setupGame() - Method in class com.github.hanyaeger.api.YaegerGame
-
Use this method to call the methods responsible for setting up the Yaeger Game.
- setupScene() - Method in interface com.github.hanyaeger.api.scenes.YaegerScene
-
Set up the
YaegerScene. - setupScene() - Method in class com.github.hanyaeger.core.scenes.splash.SplashScene
- setupScenes() - Method in class com.github.hanyaeger.api.YaegerGame
-
Use this method to add the instances of
YaegerScenethat make up the Game. - setupTileMaps() - Method in interface com.github.hanyaeger.api.scenes.TileMapContainer
-
Only instances of
Timerthat are registered with the methodTileMapContainer.addTileMap(TileMap)within this method are registered and will receive an animation update. - setupTimers() - Method in interface com.github.hanyaeger.api.TimerContainer
-
Only instances of
Timerthat are registered with the methodTimerContainer.addTimer(Timer)within this method are registered and will receive an animation update. - setupTimers() - Method in class com.github.hanyaeger.core.scenes.splash.SplashScene
- setVerticalRelativeScrollPosition(double) - Method in class com.github.hanyaeger.api.scenes.ScrollableDynamicScene
-
Set the vertical scroll position of the scene to a relative value.
- setVerticalScrollPosition(double) - Method in class com.github.hanyaeger.api.scenes.ScrollableDynamicScene
-
Set the vertical scroll position of the scene.
- setViewOrder(double) - Method in class com.github.hanyaeger.api.entities.YaegerEntity
-
Set the viewOrder of this
YaegerEntity. - setViewPortEntitySupplier(EntitySupplier) - Method in class com.github.hanyaeger.api.scenes.ScrollableDynamicScene
-
Set the
EntitySupplierthat should be used for the view port layer. - setVisible(boolean) - Method in class com.github.hanyaeger.api.entities.YaegerEntity
-
Change the visibility of this
YaegerEntity. - setVolume(double) - Method in class com.github.hanyaeger.api.media.SoundClip
-
Set the default volume level.
- setVolume(double) - Method in class com.github.hanyaeger.core.media.BackgroundAudioMediaPlayer
-
Sets the audio playback volume.
- setVolume(double) - Method in class com.github.hanyaeger.core.scenes.delegates.BackgroundDelegate
-
Set the volume of the background audio.
- setWidth(double) - Method in class com.github.hanyaeger.api.entities.impl.RectangleEntity
-
Set the width of the rectangle.
- shape - Variable in class com.github.hanyaeger.core.entities.ShapeEntity
-
The actual
Shapeof typeShapeEntityto be used - ShapeEntity<T> - Class in com.github.hanyaeger.core.entities
-
The
ShapeEntityis the abstract super class of all Entities that encapsulate a JavaFXShape. - ShapeEntity(Coordinate2D) - Constructor for class com.github.hanyaeger.core.entities.ShapeEntity
-
Instantiate a new
ShapeEntityfor the givenCoordinate2D. - showBoundingBox() - Method in record class com.github.hanyaeger.core.YaegerConfig
-
Returns the value of the
showBoundingBoxrecord component. - showDebug() - Method in record class com.github.hanyaeger.core.YaegerConfig
-
Returns the value of the
showDebugrecord component. - showGrid() - Method in record class com.github.hanyaeger.core.YaegerConfig
-
Returns the value of the
showGridrecord component. - showSplash() - Method in record class com.github.hanyaeger.core.YaegerConfig
-
Returns the value of the
showSplashrecord component. - size() - Method in record class com.github.hanyaeger.api.entities.impl.CustomFont
-
Returns the value of the
sizerecord component. - size() - Method in class com.github.hanyaeger.core.repositories.AudioRepository
-
Returns the number of key-value mappings in this map.
- size() - Method in class com.github.hanyaeger.core.repositories.ImageRepository
-
Returns the number of key-value mappings in this map.
- Size - Record Class in com.github.hanyaeger.api
- Size(double) - Constructor for record class com.github.hanyaeger.api.Size
- Size(double, double) - Constructor for record class com.github.hanyaeger.api.Size
-
Creates an instance of a
Sizerecord class. - SoundClip - Class in com.github.hanyaeger.api.media
-
A
SoundClipencapsulates a mp3 audio file. - SoundClip(String) - Constructor for class com.github.hanyaeger.api.media.SoundClip
-
Instantiate a new
SoundClipfor the given file, which should be played only once. - SoundClip(String, int) - Constructor for class com.github.hanyaeger.api.media.SoundClip
-
Instantiate a new
SoundClipfor the given file, which should be played for the given amount provided ofcycleCount. - spawn(YaegerEntity) - Method in class com.github.hanyaeger.api.entities.EntitySpawner
-
Spawn an
YaegerEntity. - spawnEntities() - Method in class com.github.hanyaeger.api.entities.EntitySpawner
-
This method is called after each interval in milliseconds as passed through the constructor of this
EntitySpawner. - SpeedProvider - Interface in com.github.hanyaeger.core.entities.motion
-
A
SpeedProviderexposes a method to acquire the speed. - SplashScene - Class in com.github.hanyaeger.core.scenes.splash
-
A Splash Screen, being an instance of
YaegerScenethat will be shown a given number of milliseconds at the start of aYaegerGame. - SplashScreenFactory - Class in com.github.hanyaeger.core.scenes.splash
-
The factory to be used for creating instances of
SplashScene. - SplashScreenFactory() - Constructor for class com.github.hanyaeger.core.scenes.splash.SplashScreenFactory
- SpriteAnimationDelegate - Class in com.github.hanyaeger.core.entities
-
A
SpriteAnimationDelegateholds all responsibility related to Sprites that contain multiple images. - SpriteAnimationDelegate(ImageView, int, int) - Constructor for class com.github.hanyaeger.core.entities.SpriteAnimationDelegate
-
Create a new
SpriteAnimationDelegatefor the givenImageViewand number of rows and columns. - SpriteAnimationDelegateFactory - Class in com.github.hanyaeger.core.factories.image
-
A
SpriteAnimationDelegateFactoryis responsible for creating an instance of aSpriteAnimationDelegate. - SpriteAnimationDelegateFactory() - Constructor for class com.github.hanyaeger.core.factories.image.SpriteAnimationDelegateFactory
- SpriteEntity - Class in com.github.hanyaeger.api.entities.impl
-
A
SpriteEntityis aYaegerEntitythat is represented by an Image. - SpriteEntity(String, Coordinate2D) - Constructor for class com.github.hanyaeger.api.entities.impl.SpriteEntity
-
Instantiate a new
SpriteEntityfor an image with the givenresource. - SpriteEntity(String, Coordinate2D, int, int) - Constructor for class com.github.hanyaeger.api.entities.impl.SpriteEntity
-
Instantiate a new
SpriteEntityfor a given image. - SpriteEntity(String, Coordinate2D, Size) - Constructor for class com.github.hanyaeger.api.entities.impl.SpriteEntity
-
Instantiate a new
SpriteEntityfor a given image. - SpriteEntity(String, Coordinate2D, Size, int, int) - Constructor for class com.github.hanyaeger.api.entities.impl.SpriteEntity
-
Instantiate a new
SpriteEntityfor a given image. - start(Stage) - Method in class com.github.hanyaeger.api.YaegerGame
- StaticScene - Class in com.github.hanyaeger.api.scenes
-
A
StaticSceneis the abstract superclass of all scenes that do not require a Game Loop. - StaticScene() - Constructor for class com.github.hanyaeger.api.scenes.StaticScene
- StatisticsObserver - Interface in com.github.hanyaeger.core.entities
-
A
StatisticsObserverwill function as theObserverfrom the Observable-pattern, for changes in theEntityCollectionStatistics. - stop() - Method in class com.github.hanyaeger.api.media.SoundClip
-
Stop playing the file.
- stopBackgroundAudio() - Method in class com.github.hanyaeger.api.scenes.StaticScene
- stopBackgroundAudio() - Method in interface com.github.hanyaeger.api.scenes.YaegerScene
-
Stop playing the background audio.
- stopBackgroundAudio() - Method in class com.github.hanyaeger.api.YaegerGame
-
Stop playing the background audio.
- stopBackgroundAudio() - Method in class com.github.hanyaeger.core.media.BackgroundAudioMediaPlayer
-
Stop playing the background audio.
- stopBackgroundAudio() - Method in class com.github.hanyaeger.core.scenes.delegates.BackgroundDelegate
-
Stop playing the background audio.
- subtract(Coordinate2D) - Method in class com.github.hanyaeger.api.Coordinate2D
-
Return a
Coordinate2Dwith the coordinates of the specified point subtracted from the coordinates of thisCoordinate2D.
T
- tearDown(Scene) - Method in class com.github.hanyaeger.core.scenes.delegates.KeyListenerDelegate
-
Tear down this
KeyListenerDelegateby removing the listeners from theScene. - TEXT_COLOR - Static variable in class com.github.hanyaeger.core.scenes.delegates.CoordinateGridDelegate
- TextEntity - Class in com.github.hanyaeger.api.entities.impl
-
A
TextEntitycan be used to display a line of text on aYaegerScene. - TextEntity(Coordinate2D) - Constructor for class com.github.hanyaeger.api.entities.impl.TextEntity
-
Create a new empty
TextEntityon the giveninitialLocation. - TextEntity(Coordinate2D, String) - Constructor for class com.github.hanyaeger.api.entities.impl.TextEntity
-
Create a new
TextEntityon the givenPoint2Dfor the given text. - TextFactory - Class in com.github.hanyaeger.core.factories
-
An
LineFactoryshould be used for creating instance ofLine. - TextFactory() - Constructor for class com.github.hanyaeger.core.factories.TextFactory
- TileFactory - Class in com.github.hanyaeger.core.factories
-
The
TileFactoryshould be used for creating instances ofYaegerEntitythat will be part of aTileMap. - TileFactory() - Constructor for class com.github.hanyaeger.core.factories.TileFactory
- TileMap - Class in com.github.hanyaeger.api.scenes
-
A
TileMapencapsulate a two-dimensional map of instances ofYaegerEntity, which should be added to aYaegerScene. - TileMap() - Constructor for class com.github.hanyaeger.api.scenes.TileMap
-
Create a new
TileMapthat takes up the full width and height of theYaegerScene. - TileMap(Coordinate2D, Size) - Constructor for class com.github.hanyaeger.api.scenes.TileMap
-
Create a new
TileMapwith the given width and height, placed on the given x and y. - TileMapContainer - Interface in com.github.hanyaeger.api.scenes
-
Implementing this interface exposes the
TileMapContainer.addTileMap(TileMap)method. - TimeableAnimationTimer - Class in com.github.hanyaeger.core.factories.animationtimer
-
An
AnimationTimerthat calls itshandle()method on the given interval, and not the default on each frame. - TimeableAnimationTimer(long) - Constructor for class com.github.hanyaeger.core.factories.animationtimer.TimeableAnimationTimer
-
Creat a new
TimeableAnimationTimerfor the given interval time in milliseconds. - TimeableAnimationTimerHandler - Interface in com.github.hanyaeger.core.factories.animationtimer
-
A Functional Interface to be used for the handler of a
AnimationTimer. - Timer - Class in com.github.hanyaeger.api
-
The abstract superclass of all timers that are available for both
YaegerSceneandYaegerEntity. - Timer(long) - Constructor for class com.github.hanyaeger.api.Timer
-
Create a new instance of
Timerfor the given interval in milliseconds. - TimerContainer - Interface in com.github.hanyaeger.api
- TimerListProvider - Interface in com.github.hanyaeger.core
-
Implementing the
TimerListProviderinterface guarantees that aListof instances ofTimeris available. - TOP - Enum constant in enum class com.github.hanyaeger.api.scenes.SceneBorder
-
The top of the
YaegerScene. - TOP_CENTER - Enum constant in enum class com.github.hanyaeger.api.AnchorPoint
-
Use the top-center point of the bounding box as the Anchor Point.
- TOP_LEFT - Enum constant in enum class com.github.hanyaeger.api.AnchorPoint
-
Use the top-left corner of the bounding box as the Anchor Point.
- TOP_RIGHT - Enum constant in enum class com.github.hanyaeger.api.AnchorPoint
-
Use the top-right corner of the bounding box as the Anchor Point.
- toString() - Method in record class com.github.hanyaeger.api.entities.FiniteAnimation
-
Returns a string representation of this record class.
- toString() - Method in record class com.github.hanyaeger.api.entities.FiniteAnimationWithCallBack
-
Returns a string representation of this record class.
- toString() - Method in record class com.github.hanyaeger.api.entities.impl.CustomFont
-
Returns a string representation of this record class.
- toString() - Method in record class com.github.hanyaeger.api.entities.LinkedAnimation
-
Returns a string representation of this record class.
- toString() - Method in record class com.github.hanyaeger.api.entities.LinkedAnimationWithCallBack
-
Returns a string representation of this record class.
- toString() - Method in record class com.github.hanyaeger.api.entities.LoopingAnimation
-
Returns a string representation of this record class.
- toString() - Method in record class com.github.hanyaeger.api.Size
-
Returns a string representation of this record class.
- toString() - Method in record class com.github.hanyaeger.core.YaegerConfig
-
Returns a string representation of this record class.
- transferCoordinatesToNode() - Method in class com.github.hanyaeger.api.entities.CompositeEntity
-
Because the
Groupencapsulates the child nodes and itsBoundingBoxdepends on the space and location of those child nodes, first the child nodes receive their coordinates and transformations. - transferCoordinatesToNode() - Method in class com.github.hanyaeger.api.entities.YaegerEntity
- transferCoordinatesToNode() - Method in interface com.github.hanyaeger.core.entities.Placeable
-
Transfer the x and y-coordinate of this
YaegerEntityto its JavaFXNodeand apply the requested transformations.
U
- unQueueAnimation() - Method in class com.github.hanyaeger.core.entities.SpriteAnimationDelegate
-
Call this method to un-queue the
Animationthat is currently queued. - unQueueAnimation(Animation) - Method in class com.github.hanyaeger.core.entities.SpriteAnimationDelegate
-
Call this method to un-queue the specific
Animation, if it is currently queued. - UP - Enum constant in enum class com.github.hanyaeger.api.entities.Direction
-
The upward direction, of which the numeric value is 180 degrees.
- UP_LEFT - Enum constant in enum class com.github.hanyaeger.api.entities.Direction
-
The diagonal direction to the left up, of which the numeric value is 225 degrees.
- UP_RIGHT - Enum constant in enum class com.github.hanyaeger.api.entities.Direction
-
The diagonal direction to the right up, of which the numeric value is 135 degrees.
- Updatable - Interface in com.github.hanyaeger.core
-
Implement this interface to be updated every cycle of the game loop.
- UpdatableProvider - Annotation Interface in com.github.hanyaeger.core.annotations
-
A method annotated with
UpdatableProvidershould return anUpdatableand will automatically be called during activation of anYaegerEntityorYaegerSceneto gathers all objects that contain anUpdatable.update(long)method that should be called at each Game world update. - update(long) - Method in class com.github.hanyaeger.api.entities.DynamicCompositeEntity
- update(long) - Method in class com.github.hanyaeger.api.entities.impl.DynamicCircleEntity
- update(long) - Method in class com.github.hanyaeger.api.entities.impl.DynamicEllipseEntity
- update(long) - Method in class com.github.hanyaeger.api.entities.impl.DynamicRectangleEntity
- update(long) - Method in class com.github.hanyaeger.api.entities.impl.DynamicSpriteEntity
- update(long) - Method in class com.github.hanyaeger.api.entities.impl.DynamicTextEntity
- update(long) - Method in class com.github.hanyaeger.api.scenes.DynamicScene
- update(long) - Method in class com.github.hanyaeger.core.entities.EntityCollection
-
Perform all operations required during one cycle of the Game Loop, being: Collect garbage All EntityCollection that have been marked as Garbage will be removed.
- update(long) - Method in class com.github.hanyaeger.core.entities.SpriteAnimationDelegate
- update(long) - Method in interface com.github.hanyaeger.core.Updatable
-
The update() method is called each frame.
- update(long) - Method in class com.github.hanyaeger.core.Updater
- update(EntityCollectionStatistics, long) - Method in class com.github.hanyaeger.core.entities.Debugger
-
Update the content of the
Debugger. - update(EntityCollectionStatistics, long) - Method in interface com.github.hanyaeger.core.entities.StatisticsObserver
-
Is called by the observed
EntityCollection. - UpdateDelegator - Interface in com.github.hanyaeger.core
- UpdateExposer - Interface in com.github.hanyaeger.api
-
An
UpdateExposercan be applied to any dynamicYaegerEntityorYaegerSceneand makes it possible to explicitly use the GWU. - updateLocation() - Method in interface com.github.hanyaeger.core.entities.motion.Movable
-
Return the
Updatableto be called on each Game World Update. - updateLocation(Point2D) - Method in interface com.github.hanyaeger.core.entities.motion.LocationUpdater
-
Perform an update.
- updateLocation(Point2D) - Method in class com.github.hanyaeger.core.entities.motion.MotionApplier
- Updater - Class in com.github.hanyaeger.core
- Updater() - Constructor for class com.github.hanyaeger.core.Updater
V
- valueOf(double) - Static method in enum class com.github.hanyaeger.api.entities.Direction
-
Return the enumeration of type
Directionfor the given numeric value. - valueOf(String) - Static method in enum class com.github.hanyaeger.api.AnchorPoint
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.github.hanyaeger.api.entities.Direction
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.github.hanyaeger.api.scenes.SceneBorder
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.github.hanyaeger.api.AnchorPoint
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.github.hanyaeger.api.entities.Direction
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.github.hanyaeger.api.scenes.SceneBorder
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VIEW_ORDER_COORDINATE_GRID - Static variable in class com.github.hanyaeger.core.ViewOrders
-
The default value for the viewOrder for the Coordinate grid that is shown when the commandline option
--showGridis being used. - VIEW_ORDER_DEBUGGER - Static variable in class com.github.hanyaeger.core.ViewOrders
-
Since the debugger should be visible in all cases, it should have an exceptionally low view order.
- VIEW_ORDER_ENTITY_DEFAULT - Static variable in class com.github.hanyaeger.core.ViewOrders
-
The default value for the viewOrder for instances of
YaegerEntity. - VIEW_ORDER_ENTITY_DEFAULT_BEHIND - Static variable in class com.github.hanyaeger.core.ViewOrders
-
The default value for the viewOrder for instances of
YaegerEntitythat are part of aTileMap. - VIEW_ORDER_ENTITY_STICKY - Static variable in class com.github.hanyaeger.core.ViewOrders
-
The default value for the viewOrder for instances of
YaegerEntity. - VIEW_ORDER_SCROLLPANE - Static variable in class com.github.hanyaeger.core.ViewOrders
-
In case of a
ScrollableDynamicScene, theScrollPaneshould be placed behind thePanethat is to be used for sticky instances ofNode. - VIEW_ORDER_STICKYPANE - Static variable in class com.github.hanyaeger.core.ViewOrders
-
In case of a
ScrollableDynamicScene, theScrollPaneshould be placed behind thePanethat is to be used for sticky instances ofNode. - ViewOrders - Class in com.github.hanyaeger.core
-
All constants that are related to the view order of any
Nodethat is to be part of aYaegerGame.
W
- watchForBoundaryCrossing() - Method in interface com.github.hanyaeger.api.entities.SceneBorderCrossingWatcher
-
Return an
Updatablethat checks if any of the boundaries has been crossed on eachUpdatable.update(long) - watchForBoundaryTouching() - Method in interface com.github.hanyaeger.api.entities.SceneBorderTouchingWatcher
-
Return an
Updatablethat checks if any of the boundaries has been touched on eachUpdatable.update(long) - width() - Method in record class com.github.hanyaeger.api.Size
-
Returns the value of the
widthrecord component.
Y
- YaegerAnimationTimer - Class in com.github.hanyaeger.core
-
A specific implementation of
AnimationTimerthat limits the call toYaegerAnimationTimer.handle(long)to 60 times per second. - YaegerAnimationTimer(boolean) - Constructor for class com.github.hanyaeger.core.YaegerAnimationTimer
-
Create a new
YaegerAnimationTimer, which adds the option of maximizing the timing interval to 60 times per second, as opposed to the defaultAnimationTimer. - YaegerCommandLineParser - Class in com.github.hanyaeger.core
-
The commandline parser will parse the
String[]provided as command line arguments during start up to aYaegerConfig. - YaegerCommandLineParser() - Constructor for class com.github.hanyaeger.core.YaegerCommandLineParser
- YaegerConfig - Record Class in com.github.hanyaeger.core
-
An encapsulation of the various configuration settings that can be applied to a Yaeger game at start-up.
- YaegerConfig(boolean, boolean, boolean, boolean, boolean, boolean) - Constructor for record class com.github.hanyaeger.core.YaegerConfig
-
Creates an instance of a
YaegerConfigrecord class. - YaegerEntity - Class in com.github.hanyaeger.api.entities
-
A
YaegerEntityis the base class for all things that can be drawn on aYaegerScene. - YaegerEntity(Coordinate2D) - Constructor for class com.github.hanyaeger.api.entities.YaegerEntity
-
Create a new
YaegerEntityon the givenCoordinate2D. - YaegerGame - Class in com.github.hanyaeger.api
-
YaegerGameis the base class that must be extended to create a Yaeger game. - YaegerGame() - Constructor for class com.github.hanyaeger.api.YaegerGame
- YaegerGameObject - Class in com.github.hanyaeger.core
-
The abstract base class of both the
YaegerEntityandStaticSceneand contains the shared behaviour. - YaegerGameObject() - Constructor for class com.github.hanyaeger.core.YaegerGameObject
- YaegerScene - Interface in com.github.hanyaeger.api.scenes
-
A
YaegerSceneencapsulates a scene or level from aYaeger Game. - YaegerStage - Class in com.github.hanyaeger.core
-
A
YaegerStageencapsulates an JavaFXStage. - YaegerStage(YaegerGame, Stage, YaegerConfig) - Constructor for class com.github.hanyaeger.core.YaegerStage
-
Create a new
YaegerStagewith the given parameters.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form