|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.rico.engine.effect.particle.ParticleEffectContainer
public class ParticleEffectContainer
Simple container class for particle effects
| Constructor Summary | |
|---|---|
ParticleEffectContainer()
|
|
| Method Summary | |
|---|---|
void |
add(AbstractParticleEffect effect)
Adds the specified particle effect to the container |
void |
draw(javax.media.opengl.GL gl)
Draws the particle effects in the container |
java.util.List<AbstractParticleEffect> |
getEffects()
Returns the list of particle effects in the container. |
void |
remove(AbstractParticleEffect effect)
Removes the specified particle effect from the container |
void |
update(long elapsedTime)
Updates the particle effects in the container |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ParticleEffectContainer()
| Method Detail |
|---|
public void add(AbstractParticleEffect effect)
effect - particle effect to add to the containerpublic void remove(AbstractParticleEffect effect)
effect - particle effect to remove from the containerpublic java.util.List<AbstractParticleEffect> getEffects()
public void update(long elapsedTime)
elapsedTime - time between two framespublic void draw(javax.media.opengl.GL gl)
gl -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||