Finally!!
[supertux.git] / src / mousecursor.h
index 2778756..35a417b 100644 (file)
@@ -33,13 +33,14 @@ class MouseCursor
     ~MouseCursor();
     int state();
     void set_state(int nstate);
-    void draw(int x, int y);
+    void draw();
     
     private:
+    int state_before_click;
     int cur_state;
     int cur_frame, tot_frames;
-    texture_type cursor;
-    timer_type timer;
+    Surface* cursor;
+    Timer timer;
   };
 
 #endif /*SUPERTUX_MOUSECURSOR_H*/