Class InputSystem
java.lang.Object
dev.prozilla.pine.core.system.SystemBase
dev.prozilla.pine.core.system.input.InputSystemBase
dev.prozilla.pine.core.system.input.InputSystem
- Direct Known Subclasses:
ButtonInputHandler,CameraControlInputHandler,DevConsoleInputHandler,GridInputHandler,LayoutNodeInputHandler,NodeRootInputHandler,TextInputInputHandler
System for updating entity data based on input.
-
Field Summary
Fields inherited from class dev.prozilla.pine.core.system.SystemBase
application, logger, scene, world -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidinput(float deltaTime) Updates each entity's data based on input, each frame.protected abstract voidprocess(EntityChunk chunk, Input input, float deltaTime) Updates a single entity's data based on input, each frame.Methods inherited from class dev.prozilla.pine.core.system.input.InputSystemBase
getInput, sortMethods inherited from class dev.prozilla.pine.core.system.SystemBase
forEach, forEachReverse, hasEntityChunks, initSystem, print, register, setExcludedComponentTypes, setRequiredTag, setRunWhenPaused, shouldRun, sort, unregister
-
Constructor Details
-
InputSystem
-
-
Method Details
-
input
public final void input(float deltaTime) Description copied from class:InputSystemBaseUpdates each entity's data based on input, each frame.- Specified by:
inputin classInputSystemBase
-
process
Updates a single entity's data based on input, each frame.- Parameters:
chunk- Entity that matches this system's querydeltaTime- Delta time in seconds
-