Class Space2D.KdTreeProcess

    • Field Detail

      • kdtree

        protected KdTree kdtree
        The kd-tree
    • Constructor Detail

      • KdTreeProcess

        public KdTreeProcess​(KdTree kdTree)
        Creates a new update process for a kd-tree.
        Parameters:
        kdTree - The kd-tree.
    • Method Detail

      • shutdown

        public void shutdown​(IEnvironmentSpace space)
        Description copied from interface: ISpaceProcess
        This method will be executed by the object before the process is removed from the execution queue.
        Specified by:
        shutdown in interface ISpaceProcess
        Parameters:
        space - The space this process is running in.
      • start

        public void start​(IClockService clock,
                          IEnvironmentSpace space)
        Description copied from interface: ISpaceProcess
        This method will be executed by the object before the process gets added to the execution queue.
        Specified by:
        start in interface ISpaceProcess
        Parameters:
        clock - The clock.
        space - The space this process is running in.