BaseSpringSystem constructor
BaseSpringSystem(
- SpringLooper springLooper
create a new BaseSpringSystem @param springLooper parameterized springLooper to allow testability of the physics loop
Implementation
BaseSpringSystem(SpringLooper springLooper) {
mSpringLooper = springLooper;
mSpringLooper.setSpringSystem(this);
}