Added comments.

This commit is contained in:
Felix Ableitner 2012-09-11 21:13:36 +02:00
parent e2a48470e5
commit d1a31cac3e

View file

@ -19,15 +19,18 @@
* - pass xml filename
*/
class Weapon : public Emitter {
// Public functions.
public:
Weapon(Physical& holder, Collection& collection, b2World& world);
~Weapon();
void fire();
// Protected functions.
protected:
std::shared_ptr<Particle> createParticle();
// Private variables.
private:
Physical& mHolder;
std::shared_ptr<sf::Texture> mBulletTexture;