net.jinx.physics
Class EulerIntegrator

java.lang.Object
  extended by net.jinx.physics.EulerIntegrator
All Implemented Interfaces:
Integrator

public class EulerIntegrator
extends java.lang.Object
implements Integrator


Constructor Summary
EulerIntegrator()
           
 
Method Summary
 void integrate(Universe u, PhysicalObject obj, float deltaTime)
          Performs an integration for the given Universe and PhysicalObject.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EulerIntegrator

public EulerIntegrator()
Method Detail

integrate

public void integrate(Universe u,
                      PhysicalObject obj,
                      float deltaTime)
Description copied from interface: Integrator
Performs an integration for the given Universe and PhysicalObject.

Specified by:
integrate in interface Integrator
Parameters:
u - the Universe.
obj - the PhysicalObject.