-
- All Implemented Interfaces:
public final class EmitterEmitter class that holds the duration that the emitter will create confetti particles
-
-
Method Summary
Modifier and Type Method Description final LonggetDuration()final TimeUnitgetTimeUnit()final EmitterConfigmax(Integer amount)Max amount of particles that will be created over the duration that is set final EmitterConfigperSecond(Integer amount)Amount of particles that will be created per second -
-
Method Detail
-
getDuration
final Long getDuration()
-
getTimeUnit
final TimeUnit getTimeUnit()
-
max
final EmitterConfig max(Integer amount)
Max amount of particles that will be created over the duration that is set
-
perSecond
final EmitterConfig perSecond(Integer amount)
Amount of particles that will be created per second
-
-
-
-