Class RectInputHandler
java.lang.Object
dev.prozilla.pine.core.system.SystemBase
dev.prozilla.pine.core.system.input.InputSystemBase
dev.prozilla.pine.core.system.standard.canvas.RectInputHandler
- All Implemented Interfaces:
Lifecycle
Handles clicks on canvas elements.
-
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.input.InputSystemBase
getInput
Methods inherited from class dev.prozilla.pine.core.system.SystemBase
forEach, forEachReverse, hasEntityChunks, initSystem, print, register, requireTag, setExcludedComponentTypes, sort, unregister
-
Constructor Details
-
RectInputHandler
public RectInputHandler()
-
-
Method Details
-
input
public void input(float deltaTime) Description copied from class:InputSystemBase
Updates each entity's data based on input, each frame.- Specified by:
input
in interfaceLifecycle
- Specified by:
input
in classInputSystemBase
- Parameters:
deltaTime
- Delta time in seconds
-
sort
public void sort()Description copied from class:InputSystemBase
Sorts the entity chunks in this input system based on their depth index.- Overrides:
sort
in classInputSystemBase
-