Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/gui/src/world_entities/questGUI/quest_gui.h @ 10066

Last change on this file since 10066 was 10066, checked in by hejja, 17 years ago

Herumspielen am design

File size: 1.1 KB
Line 
1
2#ifndef _QUESTGUI_H
3#define _QUESTGUI_H
4
5#include "world_entity.h"
6#include "glgui.h"
7#include <vector>
8
9
10
11class QuestGUI : public WorldEntity
12{
13
14  ObjectListDeclaration(QuestGUI);
15 
16  public:
17   QuestGUI (const TiXmlElement* root);
18   virtual ~QuestGUI ();
19
20
21   virtual void loadParams(const TiXmlElement* root = NULL);
22
23   /** @param questName sets the name of this quest */
24   inline void setQuestName(const std::string& questName) { this->questName = questName; }
25   inline void setQuestDescription(const std::string& questDescription) { this->questDescription = questDescription; }
26   inline void setQuestPicture(const std::string& questPicture) { this->questPicture = questPicture; }
27   inline void setQuestOutline(const std::string& questOutline) { this->questOutline = questOutline; }
28   void guiInit();
29
30   
31  private:
32    std::string             questName;
33    std::string             questDescription;
34    std::string             questPicture;
35    std::string             questOutline;
36   
37    OrxGui::GLGuiBox*       questBox;
38
39    OrxGui::GLGuiBox*       currentlyOpened;
40
41    OrxSound::SoundSource*  selectorSource;
42};
43
44#endif /* _QUESTGUI_H */
Note: See TracBrowser for help on using the repository browser.