jjdh.opengl.particleEngine
Class Particle
java.lang.Object
jjdh.opengl.particleEngine.Particle
public class Particle
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
liveSpan
private int liveSpan
age
private int age
size
private float size
timeOfCreation
private long timeOfCreation
position
private Vector3D position
velocity
private Vector3D velocity
Particle
public Particle(int liveSpan,
float size,
Vector3D position)
Particle
public Particle()
getLiveSpan
public long getLiveSpan()
setLiveSpan
public void setLiveSpan(int liveSpan)
getAge
public int getAge()
getAgeInPercent
public float getAgeInPercent()
incrementAge
public void incrementAge()
getPosition
public Vector3D getPosition()
setPosition
public void setPosition(Vector3D position)
getSize
public float getSize()
setSize
public void setSize(float size)
getTimeOfCreation
public long getTimeOfCreation()
setTimeOfCreation
public void setTimeOfCreation(long timeOfCreation)
getVelocity
public Vector3D getVelocity()
setVelocity
public void setVelocity(Vector3D velocity)
setAge
public void setAge(int i)
Copyright © 2006 Jonas Jacobi and Dennis Heidsiek. All Rights Reserved.