Updated RoboVM version
This commit is contained in:
@@ -81,7 +81,7 @@ public class WaveGraph extends Table{
|
||||
for(int i = 0; i < values.length; i++){
|
||||
float sum = 0;
|
||||
for(UnitType type : used.orderedItems()){
|
||||
sum += type.health * values[i][type.id];
|
||||
sum += (type.health) * values[i][type.id];
|
||||
}
|
||||
|
||||
float cx = graphX + i*spacing, cy = 2f + graphY + sum * (graphH - 4f) / maxHealth;
|
||||
@@ -160,7 +160,7 @@ public class WaveGraph extends Table{
|
||||
used.add(spawn.type);
|
||||
}
|
||||
max = Math.max(max, values[index][spawn.type.id]);
|
||||
healthsum += spawned * spawn.type.health;
|
||||
healthsum += spawned * (spawn.type.health);
|
||||
sum += spawned;
|
||||
}
|
||||
maxTotal = Math.max(maxTotal, sum);
|
||||
|
||||
Reference in New Issue
Block a user