From d1a31cac3e4f5c126171ac1c2c01a8ac8aebb430 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Tue, 11 Sep 2012 21:13:36 +0200 Subject: [PATCH] Added comments. --- source/items/Weapon.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/items/Weapon.h b/source/items/Weapon.h index 4f70e71..795589e 100755 --- a/source/items/Weapon.h +++ b/source/items/Weapon.h @@ -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 createParticle(); +// Private variables. private: Physical& mHolder; std::shared_ptr mBulletTexture;