Module hanyaeger
Package com.github.hanyaeger.api.entities
package com.github.hanyaeger.api.entities
All classes, interfaces and enumerations that are related to entities and their behaviour. The various
abstract classes of actual entities are available in the subpackage
impl/.-
ClassDescriptionAn
Animationencapsulate an animation that uses only a selection of the frames from a sprite sheet.When used with anAnimationthat support a callback, this interface should be implemented by the object that supplies the callback-method.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.When implementing this Interface, aYaegerEntitywill acquire the behaviour to perform a rotation on each Game World update, and thus give the illusion of a continuous rotation.Convenience enum for setting theDirection.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.AnEntitySpawneris the abstract superclass that should be extended to create an object that spawns a subclass ofYaegerEntity.Implementing this interface will result in de availability of theRotatable.setRotate(double)method.Implement this interface to be notified if theYaegerEntitycrosses the boundary of theYaegerScene.Implement this interface to be notified if theYaegerEntitytouches the boundary of theYaegerScene.AYaegerEntityis the base class for all things that can be drawn on aYaegerScene.