Finally!!
[supertux.git] / src / tile.h
index 2175b2b..40feb80 100644 (file)
@@ -26,8 +26,8 @@ struct Tile
 {
   int id;
 
-  std::vector<texture_type> images;
-  std::vector<texture_type> editor_images;
+  std::vector<Surface*> images;
+  std::vector<Surface*> editor_images;
   
   std::vector<std::string>  filenames;
 
@@ -57,6 +57,9 @@ struct Tile
   int next_tile;
 
   int anim_speed;
+  
+  /** Draw a tile on the screen: */
+  static void draw(float x, float y, unsigned int c, Uint8 alpha = 255);
 };
 
 struct TileGroup
@@ -92,6 +95,4 @@ class TileManager
   }
 };
 
-
-
 #endif