X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fobject%2Fbullet.hpp;h=789144722ab1579ddd563855d1ec2f0e6706435d;hb=4587bd9c8fc5cbb20f1e442de76bc06571ab56ba;hp=b18e375cd9e5878d626e748a83f43a290ec6edd3;hpb=4358672ea215fe309736a23e2cc2ebcf28254619;p=supertux.git diff --git a/src/object/bullet.hpp b/src/object/bullet.hpp index b18e375cd..789144722 100644 --- a/src/object/bullet.hpp +++ b/src/object/bullet.hpp @@ -25,7 +25,7 @@ #include "sprite/sprite.hpp" #include "player_status.hpp" -class Bullet : public MovingObject +class Bullet : public MovingObject, private UsesPhysic { public: Bullet(const Vector& pos, float xm, int dir, BonusType type); @@ -50,7 +50,6 @@ public: private: int life_count; - Physic physic; std::auto_ptr sprite; BonusType type; };