+ /**
+ * The direction we initially faced in
+ */
+ Direction start_dir;
+
+ /**
+ * Get Direction from String.
+ */
+ Direction str2dir( std::string dir_str );
+
+ /**
+ * Update on_ground_flag judging by solid collision @c hit.
+ * This gets called from the base implementation of collision_solid, so call this when overriding collision_solid's default behaviour.
+ */
+ void update_on_ground_flag(const CollisionHit& hit);
+
+ /**
+ * Returns true if we touched ground in the past frame
+ * This only works if update_on_ground_flag() gets called in collision_solid.
+ */
+ bool on_ground();
+
+ /**
+ * Returns floor normal stored the last time when update_on_ground_flag was called and we touched something solid from above.
+ */
+ Vector get_floor_normal();
+
+ bool frozen;
+ bool ignited; /**< true if this badguy is currently on fire */
+
+ std::string dead_script; /**< script to execute when badguy is killed */
+