UGDK
src/ugdk/util/languageword.h
Go to the documentation of this file.
00001 #ifndef UGDK_UTIL_LANGUAGEWORD_H_
00002 #define UGDK_UTIL_LANGUAGEWORD_H_
00003 
00004 #include <string>
00005 #include <ugdk/graphic.h>
00006 
00007 namespace ugdk {
00008 
00009 class LanguageWord {
00010   public:
00011     virtual ~LanguageWord() {}
00012     virtual graphic::Text* GenerateText() const = 0;
00013     const std::string& font() const { return font_; }
00014   protected:
00015     LanguageWord(const std::string& font) : font_(font) {}
00016     std::string font_;
00017 };
00018 
00019 }  // namespace ugdk
00020 
00021 #endif /* UGDK_UTIL_LANGUAGEWORD_H_ */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines