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
Animation
encapsulate an animation that uses only a selection of the frames from a sprite sheet.When used with anAnimation
that 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, aYaegerEntity
will 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.AnEntitySpawner
is 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 theYaegerEntity
crosses the boundary of theYaegerScene
.Implement this interface to be notified if theYaegerEntity
touches the boundary of theYaegerScene
.AYaegerEntity
is the base class for all things that can be drawn on aYaegerScene
.