Class DrawPart.PartParams

java.lang.Object
mindustry.entities.part.DrawPart.PartParams
Enclosing class:
DrawPart

public static class DrawPart.PartParams extends Object
Parameters for drawing a part in draw().
  • Field Details

    • warmup

      public float warmup
    • reload

      public float reload
    • smoothReload

      public float smoothReload
    • heat

      public float heat
    • recoil

      public float recoil
    • life

      public float life
    • charge

      public float charge
    • x

      public float x
    • y

      public float y
    • rotation

      public float rotation
    • sideOverride

      public int sideOverride
    • sideMultiplier

      public int sideMultiplier
  • Constructor Details

    • PartParams

      public PartParams()
  • Method Details

    • set

      public DrawPart.PartParams set(float warmup, float reload, float smoothReload, float heat, float recoil, float charge, float x, float y, float rotation)
    • setRecoil

      public DrawPart.PartParams setRecoil(float recoils)