projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Addded property to Worldmap Spawnpoint to let Tux automatically start walking (or...
[supertux.git]
/
src
/
object
/
portable.hpp
diff --git
a/src/object/portable.hpp
b/src/object/portable.hpp
index
6358b9d
..
721879d
100644
(file)
--- a/
src/object/portable.hpp
+++ b/
src/object/portable.hpp
@@
-35,7
+35,7
@@
class Portable
public:
virtual ~Portable()
{ }
-
+
/**
* called each frame when the object has been grabbed.
*/
@@
-43,6
+43,11
@@
public:
virtual void ungrab(MovingObject& , Direction )
{}
+
+ virtual bool is_portable() const
+ {
+ return true;
+ }
};
#endif