Hardcoded stay-on-platform behaviour as follows: Mr. Bomb, Mr. Tree and the Totem...
[supertux.git] / src / badguy / badguy.hpp
index 24f3154..872d2ac 100644 (file)
@@ -149,6 +149,7 @@ protected:
    * Checks if the badguy may fall off a platform if continuing a given movement.
    */
   bool may_fall_off_platform();
+  bool might_fall(int height); /**< returns true if we might soon fall at least @c height pixels. Minimum value for height is 1 pixel */
 
   Vector start_position;