net.jinx.physics
Interface Integrator

All Known Implementing Classes:
EulerIntegrator, RK4Integrator

public interface Integrator


Method Summary
 void integrate(Universe u, PhysicalObject obj, float deltaTime)
          Performs an integration for the given Universe and PhysicalObject.
 

Method Detail

integrate

void integrate(Universe u,
               PhysicalObject obj,
               float deltaTime)
Performs an integration for the given Universe and PhysicalObject.

Parameters:
u - the Universe.
obj - the PhysicalObject.