4 #include "special/moving_object.h"
6 using namespace SuperTux;
9 * An object that inherits from this object is considered "portable" and can
10 * be carried around by the player.
11 * The object has to additionally set the PORTABLE flag (this allows to
12 * make the object only temporarily portable by resetting the flag)
21 * called each frame when the object has been grabbed.
23 virtual void grab(MovingObject& object, const Vector& pos) = 0;
25 /** called when object isn't grabbed anymore */
26 virtual void ungrab(MovingObject& object)