Class UpdateSystem

All Implemented Interfaces:
Lifecycle
Direct Known Subclasses:
AnimationUpdater, CameraControlUpdater, DynamicTextUpdater, FrameResizer, LayoutNodeArranger, LayoutNodeResizer, LayoutNodeStyler, NodeStyler, NodeUpdater, ParticleFlowUpdater, ParticleUpdater, TextResizer, TileMover

public abstract class UpdateSystem extends UpdateSystemBase
System for updating entity data.
  • Field Details

    • timeScale

      protected float timeScale
    • applyTimeScale

      protected boolean applyTimeScale
  • Constructor Details

  • Method Details

    • setApplyTimeScale

      public void setApplyTimeScale(boolean applyTimeScale)
    • update

      public final void update(float deltaTime)
      Description copied from class: UpdateSystemBase
      Updates each entity's data, each frame.
      Specified by:
      update in interface Lifecycle
      Specified by:
      update in class UpdateSystemBase
      Parameters:
      deltaTime - Delta time in seconds
    • process

      protected abstract void process(EntityChunk chunk, float deltaTime)
      Updates a single entity's data, each frame.
      Parameters:
      chunk - Entity that matches this system's query
      deltaTime - Delta time in seconds