|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.jinx.action.Actor
net.jinx.physics.fountain.ParticleFountain
public class ParticleFountain
| Constructor Summary | |
|---|---|
ParticleFountain(java.lang.String name,
Universe universe,
ParticleFactory factory)
|
|
ParticleFountain(java.lang.String name,
Universe universe,
ParticleFactory factory,
float releaseRate,
float decayAfter)
|
|
ParticleFountain(java.lang.String name,
Universe universe,
ParticleFactory factory,
ReleaseControl releaseControl,
float decayAfter)
|
|
| Method Summary | |
|---|---|
void |
actorAdded(Actor actor,
Scene scene)
Called when an Actor has been added to the Scene. |
void |
actorRemoved(Actor actor,
Scene scene)
Called when an Actor has been removed from the Scene. |
void |
deinit(Context opt)
Deinitializes this Visible, disposing of any resources that it may be using. |
void |
draw(Context opt)
Renders this Visible to glDrawable. |
void |
drawPass(Context opt,
Pass pass)
|
float |
getDecayAfter()
|
ReleaseControl |
getReleaseControl()
|
void |
init(Context opt)
Initializes this Visible, preparing it for rendering. |
protected void |
processEvent(ActorEvent event)
Processes an ActorEvent. |
protected void |
release()
|
void |
setDecayAfter(float decayAfter)
|
void |
setParentUniverse(Universe parent)
|
void |
setVisible(ParticleVisible visible)
|
boolean |
shouldSubordinateUniverse()
|
void |
subordinateUniverse(boolean subordinateUniverse)
|
| Methods inherited from class net.jinx.action.Actor |
|---|
checkAllowAdd, getName, getOwner, hashCode, ownerChanged, sendEvent, sendEvent, sendEvent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ParticleFountain(java.lang.String name,
Universe universe,
ParticleFactory factory)
public ParticleFountain(java.lang.String name,
Universe universe,
ParticleFactory factory,
float releaseRate,
float decayAfter)
public ParticleFountain(java.lang.String name,
Universe universe,
ParticleFactory factory,
ReleaseControl releaseControl,
float decayAfter)
| Method Detail |
|---|
public ReleaseControl getReleaseControl()
public boolean shouldSubordinateUniverse()
public void subordinateUniverse(boolean subordinateUniverse)
public void actorAdded(Actor actor,
Scene scene)
SceneListener
actorAdded in interface SceneListeneractor - the Actor that has been added.scene - the Scene that this event came from.
public void actorRemoved(Actor actor,
Scene scene)
SceneListener
actorRemoved in interface SceneListeneractor - the Actor that has been removed.scene - the Scene that this event came from.public void setParentUniverse(Universe parent)
protected void processEvent(ActorEvent event)
Actor
processEvent in class Actorevent - the ActorEvent to process.protected void release()
public float getDecayAfter()
public void setDecayAfter(float decayAfter)
public void setVisible(ParticleVisible visible)
public void init(Context opt)
Visible
init in interface Visibleopt - describes the rendering options that are being used.public void draw(Context opt)
Visible
draw in interface Visibleopt - describes the rendering options that are being used.
public void drawPass(Context opt,
Pass pass)
drawPass in interface MultipassVisiblepublic void deinit(Context opt)
Visible
deinit in interface Visibleopt - describes the rendering options that are being used.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||