#include <vector>
#include "video/surface.h"
-#include "math/rectangle.h"
+#include "math/rect.h"
#include "lisp/lisp.h"
-using namespace SuperTux;
-
/**
Tile Class
*/
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;
/** General purpose data attached to a tile (content of a box, type of coin)*/
int data;
-
+
float anim_fps;
public: