Class Accelerator

All Implemented Interfaces:
Comparable<Content>, Senseable

public class Accelerator extends Block
  • Field Details

    • arrowRegion

      public arc.graphics.g2d.TextureRegion arrowRegion
    • selectArrowRegion

      public arc.graphics.g2d.TextureRegion selectArrowRegion
    • launchBlock

      public Block launchBlock
      Core block that is launched. Should match the starting core of the planet being launched to.
    • powerBufferRequirement

      public float powerBufferRequirement
    • launchCandidates

      @Nullable public arc.struct.Seq<Planet> launchCandidates
      Override for planets that this block can launch to. If null, the planet's launch candidates are used.
    • launchMusic

      public arc.audio.Music launchMusic
    • launchDuration

      public float launchDuration
    • chargeDuration

      public float chargeDuration
    • buildDuration

      public float buildDuration
    • landZoomInterp

      public arc.math.Interp landZoomInterp
    • chargeZoomInterp

      public arc.math.Interp chargeZoomInterp
    • landZoomFrom

      public float landZoomFrom
    • landZoomTo

      public float landZoomTo
    • chargeZoomTo

      public float chargeZoomTo
    • chargeRings

      public int chargeRings
    • ringRadBase

      public float ringRadBase
    • ringRadSpacing

      public float ringRadSpacing
    • ringRadPow

      public float ringRadPow
    • ringStroke

      public float ringStroke
    • ringSpeedup

      public float ringSpeedup
    • chargeRingMerge

      public float chargeRingMerge
    • ringArrowRad

      public float ringArrowRad
    • ringHandleTilt

      public float ringHandleTilt
    • ringHandleLen

      public float ringHandleLen
    • ringColor

      public arc.graphics.Color ringColor
    • launchLightning

      public int launchLightning
    • lightningColor

      public arc.graphics.Color lightningColor
    • lightningDamage

      public float lightningDamage
    • lightningOffset

      public float lightningOffset
    • lightningLengthMin

      public int lightningLengthMin
    • lightningLengthMax

      public int lightningLengthMax
    • lightningLaunchChance

      public double lightningLaunchChance
    • capacities

      protected int[] capacities
  • Constructor Details

    • Accelerator

      public Accelerator(String name)
  • Method Details

    • init

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

      public void setBars()
      Overrides:
      setBars in class Block
    • outputsItems

      public boolean outputsItems()
      Overrides:
      outputsItems in class Block