protected class Space2D.KdTreeProcess extends SimplePropertyObject implements ISpaceProcess
Modifier and Type | Field and Description |
---|---|
protected KdTree |
kdtree
The kd-tree
|
pcs, properties
ID
Constructor and Description |
---|
KdTreeProcess(KdTree kdTree)
Creates a new update process for a kd-tree.
|
Modifier and Type | Method and Description |
---|---|
void |
execute(IClockService clock,
IEnvironmentSpace space)
Executes the environment process
|
void |
shutdown(IEnvironmentSpace space)
This method will be executed by the object before the process is removed
from the execution queue.
|
void |
start(IClockService clock,
IEnvironmentSpace space)
This method will be executed by the object before the process gets added
to the execution queue.
|
addPropertyChangeListener, getProperties, getProperty, getPropertyNames, hasProperty, removePropertyChangeListener, setProperties, setProperty, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getProperty, getPropertyNames, hasProperty, setProperty
protected KdTree kdtree
public KdTreeProcess(KdTree kdTree)
kdTree
- The kd-tree.public void execute(IClockService clock, IEnvironmentSpace space)
ISpaceProcess
execute
in interface ISpaceProcess
clock
- The clock.space
- The space this process is running in.public void shutdown(IEnvironmentSpace space)
ISpaceProcess
shutdown
in interface ISpaceProcess
space
- The space this process is running in.public void start(IClockService clock, IEnvironmentSpace space)
ISpaceProcess
start
in interface ISpaceProcess
clock
- The clock.space
- The space this process is running in.