Package dev.prozilla.pine.core.system
Class SystemBuilder<S extends SystemBase,B extends SystemBuilder<S,B>>
java.lang.Object
dev.prozilla.pine.core.system.SystemBuilder<S,B>
- Direct Known Subclasses:
InitSystemBuilder,InputSystemBuilder,RenderSystemBuilder,UpdateSystemBuilder
public abstract class SystemBuilder<S extends SystemBase,B extends SystemBuilder<S,B>>
extends Object
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Sbuild()Creates a new system.protected SfinishBuild(S system) protected abstract Bself()Ensures subclasses return the correct type in method chains.setRequiredTag(String entityTag) Restricts this system's query to entities with a given tag.
-
Field Details
-
componentTypes
-
entityTag
-
-
Constructor Details
-
SystemBuilder
-
-
Method Details
-
setRequiredTag
Restricts this system's query to entities with a given tag.- See Also:
-
self
Ensures subclasses return the correct type in method chains. -
build
Creates a new system. -
finishBuild
-