Class AbstractInitSystem

java.lang.Object
com.badlogic.ashley.core.EntitySystem
com.badlogic.ashley.systems.IteratingSystem
gaiasky.scene.system.initialize.AbstractInitSystem
All Implemented Interfaces:
EntityInitializer
Direct Known Subclasses:
AxesInitializer, BackgroundModelInitializer, BaseInitializer, BillboardSetInitializer, BoundariesInitializer, ClusterInitializer, ConstellationInitializer, DatasetDescriptionInitializer, ElementsSetInitializer, FadeNodeInitializer, GridRecInitializer, IndexInitializer, KeyframeInitializer, LocInitializer, MeshInitializer, ModelInitializer, OrbitElementsSetInitializer, ParticleInitializer, ParticleSetInitializer, PerimeterInitializer, RaymarchingInitializer, RulerInitializer, SceneGraphBuilderSystem, ShapeInitializer, TitleInitializer, TrajectoryInitializer, VertsInitializer, VRDeviceInitializer

public abstract class AbstractInitSystem extends com.badlogic.ashley.systems.IteratingSystem implements EntityInitializer
An abstract initialization system, providing some common utilities useful for concrete initializers.
  • Field Details

    • logger

      protected Logger.Log logger
    • engineBackup

      protected com.badlogic.ashley.core.Engine engineBackup
  • Constructor Details

    • AbstractInitSystem

      public AbstractInitSystem(boolean setUp, com.badlogic.ashley.core.Family family, int priority)
    • AbstractInitSystem

      public AbstractInitSystem(com.badlogic.ashley.core.Family family, int priority)
  • Method Details

    • setModeInit

      public void setModeInit()
    • setModeSetUp

      public void setModeSetUp()
    • isModeInit

      public boolean isModeInit()
    • isModeSetUp

      public boolean isModeSetUp()
    • processEntity

      protected void processEntity(com.badlogic.ashley.core.Entity entity, float deltaTime)
      Specified by:
      processEntity in class com.badlogic.ashley.systems.IteratingSystem
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • addedToEngine

      public void addedToEngine(com.badlogic.ashley.core.Engine engine)
      Overrides:
      addedToEngine in class com.badlogic.ashley.systems.IteratingSystem