src/level/DescFinder.h
raw| 1 | #ifndef HEADER_DESCFINDER_H |
| 2 | #define HEADER_DESCFINDER_H |
| 3 | |
| 4 | class Level; |
| 5 | |
| 6 | #include <string> |
| 7 | |
| 8 | /** |
| 9 | * Allows to find level name and description. |
| 10 | */ |
| 11 | class DescFinder { |
| 12 | public: |
| 13 | virtual ~DescFinder() {} |
| 14 | virtual std::string findLevelName( |
| 15 | const std::string &codename) const = 0; |
| 16 | virtual std::string findDesc( |
| 17 | const std::string &codename) const = 0; |
| 18 | }; |
| 19 | |
| 20 | #endif |