public class ParticleDef extends Object
Modifier and Type | Field and Description |
---|---|
ParticleColor |
color
The color of the particle.
|
Vec2 |
position
The world position of the particle.
|
Vec2 |
velocity
The linear velocity of the particle in world co-ordinates.
|
Constructor and Description |
---|
ParticleDef() |
Modifier and Type | Method and Description |
---|---|
int |
getTypeFlags() |
Object |
getUserData() |
void |
setTypeFlags(int typeFlags) |
void |
setUserData(Object userData) |
public final Vec2 position
public final Vec2 velocity
public ParticleColor color
Copyright © 2018. All rights reserved.