public class MassObject
extends java.lang.Object
Constructor and Description |
---|
MassObject() |
MassObject(double friction) |
MassObject(double friction,
double size) |
Modifier and Type | Method and Description |
---|---|
double |
getDisplacement(double force) |
double |
getYPosition()
return the virtical pixel location of the top of this mass
|
void |
setYPosition(double newPos)
specify the virtical pixel location for the top of this mass
|