Package mindustry.entities.part
Class EffectSpawnerPart
java.lang.Object
mindustry.entities.part.DrawPart
mindustry.entities.part.EffectSpawnerPart
Spawns effects in a rectangle centered on x and y.
-
Nested Class Summary
Nested classes/interfaces inherited from class mindustry.entities.part.DrawPart
DrawPart.PartFunc, DrawPart.PartMove, DrawPart.PartParams, DrawPart.PartProgress
-
Field Summary
FieldsModifier and TypeFieldDescriptionboolean
Shows the spawn rectangles in red.float
arc.graphics.Color
float
float
float
boolean
float
boolean
float
float
float
Fields inherited from class mindustry.entities.part.DrawPart
params, recoilIndex, turretShading, under, weaponIndex
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class mindustry.entities.part.DrawPart
getOutlines, load
-
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
-
effectColor
public arc.graphics.Color effectColor -
useProgress
public boolean useProgress -
progress
-
debugDraw
public boolean debugDrawShows the spawn rectangles in red.
-
-
Constructor Details
-
EffectSpawnerPart
public EffectSpawnerPart()
-
-
Method Details