|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjme.entity.effects.ParticleSystem
ParticleSystem maintains a collection of
particle emitters.
| Constructor Summary | |
ParticleSystem()
|
|
| Method Summary | |
void |
addEmitter(ParticleEmitter emitter)
|
void |
checkVisibility(Frustum frustum)
checkVisibility makes the appropriate checks to test if
the entity is currently visible or not. |
BoundingVolume |
getBoundingVolume()
getBoundingVolume returns the volume that contains this
entity. |
boolean |
isVisible()
isVisible returns true if the entity is visible and false
if it is not. |
void |
render()
render handles the making the required calls to the
rendering framework (OpenGL) to display the entity to the screen. |
void |
setBoundingVolume(BoundingVolume volume)
setBoundingVolume sets the volume that contains this
entity. |
void |
setPosition(Vector position)
|
void |
update(float time)
update is used to alter the entity in any way to reflect
the passage of time. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ParticleSystem()
| Method Detail |
public void render()
EntityInterfacerender handles the making the required calls to the
rendering framework (OpenGL) to display the entity to the screen.
render in interface EntityInterfacepublic void update(float time)
EntityInterfaceupdate is used to alter the entity in any way to reflect
the passage of time. This could be position changes, animation, etc.
update in interface EntityInterfacetime - the amount of time between frames.EntityInterface.update(float)public boolean isVisible()
EntityInterfaceisVisible returns true if the entity is visible and false
if it is not.
isVisible in interface EntityInterfacepublic void checkVisibility(Frustum frustum)
EntityInterfacecheckVisibility makes the appropriate checks to test if
the entity is currently visible or not.
checkVisibility in interface EntityInterfacefrustum - the view frustum to check against.public void addEmitter(ParticleEmitter emitter)
public void setPosition(Vector position)
public void setBoundingVolume(BoundingVolume volume)
setBoundingVolume sets the volume that contains this
entity.
setBoundingVolume in interface EntityInterfacevolume - the volume that contains this entity.public BoundingVolume getBoundingVolume()
getBoundingVolume returns the volume that contains this
entity.
getBoundingVolume in interface EntityInterface
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||