Uses of Class
com.github.hanyaeger.api.entities.YaegerEntity
Packages that use YaegerEntity
Package
Description
All classes, interfaces and enumerations that are related to entities and their behaviour.
All (abstract) implementations of
YaegerEntity
that can be
used on a YaegerScene
.All classes, interfaces and enumerations that are related to scenes.
-
Uses of YaegerEntity in com.github.hanyaeger.api.entities
Subclasses of YaegerEntity in com.github.hanyaeger.api.entitiesModifier and TypeClassDescriptionclass
When a group of entities is combined to create a singleYaegerEntity
, they are a composition and this class should be used to perform that composition.class
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.Methods in com.github.hanyaeger.api.entities with parameters of type YaegerEntityModifier and TypeMethodDescriptionprotected void
CompositeEntity.addEntity
(YaegerEntity yaegerEntity) Add anYaegerEntity
to thisYaegerScene
.double
YaegerEntity.angleTo
(YaegerEntity entity) Computes the angle (in degrees) between the unit vector that originates at thegetAnchorLocation()
point of thisYaegerEntity
and the vector with its origin at that samegetAnchorLocation()
that points towards thegetAnchorLocation()
of the specifiedYaegerEntity
.double
YaegerEntity.distanceTo
(YaegerEntity entity) Calculates the distance to a givenYaegerEntity
.protected void
EntitySpawner.spawn
(YaegerEntity entity) Spawn anYaegerEntity
. -
Uses of YaegerEntity in com.github.hanyaeger.api.entities.impl
Subclasses of YaegerEntity in com.github.hanyaeger.api.entities.implModifier and TypeClassDescriptionclass
ACircleEntity
provides the option to use a drawable Circle as anYaegerEntity
.class
AnDynamicCircleEntity
extends all behaviour of aCircleEntity
, but also implements theUpdatable
Interface.class
AnDynamicEllipseEntity
extends all behaviour of aEllipseEntity
, but also implements theUpdatable
Interface.class
AnDynamicRectangleEntity
extends all behaviour of aRectangleEntity
, but also implements theUpdatable
Interface.class
ADynamicSpriteEntity
extends all behaviour of aSpriteEntity
, but also implements theUpdatable
Interface.class
AnDynamicTextEntity
extends all behaviour of aTextEntity
, but also implements theUpdatable
Interface.class
AnEllipseEntity
provides the option to use a drawable Ellipse as aYaegerEntity
.class
ARectangleEntity
provides the option to use a drawable Rectangle as anYaegerEntity
.class
ASpriteEntity
is aYaegerEntity
that is represented by an Image.class
ATextEntity
can be used to display a line of text on aYaegerScene
. -
Uses of YaegerEntity in com.github.hanyaeger.api.scenes
Methods in com.github.hanyaeger.api.scenes that return YaegerEntityModifier and TypeMethodDescriptionYaegerEntity[][]
TileMap.getInstanceMap()
Return a two-dimensional array of instances ofYaegerEntity
that contains the instances created by thisTileMap
.Methods in com.github.hanyaeger.api.scenes with parameters of type YaegerEntityModifier and TypeMethodDescriptionprotected void
ScrollableDynamicScene.addEntity
(YaegerEntity yaegerEntity, boolean stickyOnViewport) Add anYaegerEntity
to thisYaegerScene
.protected void
StaticScene.addEntity
(YaegerEntity yaegerEntity) Add anYaegerEntity
to thisYaegerScene
.Method parameters in com.github.hanyaeger.api.scenes with type arguments of type YaegerEntityModifier and TypeMethodDescriptionvoid
TileMap.addEntity
(int identifier, Class<? extends YaegerEntity> entityClass) <C> void
TileMap.addEntity
(int identifier, Class<? extends YaegerEntity> entityClass, C configuration) -
Uses of YaegerEntity in com.github.hanyaeger.core.entities
Subclasses of YaegerEntity in com.github.hanyaeger.core.entitiesModifier and TypeClassDescriptionclass
CenteredShapeEntity<T extends javafx.scene.shape.Shape>
ACenteredShapeEntity
is a special case of aShapeEntity
, based on aShape
of which the center is the reference point when placed on aScene
.class
ShapeEntity<T extends javafx.scene.shape.Shape>
TheShapeEntity
is the abstract super class of all Entities that encapsulate a JavaFXShape
.Methods in com.github.hanyaeger.core.entities that return types with arguments of type YaegerEntityModifier and TypeMethodDescriptionEntitySupplier.get()
Return aList
of instances ofYaegerEntity
.Class
<? extends YaegerEntity> EntityConfiguration.getEntityClass()
Return theClass
of theYaegerEntity
.Methods in com.github.hanyaeger.core.entities with parameters of type YaegerEntityModifier and TypeMethodDescriptionvoid
EntityCollection.addStaticEntity
(YaegerEntity staticEntity) Add a Static Entity to thisEntityCollection
.void
EntityProcessor.process
(YaegerEntity yaegerEntity) Process the givenYaegerEntity
.boolean
CollisionDelegate.register
(YaegerEntity entity) Register anYaegerEntity
to be evaluated for collision detection.Constructor parameters in com.github.hanyaeger.core.entities with type arguments of type YaegerEntityModifierConstructorDescriptionEntityConfiguration
(Class<? extends YaegerEntity> entityClass) Create a newEntityConfiguration
for the givenClass
.EntityConfiguration
(Class<? extends YaegerEntity> entityClass, C configuration) -
Uses of YaegerEntity in com.github.hanyaeger.core.factories
Methods in com.github.hanyaeger.core.factories that return YaegerEntityModifier and TypeMethodDescription<C> YaegerEntity
TileFactory.create
(EntityConfiguration<C> entityConfiguration, Coordinate2D location, Size size) Create an instance ofYaegerEntity
with anEntityConfiguration
of the given typeTileFactory
with the given parameters.TileFactory.create
(Class<? extends YaegerEntity> entityClass, Coordinate2D location, Size size) Create an instance ofYaegerEntity
with the given parameters.Method parameters in com.github.hanyaeger.core.factories with type arguments of type YaegerEntityModifier and TypeMethodDescriptionTileFactory.create
(Class<? extends YaegerEntity> entityClass, Coordinate2D location, Size size) Create an instance ofYaegerEntity
with the given parameters.