Interface EntityInitializer

All Known Implementing Classes:
AbstractInitSystem, AxesInitializer, BackgroundModelInitializer, BaseInitializer, BillboardSetInitializer, BoundariesInitializer, ClusterInitializer, ConstellationInitializer, DatasetDescriptionInitializer, ElementsSetInitializer, FadeNodeInitializer, GridRecInitializer, IndexInitializer, InvisibleInitializer, KeyframeInitializer, LocInitializer, MeshInitializer, ModelInitializer, ParticleInitializer, ParticleSetInitializer, PerimeterInitializer, ProceduralTriggerInitializer, RaymarchingInitializer, RulerInitializer, SceneGraphBuilderSystem, ShapeInitializer, TLEInitializer, TrajectoryInitializer, VertsInitializer, VolumeInitializer, VRDeviceInitializer

public interface EntityInitializer
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    initializeEntity(com.badlogic.ashley.core.Entity entity)
    Contains the initialization of this entity before the scene graph structure has been constructed, or the entity is in the index.
    void
    setUpEntity(com.badlogic.ashley.core.Entity entity)
    Contains the set-up of this entity, after the entity has been added to the scene graph, it is in the index, and assets have been loaded.
  • Method Details

    • initializeEntity

      void initializeEntity(com.badlogic.ashley.core.Entity entity)
      Contains the initialization of this entity before the scene graph structure has been constructed, or the entity is in the index. Typically, this adds resources to load via the asset manager, and initializes basic attributes.
      Parameters:
      entity - The entity.
    • setUpEntity

      void setUpEntity(com.badlogic.ashley.core.Entity entity)
      Contains the set-up of this entity, after the entity has been added to the scene graph, it is in the index, and assets have been loaded. Typically, this fetches loaded assets from the asset manager, and completes the initialization.
      Parameters:
      entity - The entity.