Class PowerAmmoType

java.lang.Object
mindustry.type.ammo.PowerAmmoType
All Implemented Interfaces:
AmmoType

public class PowerAmmoType extends Object implements AmmoType
  • Field Details

    • range

      public float range
    • totalPower

      public float totalPower
  • Constructor Details

    • PowerAmmoType

      public PowerAmmoType(float totalPower)
    • PowerAmmoType

      public PowerAmmoType()
  • Method Details

    • icon

      public String icon()
      Specified by:
      icon in interface AmmoType
    • color

      public arc.graphics.Color color()
      Specified by:
      color in interface AmmoType
    • barColor

      public arc.graphics.Color barColor()
      Specified by:
      barColor in interface AmmoType
    • resupply

      public void resupply(mindustry.gen.Unit unit)
      Specified by:
      resupply in interface AmmoType