Follow-up to #25.

- Moved all MultiClip-handling methods into the MultiClip class.
- Destroy extra clips when starting and finishing new beatmaps.
- Reduced maximum number of extra clips to 20.
- Attempted fixes at multithreading issues.

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
This commit is contained in:
Jeffrey Han
2015-03-01 00:03:06 -05:00
parent 540b1c49f0
commit c543ddea01
5 changed files with 136 additions and 142 deletions

View File

@@ -111,8 +111,8 @@ public class LinearBezier extends Curve {
curPoint = 0;
} else {
curPoint = curBezier.points() - 1;
if(lastDistanceAt == distanceAt){
//out of points even though we haven't reached the preferred distance.
if (lastDistanceAt == distanceAt) {
// out of points even though the preferred distance hasn't been reached
break;
}
}