New Norwegian Translation
[supertux.git] / lib / special / collision.h
index 21dc52f..867888c 100644 (file)
@@ -4,6 +4,7 @@
 namespace SuperTux
 {
 
+class Vector;
 class Rectangle;
 class CollisionHit;
 class AATriangle;
@@ -15,13 +16,13 @@ public:
    * collision and fills in the hit structure then.
    */
   static bool rectangle_rectangle(CollisionHit& hit, const Rectangle& r1,
-      const Rectangle& r2);
+      const Vector& movement, const Rectangle& r2);
 
   /** does collision detection between a rectangle and an axis aligned triangle
    * Returns true in case of a collision and fills in the hit structure then.
    */                                                                         
   static bool rectangle_aatriangle(CollisionHit& hit, const Rectangle& rect,
-      const AATriangle& triangle);                                            
+      const Vector& movement, const AATriangle& triangle);                                            
 };
 
 }