#include <particle.h>
Public Member Functions | |
Particle () | |
Constructs an uninitialized particle. | |
Particle (component m, vector2 p, vector2 v, component l) | |
Constructs a particle. | |
Public Attributes | |
component | age |
The current age. | |
component | lifetime |
The life time. | |
component | mass |
The mass. | |
vector2 | position |
The current position. | |
vector2 | velocity |
The current velocity. | |
vector2 | force |
The current force. |
|
Constructs a particle.
|