/** XXX. */ @Override public void update(double elapsedTime, Dimension bounds) { System.out.println("1"); Vector bounce = getBounce(bounds); applyForce(bounce); myEnvironment.applyEnvironment(this, bounds); // add gravity if (bounce.getYChange() == 0) { myEnvironment.applyGravity(this); } // convert force back into Mover's velocity getVelocity().sum(myAcceleration); myAcceleration.reset(); // move mass by velocity // detect position super.update(elapsedTime, bounds); }