public class RadialEffect
extends Effect
Renders one particle effect repeatedly at specified angle intervals.
-
-
Field Summary
Fields
Fields inherited from class mindustry.entities.Effect
all, baseRotation, clip, followParent, id, layer, layerDuration, lifetime, renderer, rotWithParent, startDelay
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class mindustry.entities.Effect
add, at, at, at, at, at, at, at, at, at, baseRotation, decal, decal, floorDust, floorDustAngle, followParent, get, init, layer, layer, render, render, rotWithParent, rubble, scorch, shake, shake, shouldCreate, startDelay, wrap, wrap
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
-
rotationSpacing
public float rotationSpacing
-
rotationOffset
public float rotationOffset
-
lengthOffset
public float lengthOffset
-
-
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