branch | new_graphics |
changeset 410 | 41fd46cffc52 |
child 411 | 106aaf6eadfe |
409:1a03ff151abc | 410:41fd46cffc52 |
---|---|
1 #ifndef GRAPHICS_DRAWABLE_HH |
|
2 #define GRAPHICS_DRAWABLE_HH |
|
3 |
|
4 #include "Display.hh" |
|
5 |
|
6 namespace graphics |
|
7 { |
|
8 |
|
9 /** |
|
10 * Abstract interface class to define something that's drawable |
|
11 */ |
|
12 class Drawable { |
|
13 public: |
|
14 /** |
|
15 * Draw graphics onto the given display |
|
16 */ |
|
17 virtual void draw (Display *display) = 0; |
|
18 } |
|
19 |
|
20 } |
|
21 |
|
22 |
|
23 #endif |