Package gaiasky.scene.system.update
Class ModelUpdater
java.lang.Object
com.badlogic.ashley.core.EntitySystem
com.badlogic.ashley.systems.IteratingSystem
gaiasky.scene.system.update.AbstractUpdateSystem
gaiasky.scene.system.update.ModelUpdater
- All Implemented Interfaces:
EntityUpdater
-
Field Summary
Fields inherited from class com.badlogic.ashley.core.EntitySystem
priority
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
processEntity
(com.badlogic.ashley.core.Entity entity, float deltaTime) void
setToLocalTransform
(com.badlogic.ashley.core.Entity entity, Body body, GraphNode graph, float size, float sizeFactor, com.badlogic.gdx.math.Matrix4 localTransform, boolean forceUpdate) void
setToLocalTransform
(com.badlogic.ashley.core.Entity entity, Body body, GraphNode graph, float sizeFactor, com.badlogic.gdx.math.Matrix4 localTransform, boolean forceUpdate) void
updateEntity
(com.badlogic.ashley.core.Entity entity, float deltaTime) Updates the entity.protected void
updateLocalTransform
(com.badlogic.ashley.core.Entity entity, Body body, GraphNode graph, ModelScaffolding scaffolding) Methods inherited from class com.badlogic.ashley.systems.IteratingSystem
addedToEngine, getEntities, getFamily, removedFromEngine, update
Methods inherited from class com.badlogic.ashley.core.EntitySystem
checkProcessing, getEngine, setProcessing
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface gaiasky.scene.system.update.EntityUpdater
getFamily
-
Constructor Details
-
ModelUpdater
public ModelUpdater(com.badlogic.ashley.core.Family family, int priority)
-
-
Method Details
-
processEntity
protected void processEntity(com.badlogic.ashley.core.Entity entity, float deltaTime) - Specified by:
processEntity
in classcom.badlogic.ashley.systems.IteratingSystem
-
updateEntity
public void updateEntity(com.badlogic.ashley.core.Entity entity, float deltaTime) Description copied from interface:EntityUpdater
Updates the entity.- Parameters:
entity
- The entity to update.deltaTime
- The delta time since last frame.
-
updateLocalTransform
protected void updateLocalTransform(com.badlogic.ashley.core.Entity entity, Body body, GraphNode graph, ModelScaffolding scaffolding) -
setToLocalTransform
-
setToLocalTransform
-