Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

MultiDrawer.h

Go to the documentation of this file.
00001 #ifndef HEADER_MULTIDRAWER_H
00002 #define HEADER_MULTIDRAWER_H
00003 
00004 #include "Drawable.h"
00005 
00006 #include <vector>
00007 
00008 /**
00009  * Container for pasive drawers.
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

Generated on Wed Jun 1 09:54:31 2005 for Fish Fillets - Next Generation by  doxygen 1.4.2