Class Octree

java.lang.Object
gaiasky.scene.component.Octree
All Implemented Interfaces:
com.badlogic.ashley.core.Component

public class Octree extends Object implements com.badlogic.ashley.core.Component
A component that defines an octree structure. The root of the octree is in the component Octant.
  • Field Details

    • roulette

      public List<IOctreeObject> roulette
      The list with the currently observed objects.
    • parenthood

      public Map<com.badlogic.ashley.core.Entity,OctreeNode> parenthood
      Map with the parent for each node.
    • copy

      public boolean copy
      Is this just a copy?
  • Constructor Details

    • Octree

      public Octree()
      Creates an empty octree.
  • Method Details

    • removeParenthood

      public void removeParenthood(com.badlogic.ashley.core.Entity child)