- moved loadshared() to the right point
[supertux.git] / src / tile.h
index 721b010..047bd70 100644 (file)
@@ -40,6 +40,9 @@ struct Tile
   /** FIXME: ? */
   bool ice;
 
+  /** water */
+  bool water;
+
   /** Bonusbox, content is stored in \a data */
   bool fullbox;
 
@@ -54,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
@@ -89,6 +95,4 @@ class TileManager
   }
 };
 
-
-
 #endif