src/level/StatusDisplay.h
raw| 1 | #ifndef HEADER_STATUSDISPLAY_H |
| 2 | #define HEADER_STATUSDISPLAY_H |
| 3 | |
| 4 | class Picture; |
| 5 | |
| 6 | #include "Drawable.h" |
| 7 | |
| 8 | /** |
| 9 | * Show status change. |
| 10 | */ |
| 11 | class StatusDisplay : public Drawable { |
| 12 | private: |
| 13 | Picture *m_picture; |
| 14 | int m_time; |
| 15 | public: |
| 16 | StatusDisplay(); |
| 17 | virtual ~StatusDisplay(); |
| 18 | void displayStatus(Picture *new_picture, int time); |
| 19 | virtual void drawOn(SDL_Surface *screen); |
| 20 | }; |
| 21 | |
| 22 | #endif |