4 #include "special/moving_object.h"
5 #include "math/physic.h"
8 #include "serializable.h"
14 class Rock : public MovingObject, public Portable, public Serializable
17 Rock(const lisp::Lisp& reader);
20 HitResponse collision(GameObject& other, const CollisionHit& hit);
21 void action(float elapsed_time);
22 void draw(DrawingContext& context);
23 void write(lisp::Writer& writer);
25 void grab(MovingObject& object, const Vector& pos);