Package 

Class EmitterConfig

  • All Implemented Interfaces:

    
    public final class EmitterConfig
    
                        

    EmitterConfig class that will gold the Emitter configuration and amount of particles that will be created over certain time

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Long getEmittingTime() Max time allowed to emit in milliseconds
      final Unit setEmittingTime(Long emittingTime) Max time allowed to emit in milliseconds
      final Float getAmountPerMs() Amount of time needed for each particle creation in milliseconds
      final Unit setAmountPerMs(Float amountPerMs) Amount of time needed for each particle creation in milliseconds
      final EmitterConfig max(Integer amount) Amount of particles 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