Class RepairTurret

All Implemented Interfaces:
Comparable<Content>, Senseable

public class RepairTurret extends Block
  • Field Details

    • timerTarget

      public int timerTarget
    • timerEffect

      public int timerEffect
    • repairRadius

      public float repairRadius
    • repairSpeed

      public float repairSpeed
    • powerUse

      public float powerUse
    • length

      public float length
    • beamWidth

      public float beamWidth
    • pulseRadius

      public float pulseRadius
    • pulseStroke

      public float pulseStroke
    • acceptCoolant

      public boolean acceptCoolant
    • coolantUse

      public float coolantUse
    • coolEffect

      public Effect coolEffect
      Effect displayed when coolant is used.
    • coolantMultiplier

      public float coolantMultiplier
      How much healing is increased by with heat capacity.
    • baseRegion

      public TextureRegion baseRegion
    • laser

      public TextureRegion laser
    • laserEnd

      public TextureRegion laserEnd
    • laserTop

      public TextureRegion laserTop
    • laserTopEnd

      public TextureRegion laserTopEnd
    • laserColor

      public Color laserColor
    • laserTopColor

      public Color laserTopColor
  • Constructor Details

    • RepairTurret

      public RepairTurret(String name)
  • Method Details

    • setStats

      public void setStats()
      Description copied from class: UnlockableContent
      Initializes stats on demand. Should only be called once. Only called before something is displayed.
      Overrides:
      setStats in class Block
    • init

      public void init()
      Description copied from class: Block
      Called after all blocks are created.
      Overrides:
      init in class Block
    • drawPlace

      public void drawPlace(int x, int y, int rotation, boolean valid)
      Description copied from class: Block
      Drawn when you are placing a block.
      Overrides:
      drawPlace in class Block
    • icons

      public TextureRegion[] icons()
      Overrides:
      icons in class Block
    • drawBeam

      public static void drawBeam(float x, float y, float rotation, float length, int id, @Nullable Sized target, Team team, float strength, float pulseStroke, float pulseRadius, float beamWidth, Vec2 lastEnd, Vec2 offset, Color laserColor, Color laserTopColor, TextureRegion laser, TextureRegion laserEnd, TextureRegion laserTop, TextureRegion laserTopEnd)