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;