com.threerings.opengl.effect.config
Class CounterConfig

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.opengl.effect.config.CounterConfig
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Direct Known Subclasses:
CounterConfig.ConstantRate, CounterConfig.RandomIntervals, CounterConfig.Unlimited

@EditorTypes(value={CounterConfig.Unlimited.class,CounterConfig.ConstantRate.class,CounterConfig.RandomIntervals.class})
public abstract class CounterConfig
extends DeepObject
implements Exportable

Determines how many particles to emit at each frame.


Nested Class Summary
static class CounterConfig.ConstantRate
          Releases particles at a constant rate.
static class CounterConfig.RandomIntervals
          Superclass for counters that determine the number of particles to release by generating sequences of interarrival times (intervals).
static class CounterConfig.Unlimited
          Always releases the maximum number of particles.
 
Constructor Summary
CounterConfig()
           
 
Method Summary
abstract  Counter createCounter()
          Creates the counter corresponding to this config.
 
Methods inherited from class com.threerings.util.DeepObject
clone, copy, copy, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CounterConfig

public CounterConfig()
Method Detail

createCounter

public abstract Counter createCounter()
Creates the counter corresponding to this config.



Copyright © 2011. All Rights Reserved.