Scales particles over time. More...
Public Member Functions | |
ScaleAffector (sf::Vector2f scaleFactor) | |
Constructor. More... | |
void | operator() (Particle &particle, sf::Time dt) |
Affects particles. More... | |
Scales particles over time.
|
explicit |
Constructor.
scaleFactor | Factor by which particles are scaled every second. |
void thor::ScaleAffector::operator() | ( | Particle & | particle, |
sf::Time | dt | ||
) |
Affects particles.
particle | The particle currently being affected. |
dt | Time interval during which particles are affected. |