- just doing some C++ifying
[supertux.git] / src / camera.h
index 648084e..18d2894 100644 (file)
@@ -52,6 +52,12 @@ public:
     (void) context;
   }
 
+  void set_scrolling(int scroll_x, int scroll_y)
+  {
+    translation.x = scroll_x;
+    translation.y = scroll_y;
+  }
+
   enum CameraMode
   {
     NORMAL, AUTOSCROLL, MANUAL