Class ShapeInitializer

java.lang.Object
com.badlogic.ashley.core.EntitySystem
com.badlogic.ashley.systems.IteratingSystem
gaiasky.scene.system.initialize.AbstractInitSystem
gaiasky.scene.system.initialize.ShapeInitializer
All Implemented Interfaces:
EntityInitializer

public class ShapeInitializer extends AbstractInitSystem
  • Field Summary Link icon

    Fields inherited from class gaiasky.scene.system.initialize.AbstractInitSystem Link icon

    engineBackup, logger

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

    priority
  • Constructor Summary Link icon

    Constructors
    Constructor
    Description
    ShapeInitializer(boolean setUp, com.badlogic.ashley.core.Family family, int priority)
     
  • Method Summary Link icon

    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
    initModel(com.badlogic.ashley.core.Entity entity)
     
    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 and it is in the index.

    Methods inherited from class gaiasky.scene.system.initialize.AbstractInitSystem Link icon

    addedToEngine, isModeInit, isModeSetUp, processEntity, setModeInit, setModeSetUp, toString

    Methods inherited from class com.badlogic.ashley.systems.IteratingSystem Link icon

    getEntities, getFamily, removedFromEngine, update

    Methods inherited from class com.badlogic.ashley.core.EntitySystem Link icon

    checkProcessing, getEngine, setProcessing

    Methods inherited from class java.lang.Object Link icon

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details Link icon

    • ShapeInitializer Link icon

      public ShapeInitializer(boolean setUp, com.badlogic.ashley.core.Family family, int priority)
  • Method Details Link icon

    • initializeEntity Link icon

      public void initializeEntity(com.badlogic.ashley.core.Entity entity)
      Description copied from interface: EntityInitializer
      Contains the initialization of this entity before the scene graph structure has been constructed, or the entity is in the index.
      Parameters:
      entity - The entity.
    • setUpEntity Link icon

      public void setUpEntity(com.badlogic.ashley.core.Entity entity)
      Description copied from interface: EntityInitializer
      Contains the set up of this entity, after the entity has been added to the scene graph and it is in the index.
      Parameters:
      entity - The entity.
    • initModel Link icon

      public void initModel(com.badlogic.ashley.core.Entity entity)