Class RegenAbility

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

public class RegenAbility extends Ability
  • Field Details

    • percentAmount

      public float percentAmount
      Amount healed as percent per tick.
    • amount

      public float amount
      Amount healed as a flat amount per tick.
  • Constructor Details

    • RegenAbility

      public RegenAbility()
  • Method Details

    • addStats

      public void addStats(Table t)
      Overrides:
      addStats in class Ability
    • update

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