changeset 42 | 83b8151b966d |
child 43 | cf8c1b5127b2 |
new file mode 100644 --- /dev/null +++ b/pmc/include/drawable.h @@ -0,0 +1,22 @@ +/** + * test/demos/pmc/include/drawable.h + * Copyright (C) 2008 Markus Broeker + */ + +#ifndef DRAWABLE_H +#define DRAWABLE_H + +#include <surface.h> +#include <vector.h> + +class Drawable:public Object { + protected: + Vector anker; + Surface *surface; + + public: + virtual ~ Drawable () {}; + virtual void move (Vector location) = 0; + virtual void show () = 0; +}; +#endif