28 lines
493 B
C++
Executable file
28 lines
493 B
C++
Executable file
/*
|
|
* Particle.h
|
|
*
|
|
* Created on: 15.08.2012
|
|
* Author: Felix
|
|
*/
|
|
|
|
#ifndef DG_PARTICLE_H_
|
|
#define DG_PARTICLE_H_
|
|
|
|
#include "../abstract/Sprite.h"
|
|
#include "../util/Yaml.h"
|
|
|
|
class Sprite;
|
|
class Yaml;
|
|
|
|
/**
|
|
* Prototype for a particle.
|
|
*/
|
|
class Particle : public Sprite {
|
|
// Public functions.
|
|
public:
|
|
Particle(const std::shared_ptr<sf::Texture>& texture, const PhysicalData& data,
|
|
const Yaml& config);
|
|
virtual ~Particle();
|
|
};
|
|
|
|
#endif /* DG_PARTICLE_H_ */
|