Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

Quest-Klasse implementiert

File size: 969 bytes
Line 
1
2#ifndef _QUESTGUI_H
3#define _QUESTGUI_H
4
5#include "world_entity.h"
6#include "glgui.h"
7#include <glgui_image.h>
8#include <vector>
9
10class Quest;
11
12class QuestGUI : public WorldEntity
13{
14
15  ObjectListDeclaration(QuestGUI);
16 
17  public:
18   QuestGUI (const TiXmlElement* root);
19   virtual ~QuestGUI ();
20                     
21   void loadParams(const TiXmlElement* root);
22   
23   void guiInit();
24
25   virtual void tick(float dt);
26   
27  private:
28    Quest*                  myQuest;
29    bool                    bKillGui;
30   
31    OrxGui::GLGuiBox*       headerBox;
32    OrxGui::GLGuiBox*       outlineBox; 
33    OrxGui::GLGuiBox*       labelBox;
34    OrxGui::GLGuiBox*       questBox;
35    OrxGui::GLGuiImage*     questImage;
36    OrxGui::GLGuiBox*       rewardBox;
37    OrxGui::GLGuiImage*     rewardImage;
38    OrxGui::GLGuiBox*       answerBox;
39
40    OrxSound::SoundSource*  selectorSource;
41   
42    void accept();
43    void refuse();
44    void killgui();
45};
46
47#endif /* _QUESTGUI_H */
Note: See TracBrowser for help on using the repository browser.