#include "moving_object.hpp"
#include "direction.hpp"
+#include "refcounter.hpp"
/**
* An object that inherits from this object is considered "portable" and can
public:
virtual ~Portable()
{ }
-
+
/**
* called each frame when the object has been grabbed.
*/
virtual void ungrab(MovingObject& , Direction )
{}
+
+ virtual bool is_portable() const
+ {
+ return true;
+ }
};
#endif