Class BaseShield

All Implemented Interfaces:
Comparable<Content>, Senseable

public class BaseShield extends Block
  • Field Details

    • radius

      public float radius
    • sides

      public int sides
    • paramBuild

      protected static BaseShield.BaseShieldBuild paramBuild
    • bulletConsumer

      protected static final Cons<mindustry.gen.Bullet> bulletConsumer
    • unitConsumer

      protected static final Cons<mindustry.gen.Unit> unitConsumer
  • Constructor Details

    • BaseShield

      public BaseShield(String name)
  • Method Details

    • 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