Fixing Dancer
This commit is contained in:
parent
b01033edd5
commit
21aa986ea9
|
@ -266,9 +266,8 @@ public class Dancer {
|
|||
double[] spinnerStartPoint = spinner.getPoint();
|
||||
c.start = new Vec2f((float) spinnerStartPoint[0], (float) spinnerStartPoint[1]);
|
||||
}
|
||||
// polyMoverFactory.init(gameObjects, objectIndex);
|
||||
if (polyMoverFactory.isInitialized() && polyMoverFactory.getLatestIndex() < objectIndex + polyMoverFactory.getPrefferedBufferSize() - 1) {
|
||||
polyMoverFactory.update(gameObjects[polyMoverFactory.getLatestIndex()]);
|
||||
polyMoverFactory.update(gameObjects[ objectIndex + polyMoverFactory.getPrefferedBufferSize() - 1]);
|
||||
}
|
||||
else {
|
||||
polyMoverFactory.init(gameObjects, objectIndex);
|
||||
|
|
Loading…
Reference in New Issue
Block a user