Class ClusterUpdater

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

public class ClusterUpdater extends AbstractUpdateSystem
Updates star clusters.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final double
     
    static final double
     

    Fields inherited from class com.badlogic.ashley.core.EntitySystem

    priority
  • Constructor Summary

    Constructors
    Constructor
    Description
    ClusterUpdater(com.badlogic.ashley.core.Family family, int priority)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    processEntity(com.badlogic.ashley.core.Entity entity, float deltaTime)
     
    void
    updateEntity(com.badlogic.ashley.core.Entity entity, float deltaTime)
    Updates the entity.

    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
  • Field Details

    • TH_ANGLE

      public static final double TH_ANGLE
    • TH_ANGLE_OVERLAP

      public static final double TH_ANGLE_OVERLAP
  • Constructor Details

    • ClusterUpdater

      public ClusterUpdater(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.