Class EffectSpawnerPart

java.lang.Object
mindustry.entities.part.DrawPart
mindustry.entities.part.EffectSpawnerPart

public class EffectSpawnerPart extends DrawPart
Spawns effects in a rectangle centered on x and y.
  • Field Details

    • x

      public float x
    • y

      public float y
    • width

      public float width
    • height

      public float height
    • rotation

      public float rotation
    • mirror

      public boolean mirror
    • effectChance

      public float effectChance
    • effectRot

      public float effectRot
    • effectRandRot

      public float effectRandRot
    • effect

      public Effect effect
    • effectColor

      public arc.graphics.Color effectColor
    • useProgress

      public boolean useProgress
    • progress

      public DrawPart.PartProgress progress
    • debugDraw

      public boolean debugDraw
      Shows the spawn rectangles in red.
  • Constructor Details

    • EffectSpawnerPart

      public EffectSpawnerPart()
  • Method Details