com.threerings.opengl.effect
Interface Counter


public interface Counter

Determines how many particles to emit at each frame.


Method Summary
 int count(float elapsed, int maximum)
          Returns the number of particles to release at this frame.
 void reset()
          Resets the counter to its initial state.
 

Method Detail

count

int count(float elapsed,
          int maximum)
Returns the number of particles to release at this frame.


reset

void reset()
Resets the counter to its initial state.



Copyright © 2011. All Rights Reserved.