Class RadialEffect

java.lang.Object
mindustry.entities.Effect
mindustry.entities.effect.RadialEffect

public class RadialEffect extends Effect
Renders one particle effect repeatedly at specified angle intervals.
  • Field Details

    • effect

      public Effect effect
    • rotationSpacing

      public float rotationSpacing
    • rotationOffset

      public float rotationOffset
    • lengthOffset

      public float lengthOffset
    • amount

      public int amount
  • Constructor Details

    • RadialEffect

      public RadialEffect()
    • RadialEffect

      public RadialEffect(Effect effect, int amount, float spacing, float lengthOffset)
  • Method Details

    • create

      public void create(float x, float y, float rotation, Color color, Object data)
      Overrides:
      create in class Effect