Class UpdateSystem
java.lang.Object
dev.prozilla.pine.core.system.SystemBase
dev.prozilla.pine.core.system.update.UpdateSystemBase
dev.prozilla.pine.core.system.update.UpdateSystem
- All Implemented Interfaces:
Lifecycle
- Direct Known Subclasses:
CameraControlUpdater
,CanvasGroupArranger
,CanvasGroupResizer
,FrameResizer
,ImageButtonResizer
,ImageResizer
,ParticleUpdater
,RectUpdater
,TextButtonResizer
,TextResizer
,TileMover
System for updating entity data.
-
Field Summary
FieldsFields inherited from class dev.prozilla.pine.core.system.SystemBase
application, logger, scene, world
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
process
(EntityChunk chunk, float deltaTime) Updates a single entity's data, each frame.final void
update
(float deltaTime) Updates each entity's data, each frame.Methods inherited from class dev.prozilla.pine.core.system.SystemBase
forEach, forEachReverse, hasEntityChunks, initSystem, print, register, requireTag, setExcludedComponentTypes, sort, unregister
-
Field Details
-
timeScale
protected float timeScale
-
-
Constructor Details
-
UpdateSystem
-
-
Method Details
-
update
public final void update(float deltaTime) Description copied from class:UpdateSystemBase
Updates each entity's data, each frame.- Specified by:
update
in interfaceLifecycle
- Specified by:
update
in classUpdateSystemBase
- Parameters:
deltaTime
- Delta time in seconds
-
process
Updates a single entity's data, each frame.- Parameters:
chunk
- Entity that matches this system's querydeltaTime
- Delta time in seconds
-