Package 

Class Emitter

  • All Implemented Interfaces:

    
    public final class Emitter
    
                        

    Emitter class that holds the duration that the emitter will create confetti particles

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      Emitter(Long duration, TimeUnit timeUnit)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Long getDuration()
      final TimeUnit getTimeUnit()
      final EmitterConfig max(Integer amount) Max amount of particles that will be created over the duration that is set
      final EmitterConfig perSecond(Integer amount) Amount of particles that will be created per second
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait