Ammo things added

This commit is contained in:
Anuken
2018-04-01 21:07:52 -04:00
parent ec5f74b753
commit 20b95fa063
5 changed files with 20 additions and 9 deletions
@@ -2,7 +2,14 @@ package io.anuke.mindustry.resource;
import io.anuke.mindustry.entities.bullets.BulletType;
public abstract class AmmoType {
public class AmmoType {
public final Item item;
public final BulletType bullet;
public final int multiplier;
public abstract BulletType getBullet(Item item);
public AmmoType(Item item, BulletType result, int multiplier){
this.item = item;
this.bullet = result;
this.multiplier = multiplier;
}
}