Class TrajectoryUpdater

java.lang.Object
com.badlogic.ashley.core.EntitySystem
com.badlogic.ashley.systems.IteratingSystem
gaiasky.scene.system.update.AbstractUpdateSystem
gaiasky.scene.system.update.TrajectoryUpdater
All Implemented Interfaces:
EntityUpdater

public class TrajectoryUpdater extends AbstractUpdateSystem
Updates trajectories and orbit objects of all classes and types.
  • Constructor Details

    • TrajectoryUpdater

      public TrajectoryUpdater(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 class com.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.
    • updateLocalTransformHeliotropic

      protected void updateLocalTransformHeliotropic(Instant date, GraphNode graph, Trajectory trajectory)
    • updateLocalTransformRegular

      protected void updateLocalTransformRegular(GraphNode graph, Trajectory trajectory, RefSysTransform transform)