Class NodeRootPrefab

java.lang.Object
dev.prozilla.pine.core.entity.prefab.Prefab
dev.prozilla.pine.core.entity.prefab.ui.NodeRootPrefab

@Components({NodeRoot.class,Transform.class}) public class NodeRootPrefab extends Prefab
Prefab for user interfaces.
  • Constructor Details

    • NodeRootPrefab

      public NodeRootPrefab()
  • Method Details

    • apply

      protected void apply(Entity entity)
      Description copied from class: Prefab
      Adds this prefab's predefined components to a given entity and copies values from this prefab.
      Specified by:
      apply in class Prefab