Class LayoutNodeArranger
java.lang.Object
dev.prozilla.pine.core.system.SystemBase
dev.prozilla.pine.core.system.update.UpdateSystemBase
dev.prozilla.pine.core.system.update.UpdateSystem
dev.prozilla.pine.core.system.standard.ui.layout.LayoutNodeArranger
- All Implemented Interfaces:
Lifecycle
Arranges children of layout nodes based on their size and the alignment and distribution of the layout.
-
Field Summary
Fields inherited from class dev.prozilla.pine.core.system.update.UpdateSystem
applyTimeScale, timeScale
Fields inherited from class dev.prozilla.pine.core.system.SystemBase
application, logger, scene, world
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
arrangeLayoutNode
(LayoutNode layoutNode, Node parentNode) protected void
process
(EntityChunk chunk, float deltaTime) Updates a single entity's data, each frame.Methods inherited from class dev.prozilla.pine.core.system.update.UpdateSystem
setApplyTimeScale, update
Methods inherited from class dev.prozilla.pine.core.system.SystemBase
forEach, forEachReverse, hasEntityChunks, initSystem, print, register, setExcludedComponentTypes, setRequiredTag, setRunWhenPaused, shouldRun, sort, unregister
-
Constructor Details
-
LayoutNodeArranger
public LayoutNodeArranger()
-
-
Method Details
-
process
Description copied from class:UpdateSystem
Updates a single entity's data, each frame.- Specified by:
process
in classUpdateSystem
- Parameters:
chunk
- Entity that matches this system's querydeltaTime
- Delta time in seconds
-
arrangeLayoutNode
-