X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fobject%2Frock.hpp;h=86a8e0e1bdae8f741021fb627d372beac382ce32;hb=a98f7cee9f6a2593c0e1f3442800f159bad410df;hp=379ed07a4f9a636f0ccb7b9bcda4ca4313e61623;hpb=781b60522acc0f34ba4091838d12aa0db7cc9a56;p=supertux.git diff --git a/src/object/rock.hpp b/src/object/rock.hpp index 379ed07a4..86a8e0e1b 100644 --- a/src/object/rock.hpp +++ b/src/object/rock.hpp @@ -28,9 +28,10 @@ class Sprite; -class Rock : public MovingSprite, public Portable, public Serializable +class Rock : public MovingSprite, public Portable, protected UsesPhysic, public Serializable { public: + Rock(const Vector& pos, std::string spritename); Rock(const lisp::Lisp& reader); Rock(const lisp::Lisp& reader, std::string spritename); virtual Rock* clone() const { return new Rock(*this); } @@ -46,7 +47,6 @@ public: protected: bool on_ground; bool grabbed; - Physic physic; Vector last_movement; };