src/menu/LevelDesc.h
raw| 1 | #ifndef HEADER_LEVELDESC_H |
| 2 | #define HEADER_LEVELDESC_H |
| 3 | |
| 4 | #include "Dialog.h" |
| 5 | |
| 6 | /** |
| 7 | * Multi lang. level description. |
| 8 | */ |
| 9 | class LevelDesc : public Dialog { |
| 10 | private: |
| 11 | std::string m_levelname; |
| 12 | public: |
| 13 | LevelDesc(const std::string &lang, |
| 14 | const std::string &levelname, |
| 15 | const std::string &desc); |
| 16 | std::string getLevelName() const { return m_levelname; } |
| 17 | std::string getDesc() const { return getSubtitle(); } |
| 18 | }; |
| 19 | |
| 20 | #endif |
| 21 |