Class ArmorPlateAbility

java.lang.Object
mindustry.entities.abilities.Ability
mindustry.entities.abilities.ArmorPlateAbility
All Implemented Interfaces:
Cloneable

public class ArmorPlateAbility extends Ability
  • Field Details

    • plateRegion

      public arc.graphics.g2d.TextureRegion plateRegion
    • shineRegion

      public arc.graphics.g2d.TextureRegion shineRegion
    • plateSuffix

      public String plateSuffix
    • shineSuffix

      public String shineSuffix
    • color

      @Nullable public arc.graphics.Color color
      Color of the shine. If null, uses team color.
    • shineSpeed

      public float shineSpeed
    • z

      public float z
    • drawPlate

      public boolean drawPlate
      Whether to draw the plate region.
    • drawShine

      public boolean drawShine
      Whether to draw the shine over the plate region.
    • healthMultiplier

      public float healthMultiplier
    • warmup

      protected float warmup
  • Constructor Details

    • ArmorPlateAbility

      public ArmorPlateAbility()
  • Method Details

    • update

      public void update(mindustry.gen.Unit unit)
      Overrides:
      update in class Ability
    • addStats

      public void addStats(arc.scene.ui.layout.Table t)
      Overrides:
      addStats in class Ability
    • draw

      public void draw(mindustry.gen.Unit unit)
      Overrides:
      draw in class Ability