src/level/StepDecor.h
raw| 1 | #ifndef HEADER_STEPDECOR_H |
| 2 | #define HEADER_STEPDECOR_H |
| 3 | |
| 4 | class View; |
| 5 | class StepCounter; |
| 6 | |
| 7 | #include "Decor.h" |
| 8 | #include "Font.h" |
| 9 | |
| 10 | /** |
| 11 | * Draw number of steps. |
| 12 | */ |
| 13 | class StepDecor : public Decor { |
| 14 | private: |
| 15 | Font m_font; |
| 16 | const StepCounter *m_counter; |
| 17 | public: |
| 18 | StepDecor(const StepCounter *counter); |
| 19 | virtual void drawOnScreen(const View *view, SDL_Surface *screen); |
| 20 | }; |
| 21 | |
| 22 | #endif |