| 1 |
#ifndef HEADER_DRAWABLE_H |
| 2 |
#define HEADER_DRAWABLE_H |
| 3 |
|
| 4 |
#include "NoCopy.h" |
| 5 |
|
| 6 |
#include "SDL.h" |
| 7 |
|
| 8 |
/** |
| 9 |
* Interface - draw able object. |
| 10 |
*/ |
| 11 |
class Drawable : public NoCopy { |
| 12 |
public: |
| 13 |
virtual ~Drawable() {} |
| 14 |
virtual void drawOn(SDL_Surface *screen) = 0; |
| 15 |
}; |
| 16 |
|
| 17 |
#endif |