Unit system rewrite, new drone AI

This commit is contained in:
Anuken
2018-06-03 12:12:18 -04:00
parent 12c746a4e4
commit 270dc351a1
29 changed files with 591 additions and 590 deletions
@@ -189,7 +189,7 @@ public class OverlayRenderer {
}
drawEncloser(x, y - 8f, 2f);
drawBar(Color.SCARLET, x, y - 8f, unit.health / unit.maxhealth);
drawBar(Color.SCARLET, x, y - 8f, unit.healthfrac());
drawBar(Color.valueOf("32cf6d"), x, y - 9f, unit.inventory.totalAmmo() / (float) unit.inventory.ammoCapacity());
}