public interface BoidForcesFactory
| Modifier and Type | Method and Description |
|---|---|
BoidForces |
createNewForces(Boid b)
Create a new forces object for a boid.
|
void |
end()
Terminate all operations.
|
void |
init()
Called by
BoidGraph when forces factory is
set. |
void |
resize(org.miv.pherd.geom.Point3 low,
org.miv.pherd.geom.Point3 high)
Resize the space.
|
void |
step()
Compute forces for all boids.
|
void init()
BoidGraph when forces factory is
set. It allows the forces factory to execute some code before it starts.BoidForces createNewForces(Boid b)
b - the boidvoid step()
void resize(org.miv.pherd.geom.Point3 low,
org.miv.pherd.geom.Point3 high)
low - the new lowest point.high - the new highest point.void end()
Copyright © 2015. All rights reserved.