changeset 42 | 83b8151b966d |
child 43 | cf8c1b5127b2 |
41:574503cf7bb0 | 42:83b8151b966d |
---|---|
1 /** |
|
2 * test/demos/pmc/include/drawable.h |
|
3 * Copyright (C) 2008 Markus Broeker |
|
4 */ |
|
5 |
|
6 #ifndef DRAWABLE_H |
|
7 #define DRAWABLE_H |
|
8 |
|
9 #include <surface.h> |
|
10 #include <vector.h> |
|
11 |
|
12 class Drawable:public Object { |
|
13 protected: |
|
14 Vector anker; |
|
15 Surface *surface; |
|
16 |
|
17 public: |
|
18 virtual ~ Drawable () {}; |
|
19 virtual void move (Vector location) = 0; |
|
20 virtual void show () = 0; |
|
21 }; |
|
22 #endif |