The model is now working and downwards compatible

This commit is contained in:
Awlex
2016-11-20 13:49:40 +01:00
parent b36d7d487f
commit 14d88f38bf
6 changed files with 27 additions and 11 deletions

View File

@@ -250,6 +250,7 @@ public class Dancer {
c.start.set((float) spinnerStartPoint[0], (float) spinnerStartPoint[1]);
}
}
isCurrentLazySlider = false;
// detect lazy sliders, should work pretty good
if (c.isSlider() && LAZY_SLIDERS && Utils.distance(c.start.x, c.start.y, c.end.x, c.end.y) <= Circle.diameter * 0.8f) {
@@ -275,7 +276,6 @@ public class Dancer {
polyMoverFactory.create(gameObjects, objectIndex - 1);
}
}
if (time < c.getTime()) {
if (!(p.isSpinner() || c.isSpinner())) {
double[] point = polyMoverFactory.getPointAt(time);