|
NasNas
An intuitive and beginner friendly 2D game framework for C++
|
Public Member Functions | |
| void | setTexture (const sf::Texture &texture) |
| void | setEmitRate (float rate) |
| void | emit (const sf::IntRect &rect, int nb, bool repeat=false) |
| void | emitBurst (const sf::IntRect &rect, int nb) |
| auto | getParticleCount () const -> unsigned |
| void | setPosition (float x, float y) |
| void | setPosition (const sf::Vector2f &pos) |
| auto | getPosition () const -> sf::Vector2f |
| auto | getGlobalBounds () const -> ns::FloatRect |
| virtual void | onParticleCreate (Particle &particle)=0 |
| virtual void | onParticleUpdate (Particle &particle)=0 |
| void | update () |
Definition at line 36 of file ParticleSystem.hpp.
1.8.13