package nz.ac.massey.javaecs; public class RidgidBody { public RidgidBody(){} public RidgidBody(double xdot, double ydot, double xAcc, double yAcc){ this.xdot = xdot; this.ydot = ydot; this.xAcc = xAcc; this.yAcc = yAcc; } // Velocities double xdot = 0.0; double ydot = 0.0; // accelerations double xAcc = 0.0; double yAcc = 0.0; }