branch | new_graphics |
changeset 410 | 41fd46cffc52 |
child 411 | 106aaf6eadfe |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/Graphics/Drawable.hh Wed Jan 21 01:57:24 2009 +0200 @@ -0,0 +1,23 @@ +#ifndef GRAPHICS_DRAWABLE_HH +#define GRAPHICS_DRAWABLE_HH + +#include "Display.hh" + +namespace graphics +{ + +/** + * Abstract interface class to define something that's drawable + */ +class Drawable { +public: + /** + * Draw graphics onto the given display + */ + virtual void draw (Display *display) = 0; +} + +} + + +#endif