forgot an assert
[supertux.git] / src / tile.h
index a5f5856..8a0cf8d 100644 (file)
 
 #include <vector>
 #include "video/surface.h"
-#include "math/rectangle.h"
+#include "math/rect.h"
 #include "lisp/lisp.h"
 
-using namespace SuperTux;
-
 /**
 Tile Class
 */
@@ -74,12 +72,12 @@ private:
   unsigned int id;
 
   struct ImageSpec {
-    ImageSpec(const std::string& newfile, const Rectangle& newrect)
+    ImageSpec(const std::string& newfile, const Rect& newrect)
       : file(newfile), rect(newrect)
     { }
 
     std::string file;
-    Rectangle rect;
+    Rect rect;
   };
   std::vector<ImageSpec> imagespecs;
   std::vector<Surface*> images;
@@ -92,7 +90,7 @@ private:
   
   /** General purpose data attached to a tile (content of a box, type of coin)*/
   int data;
-
+  
   float anim_fps;
 
 public: