Class NodeUpdater

All Implemented Interfaces:
Lifecycle

public class NodeUpdater extends UpdateSystem
Positions nodes based on their offset and anchor point.
  • Constructor Details

    • NodeUpdater

      public NodeUpdater()
  • Method Details

    • process

      protected void process(EntityChunk chunk, float deltaTime)
      Description copied from class: UpdateSystem
      Updates a single entity's data, each frame.
      Specified by:
      process in class UpdateSystem
      Parameters:
      chunk - Entity that matches this system's query
      deltaTime - Delta time in seconds
    • updateNode

      public static void updateNode(Node node)
    • resizeNode

      public static void resizeNode(Node node)
    • anchorNode

      public static void anchorNode(Node node)