Package gaiasky.scene.system.initialize
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 Summary
Fields inherited from class com.badlogic.ashley.core.EntitySystem
priority
-
Constructor Summary
ConstructorDescriptionAbstractInitSystem
(boolean setUp, com.badlogic.ashley.core.Family family, int priority) AbstractInitSystem
(com.badlogic.ashley.core.Family family, int priority) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addedToEngine
(com.badlogic.ashley.core.Engine engine) boolean
boolean
protected void
processEntity
(com.badlogic.ashley.core.Entity entity, float deltaTime) void
void
toString()
Methods inherited from class com.badlogic.ashley.systems.IteratingSystem
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, wait, wait, wait
Methods inherited from interface gaiasky.scene.system.initialize.EntityInitializer
initializeEntity, setUpEntity
-
Field Details
-
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 classcom.badlogic.ashley.systems.IteratingSystem
-
toString
-
addedToEngine
public void addedToEngine(com.badlogic.ashley.core.Engine engine) - Overrides:
addedToEngine
in classcom.badlogic.ashley.systems.IteratingSystem
-