diff options
Diffstat (limited to 'include/particle.hpp')
-rw-r--r-- | include/particle.hpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/include/particle.hpp b/include/particle.hpp new file mode 100644 index 0000000..09651d2 --- /dev/null +++ b/include/particle.hpp @@ -0,0 +1,25 @@ +#ifndef ARIDER_PARTICLE_HPP +#define ARIDER_PARTICLE_HPP + +#include <glm/glm.hpp> + +#include <YAGE/Physics/particlebody.hpp> +#include <YAGE/texturecache.hpp> +#include <YAGE/spritebatch.hpp> + + +class Particle +{ +private: + yage::ParticleBody particle_body_; + yage::Texture texture_; + +public: + Particle(); + ~Particle(); + + void setTexture(const std::string &texture_path); + void renderSprite(yage::SpriteBatch &sprite_batch); +}; + +#endif |