package KinematicSimulator; import java.util.Vector; /** * Abstract Physics Strategy class. All physics strategies will be called * by applyPhysics(Vector). The vector contains entities. The physics * strategy is responsible for updating the velocities of the objects * in the vector. * * @author Steve */ public abstract class PhysicsStrategy { public abstract void applyPhysics(Vector v); public abstract void setSize(int w, int h); }