-converted remaining classes to GameObject
[supertux.git] / src / tilemap.h
1 #ifndef __TILEMAP_H__
2 #define __TILEMAP_H__
3
4 #include "game_object.h"
5 #include "drawable.h"
6
7 class Level;
8
9 /**
10  * This class is reponsible for drawing the level tiles
11  */
12 class TileMap : public GameObject, public Drawable
13 {
14 public:
15   TileMap(DisplayManager& manager, Level* level);
16   virtual ~TileMap();
17
18   virtual void action(float elapsed_time);
19   virtual void draw(ViewPort& viewport, int layer);
20   virtual std::string type() const
21   { return "TileMap"; }
22   
23 private:
24   Level* level;
25 };
26
27 #endif
28