|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjme.entity.effects.Particle
Particle
represents a single particle that is part of a larger
particle emitter. It maintains the information required to model an object
traveling in space. Things such as position, velocity, color, size are all
contained within the Particle
class.
Field Summary | |
Vector |
color
the color of the particle in RGB format. |
float |
fade
denotes the amount to degrade the particles life each turn. |
float |
life
denotes the amount of life left for the particlular particle. |
Vector |
position
the location in 3D space of the particle. |
Vector |
size
the size of the particle. |
Vector |
velocity
the direction the particle is traveling in. |
Constructor Summary | |
Particle()
Constructor instantiates a new Particle and
initializes all the variables. |
Method Summary | |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public float life
public float fade
public Vector color
public Vector position
public Vector velocity
public Vector size
Constructor Detail |
public Particle()
Particle
and
initializes all the variables.
Method Detail |
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |