addEffects

public abstract void addEffects(Array<FireworkEffect> effects)

Add several effects to this firework.

Parameters

effects

The firework effects to add

Throws

If any effect is null (may be thrown after changes have occurred)


public abstract void addEffects(Iterable<FireworkEffect> effects)

Add several firework effects to this firework.

Parameters

effects

An iterable object whose iterator yields the desired firework effects

Throws

If any effect is null (may be thrown after changes have occurred)