UGDK  0.4.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
languageword.h
Go to the documentation of this file.
1 #ifndef UGDK_UTIL_LANGUAGEWORD_H_
2 #define UGDK_UTIL_LANGUAGEWORD_H_
3 
4 #include <string>
5 #include <ugdk/graphic.h>
6 
7 namespace ugdk {
8 
9 class LanguageWord {
10  public:
11  virtual ~LanguageWord() {}
12  virtual graphic::Text* GenerateText() const = 0;
13  const std::string& font() const { return font_; }
14  protected:
15  LanguageWord(const std::string& font) : font_(font) {}
16  std::string font_;
17 };
18 
19 } // namespace ugdk
20 
21 #endif /* UGDK_UTIL_LANGUAGEWORD_H_ */