Added comments.
This commit is contained in:
parent
e2a48470e5
commit
d1a31cac3e
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Reference in a new issue