public static final class Spring.SpringFactory
extends java.lang.Object
| Constructor and Description |
|---|
SpringFactory() |
| Modifier and Type | Method and Description |
|---|---|
Spring |
getSpring(ForceItem f1,
ForceItem f2,
float k,
float length)
Get a Spring instance and set it to the given parameters.
|
void |
reclaim(Spring s)
Reclaim a Spring into the object pool.
|