minor cleanup
This commit is contained in:
@@ -284,8 +284,8 @@ public class AudioAnalyzer {
|
||||
}
|
||||
|
||||
public void runThresholdCleaning(float rangeModifier) {
|
||||
this.bassThresholdMultiplier /= rangeModifier;
|
||||
this.umThresholdMultiplier /= rangeModifier;
|
||||
this.bassThresholdMultiplier -= rangeModifier;
|
||||
this.umThresholdMultiplier -= rangeModifier;
|
||||
work = true;
|
||||
Thread thresholdClean = new Thread(thresholdCalculator);
|
||||
thresholdClean.start();
|
||||
|
@@ -69,7 +69,7 @@ public class GamePlayMap {
|
||||
/**
|
||||
* use this to add rest for current index position
|
||||
*/
|
||||
public void addRestToMap() {
|
||||
public void addNullToMap() {
|
||||
if (building) {
|
||||
spawnList.add(null);
|
||||
}
|
||||
|
@@ -67,8 +67,9 @@ public class RhythmMapAlgorithm implements Runnable {
|
||||
speedMod*(Polyjet.GAME_AREA_HEIGHT/3)/avgBPS);
|
||||
}
|
||||
}
|
||||
|
||||
} else {
|
||||
map.addRestToMap();
|
||||
map.addNullToMap();
|
||||
}
|
||||
|
||||
progress = (int) (100f*index/bassPeaks.size);
|
||||
|
Reference in New Issue
Block a user