Class DirectionalForceProjector

All Implemented Interfaces:
Comparable<Content>, Senseable

public class DirectionalForceProjector extends Block
  • Field Details

    • intersectOut

      protected static final Vec2 intersectOut
    • p1

      protected static final Vec2 p1
    • p2

      protected static final Vec2 p2
    • paramEntity

    • paramEffect

      protected static Effect paramEffect
    • dirShieldConsumer

      protected static final Cons<mindustry.gen.Bullet> dirShieldConsumer
    • width

      public float width
    • shieldHealth

      public float shieldHealth
    • cooldownNormal

      public float cooldownNormal
    • cooldownLiquid

      public float cooldownLiquid
    • cooldownBrokenBase

      public float cooldownBrokenBase
    • absorbEffect

      public Effect absorbEffect
    • shieldBreakEffect

      public Effect shieldBreakEffect
    • topRegion

      public TextureRegion topRegion
    • length

      public float length
    • padSize

      public float padSize
  • Constructor Details

    • DirectionalForceProjector

      public DirectionalForceProjector(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
    • 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
    • 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