This commit is contained in:
Anuken
2020-10-26 09:56:56 -04:00
parent 526b1add26
commit 23b9556105
2 changed files with 10 additions and 5 deletions

View File

@@ -27,8 +27,12 @@ public class SectorDamage{
/** @return calculated capture progress of the enemy */
public static float getDamage(SectorInfo info){
return getDamage(info, info.wavesPassed);
}
/** @return calculated capture progress of the enemy */
public static float getDamage(SectorInfo info, int wavesPassed){
float health = info.sumHealth;
int wavesPassed = info.wavesPassed;
int wave = info.wave;
float waveSpace = info.waveSpacing;