00001 #ifndef HEADER_MULTIDRAWER_H
00002 #define HEADER_MULTIDRAWER_H
00003
00004 #include "Drawable.h"
00005
00006 #include <vector>
00007
00008
00009
00010
00011 class MultiDrawer : public Drawable {
00012 private:
00013 typedef std::vector<Drawable*> t_drawers;
00014 t_drawers m_drawers;
00015 public:
00016 void acceptDrawer(Drawable *drawer);
00017 void removeDrawer(const Drawable *drawer);
00018 void removeAll();
00019
00020 virtual void drawOn(SDL_Surface *screen);
00021 };
00022
00023 #endif