Class InitSystem
java.lang.Object
dev.prozilla.pine.core.system.SystemBase
dev.prozilla.pine.core.system.init.InitSystemBase
dev.prozilla.pine.core.system.init.InitSystem
- Direct Known Subclasses:
AnimationInitializer,AudioPlayerInitializer,GridInitializer,ImageInitializer,LayoutNodeInitializer,MultiTileInitializer,NodeInitializer,NodeRootInitializer,ParticleInitializer,TextInitializer,TextInputInitializer,TooltipInitializer
System for initializing entity data.
-
Field Summary
Fields inherited from class dev.prozilla.pine.core.system.SystemBase
application, logger, scene, world -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidinit()Initializes each entity's data.protected abstract voidprocess(EntityChunk chunk) Initializes a single entity's data.Methods inherited from class dev.prozilla.pine.core.system.init.InitSystemBase
activateEntityMethods inherited from class dev.prozilla.pine.core.system.SystemBase
forEach, forEachReverse, hasEntityChunks, initSystem, print, register, setExcludedComponentTypes, setRequiredTag, setRunWhenPaused, shouldRun, sort, unregister
-
Constructor Details
-
InitSystem
-
-
Method Details
-
init
public final void init()Description copied from class:InitSystemBaseInitializes each entity's data.- Specified by:
initin classInitSystemBase
-
process
Initializes a single entity's data.- Parameters:
chunk- Entity that matches this system's query
-