- };
-
-class Tile
-{
-public:
- Tile();
- ~Tile();
-
- void draw(DrawingContext& context, Vector pos);
-
- std::vector<Surface*> images;
- float anim_fps;
-
- // Directions in which Tux is allowed to walk from this tile
- bool north;
- bool east;
- bool south;
- bool west;
-
- /** One way tile */
- int one_way;
-
- /** Stop on this tile or walk over it? */
- bool stop;
-
- /** When set automatically turn directions when walked over such a
- tile (ie. walk smoothly a curve) */
- bool auto_walk;
-};
-
-class TileManager
-{
-private:
- typedef std::vector<Tile*> Tiles;
- Tiles tiles;
-
-public:
- TileManager();
- ~TileManager();
-
- Tile* get(int i);