Class EntityControllers
java.lang.Object
de.gurkenlabs.litiengine.entities.EntityControllers
public final class EntityControllers
extends java.lang.ObjectThis class holds all controllers for the entities in the game. It is used as
a single hub to access and manage all the controllers.
Method Summary
Modifier and Type Method Description <T extends IEntityController>
voidaddController(T controller)voidattachAll()<T extends IEntityController>
voidclearControllers(java.lang.Class<T> clss)voiddetachAll()IEntityAnimationControllergetAnimationController()<T extends IEntityController>
TgetController(java.lang.Class<T> clss)<T extends IEntityController>
voidsetController(java.lang.Class<T> clss, T controller)
Method Details
getAnimationController
getController
clearControllers
addController
setController
detachAll
public void detachAll()attachAll
public void attachAll()
