adding torch sprite for level entry
[supertux.git] / src / collision_hit.hpp
index 42c0aa6..e3ae280 100644 (file)
@@ -27,8 +27,6 @@
  */
 enum HitResponse
 {
-  // note: keep the elements in this order
-
   /// don't move the object
   ABORT_MOVE = 0,
   /// move object out of collision and check for collisions again
@@ -52,5 +50,12 @@ public:
   Vector normal;
 };
 
+class TilemapCollisionHit : public CollisionHit
+{
+public:
+  /// the flags of all tiles tux collided with
+  int tileflags;
+};
+
 #endif