Class ShapeUpdater
java.lang.Object
com.badlogic.ashley.core.EntitySystem
com.badlogic.ashley.systems.IteratingSystem
gaiasky.scene.system.update.AbstractUpdateSystem
gaiasky.scene.system.update.ShapeUpdater
- All Implemented Interfaces:
EntityUpdater
Updates shape entities, managing their transformations and visualization.
-
Field Summary
Fields inherited from class com.badlogic.ashley.core.EntitySystem
priority -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprocessEntity(com.badlogic.ashley.core.Entity entity, float deltaTime) voidupdateEntity(com.badlogic.ashley.core.Entity entity, float deltaTime) Updates the entity.Methods inherited from class com.badlogic.ashley.systems.IteratingSystem
addedToEngine, getEntities, getFamily, removedFromEngine, updateMethods inherited from class com.badlogic.ashley.core.EntitySystem
checkProcessing, getEngine, setProcessingMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface EntityUpdater
getFamilyModifier and TypeMethodDescriptioncom.badlogic.ashley.core.FamilyReturns the family for this updater.
-
Constructor Details
-
ShapeUpdater
public ShapeUpdater(com.badlogic.ashley.core.Family family, int priority)
-
-
Method Details
-
processEntity
protected void processEntity(com.badlogic.ashley.core.Entity entity, float deltaTime) - Specified by:
processEntityin classcom.badlogic.ashley.systems.IteratingSystem
-
updateEntity
public void updateEntity(com.badlogic.ashley.core.Entity entity, float deltaTime) Description copied from interface:EntityUpdaterUpdates the entity.- Parameters:
entity- The entity to update.deltaTime- The delta time since last frame.
-