public class SpringObject
extends java.lang.Object
| Constructor and Description |
|---|
SpringObject()
start pixel location of spring
|
SpringObject(double constant) |
| Modifier and Type | Method and Description |
|---|---|
double |
getCurrentForce(double currStartPosition,
double currEndPosition) |
void |
setRestingLength(int length) |