Class InputSystemBase
java.lang.Object
dev.prozilla.pine.core.system.SystemBase
dev.prozilla.pine.core.system.input.InputSystemBase
- All Implemented Interfaces:
Lifecycle
- Direct Known Subclasses:
InputSystem
,RectInputHandler
Base class for systems responsible 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
Methods inherited from class dev.prozilla.pine.core.system.SystemBase
forEach, forEachReverse, hasEntityChunks, initSystem, print, register, requireTag, setExcludedComponentTypes, sort, unregister
-
Constructor Details
-
InputSystemBase
-
-
Method Details
-
input
public abstract void input(float deltaTime) Updates each entity's data based on input, each frame.- Parameters:
deltaTime
- Delta time in seconds
-
getInput
-
sort
public void sort()Sorts the entity chunks in this input system based on their depth index.
-