Class EnergyFieldAbility

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

public class EnergyFieldAbility extends Ability
  • Field Details

    • damage

      public float damage
    • reload

      public float reload
    • range

      public float range
    • healEffect

      public Effect healEffect
    • hitEffect

      public Effect hitEffect
    • damageEffect

      public Effect damageEffect
    • status

      public StatusEffect status
    • shootSound

      public Sound shootSound
    • statusDuration

      public float statusDuration
    • x

      public float x
    • y

      public float y
    • targetGround

      public boolean targetGround
    • targetAir

      public boolean targetAir
    • hitBuildings

      public boolean hitBuildings
    • hitUnits

      public boolean hitUnits
    • maxTargets

      public int maxTargets
    • healPercent

      public float healPercent
    • sameTypeHealMult

      public float sameTypeHealMult
      Multiplies healing to units of the same type by this amount.
    • displayHeal

      public boolean displayHeal
    • layer

      public float layer
    • blinkScl

      public float blinkScl
    • blinkSize

      public float blinkSize
    • effectRadius

      public float effectRadius
    • sectorRad

      public float sectorRad
    • rotateSpeed

      public float rotateSpeed
    • sectors

      public int sectors
    • color

      public Color color
    • useAmmo

      public boolean useAmmo
    • timer

      protected float timer
    • curStroke

      protected float curStroke
    • anyNearby

      protected boolean anyNearby
  • Constructor Details

    • EnergyFieldAbility

      public EnergyFieldAbility(float damage, float reload, float range)
  • Method Details

    • addStats

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

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

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