Class NodeUpdater
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.NodeUpdater
Positions nodes based on their offset and anchor point.
-
Field Summary
Fields inherited from class dev.prozilla.pine.core.system.update.UpdateSystem
applyTimeScale, timeScaleFields inherited from class dev.prozilla.pine.core.system.SystemBase
application, logger, scene, world -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidanchorNode(Node node) protected voidprocess(EntityChunk chunk, float deltaTime) Updates a single entity's data, each frame.static voidresizeNode(Node node) static voidupdateNode(Node node) Methods inherited from class dev.prozilla.pine.core.system.update.UpdateSystem
setApplyTimeScale, updateMethods inherited from class dev.prozilla.pine.core.system.SystemBase
forEach, forEachReverse, hasEntityChunks, initSystem, print, register, setExcludedComponentTypes, setRequiredTag, setRunWhenPaused, shouldRun, sort, unregister
-
Constructor Details
-
NodeUpdater
public NodeUpdater()
-
-
Method Details
-
process
Description copied from class:UpdateSystemUpdates a single entity's data, each frame.- Specified by:
processin classUpdateSystem- Parameters:
chunk- Entity that matches this system's querydeltaTime- Delta time in seconds
-
updateNode
-
resizeNode
-
anchorNode
-