Class CanvasResizer
java.lang.Object
dev.prozilla.pine.core.system.SystemBase
dev.prozilla.pine.core.system.update.UpdateSystemBase
dev.prozilla.pine.core.system.standard.canvas.CanvasResizer
- All Implemented Interfaces:
Lifecycle
Resizes canvases based on the window's dimensions.
-
Field Summary
Fields inherited from class dev.prozilla.pine.core.system.SystemBase
application, logger, scene, world
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
update
(float deltaTime) Updates each entity's data, each frame.Methods inherited from class dev.prozilla.pine.core.system.SystemBase
forEach, forEachReverse, hasEntityChunks, initSystem, print, register, requireTag, setExcludedComponentTypes, sort, unregister
-
Constructor Details
-
CanvasResizer
public CanvasResizer()
-
-
Method Details
-
update
public void update(float deltaTime) Description copied from class:UpdateSystemBase
Updates each entity's data, each frame.- Specified by:
update
in interfaceLifecycle
- Specified by:
update
in classUpdateSystemBase
- Parameters:
deltaTime
- Delta time in seconds
-