|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectherzog3d.HZObject
effects.Effect
effects.ParticleEffect
public class ParticleEffect
| Field Summary |
|---|
| Fields inherited from class herzog3d.HZObject |
|---|
active, dir, pos, radius, shell, skin, state |
| Constructor Summary | |
|---|---|
ParticleEffect(ParticleModel model,
float size,
ReadableVector3f pos,
Vector3f dir)
ParticleEffect, also acts as a point particle emitter. |
|
| Method Summary | |
|---|---|
void |
draw()
|
boolean |
isActive()
|
void |
update(Game g,
float step)
|
| Methods inherited from class herzog3d.HZObject |
|---|
getColRadius, getDir, getPos, getRadius, intersects, move, move, setActive, setModel, setPos, setPos, setSkin, setState, testCollision |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ParticleEffect(ParticleModel model,
float size,
ReadableVector3f pos,
Vector3f dir)
model - The particle model to use.size - The size of the effect.pos - The position of the effect.dir - The direction the effect is facing, null if omnidirectional.| Method Detail |
|---|
public void update(Game g,
float step)
update in class Effectpublic boolean isActive()
isActive in class HZObjectpublic void draw()
draw in class Effect
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||