Removed unit ammo

This commit is contained in:
Anuken
2018-08-10 10:45:37 -04:00
parent 61ad9bc47d
commit 8986b89d67
20 changed files with 61 additions and 478 deletions
@@ -145,7 +145,6 @@ public class DebugFragment extends Fragment{
for(UnitType type : UnitType.all()){
dialog.content().addImageButton("white", 40, () -> {
BaseUnit unit = type.create(player.getTeam());
unit.inventory.addAmmo(type.weapon.getAmmoType(type.weapon.getAcceptedItems().iterator().next()));
unit.setWave();
unit.set(player.x, player.y);
unit.add();