Intro file should be the one to handle the intro sequence, even if it is only one...
[supertux.git] / src / sprite.h
index c174396..ce5889a 100644 (file)
@@ -49,13 +49,14 @@ class Sprite
   /** cur has to be a pointer to data in the form of ((x-hotspot 5)
       (y-hotspot 10) ...) */
   Sprite(lisp_object_t* cur);
+  ~Sprite();
   
   void reset();
 
   /** Update the sprite and process to the next frame */
   void update(float delta);
   void draw(float x, float y);
-
+  void draw_part(float sx, float sy, float x, float y, float w, float h);
   int get_current_frame() const;
 
   std::string get_name() const { return name; }