Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/world_entities/questGUI/quest_gui.h @ 10543

Last change on this file since 10543 was 10492, checked in by patrick, 17 years ago

blinki patch

File size: 1.2 KB
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 = NULL);
19   virtual ~QuestGUI ();
20
21   void loadParams(const TiXmlElement* root);
22   bool isActive(){ return this->bActive; }
23
24   void startGUI();
25   void stopGUI();
26
27   virtual void tick(float dt);
28
29  private:
30    Quest*                  myQuest;
31    bool                    bKillGui;
32    bool                    bActive;
33
34    OrxGui::GLGuiBox*       headerBox;
35    OrxGui::GLGuiBox*       outlineBox;
36    OrxGui::GLGuiBox*       labelBox;
37    OrxGui::GLGuiImage*     placeImage;
38    OrxGui::GLGuiBox*       questBox;
39    OrxGui::GLGuiImage*     questImage;
40    OrxGui::GLGuiBox*       rewardBox;
41    OrxGui::GLGuiImage*     rewardImage;
42    OrxGui::GLGuiBox*       answerBox;
43    OrxGui::GLGuiImage*     placeImage2;
44    OrxGui::GLGuiBox*       acceptBox;
45    OrxGui::GLGuiBox*       refuseBox;
46
47
48    OrxSound::SoundSource*  selectorSource;
49
50    void accept();
51    void refuse();
52    void killgui();
53};
54
55#endif /* _QUESTGUI_H */
Note: See TracBrowser for help on using the repository browser.