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 TypeClassDescriptionclassWhen a group of entities is combined to create a singleYaegerEntity, they are a composition and this class should be used to perform that composition.classWhen 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 voidCompositeEntity.addEntity(YaegerEntity yaegerEntity) Add anYaegerEntityto thisYaegerScene.doubleYaegerEntity.angleTo(YaegerEntity entity) Computes the angle (in degrees) between the unit vector that originates at thegetAnchorLocation()point of thisYaegerEntityand the vector with its origin at that samegetAnchorLocation()that points towards thegetAnchorLocation()of the specifiedYaegerEntity.doubleYaegerEntity.distanceTo(YaegerEntity entity) Calculates the distance to a givenYaegerEntity.protected voidEntitySpawner.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 TypeClassDescriptionclassACircleEntityprovides the option to use a drawable Circle as anYaegerEntity.classAnDynamicCircleEntityextends all behaviour of aCircleEntity, but also implements theUpdatableInterface.classAnDynamicEllipseEntityextends all behaviour of aEllipseEntity, but also implements theUpdatableInterface.classAnDynamicRectangleEntityextends all behaviour of aRectangleEntity, but also implements theUpdatableInterface.classADynamicSpriteEntityextends all behaviour of aSpriteEntity, but also implements theUpdatableInterface.classAnDynamicTextEntityextends all behaviour of aTextEntity, but also implements theUpdatableInterface.classAnEllipseEntityprovides the option to use a drawable Ellipse as aYaegerEntity.classARectangleEntityprovides the option to use a drawable Rectangle as anYaegerEntity.classASpriteEntityis aYaegerEntitythat is represented by an Image.classATextEntitycan 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 ofYaegerEntitythat contains the instances created by thisTileMap.Methods in com.github.hanyaeger.api.scenes with parameters of type YaegerEntityModifier and TypeMethodDescriptionprotected voidScrollableDynamicScene.addEntity(YaegerEntity yaegerEntity, boolean stickyOnViewport) Add anYaegerEntityto thisYaegerScene.protected voidStaticScene.addEntity(YaegerEntity yaegerEntity) Add anYaegerEntityto thisYaegerScene.Method parameters in com.github.hanyaeger.api.scenes with type arguments of type YaegerEntityModifier and TypeMethodDescriptionvoidTileMap.addEntity(int identifier, Class<? extends YaegerEntity> entityClass) <C> voidTileMap.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 TypeClassDescriptionclassCenteredShapeEntity<T extends javafx.scene.shape.Shape>ACenteredShapeEntityis a special case of aShapeEntity, based on aShapeof which the center is the reference point when placed on aScene.classShapeEntity<T extends javafx.scene.shape.Shape>TheShapeEntityis 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 aListof instances ofYaegerEntity.Class<? extends YaegerEntity> EntityConfiguration.getEntityClass()Return theClassof theYaegerEntity.Methods in com.github.hanyaeger.core.entities with parameters of type YaegerEntityModifier and TypeMethodDescriptionvoidEntityCollection.addStaticEntity(YaegerEntity staticEntity) Add a Static Entity to thisEntityCollection.voidEntityProcessor.process(YaegerEntity yaegerEntity) Process the givenYaegerEntity.booleanCollisionDelegate.register(YaegerEntity entity) Register anYaegerEntityto 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 newEntityConfigurationfor 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> YaegerEntityTileFactory.create(EntityConfiguration<C> entityConfiguration, Coordinate2D location, Size size) Create an instance ofYaegerEntitywith anEntityConfigurationof the given typeTileFactorywith the given parameters.TileFactory.create(Class<? extends YaegerEntity> entityClass, Coordinate2D location, Size size) Create an instance ofYaegerEntitywith 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 ofYaegerEntitywith the given parameters.