source:
orxonox.OLD/trunk/src/world_entities/questGUI/quest_gui.h
@
10618
Last change on this file since 10618 was 10618, checked in by bknecht, 17 years ago | |
---|---|
File size: 699 bytes |
Rev | Line | |
---|---|---|
[10026] | 1 | |
2 | #ifndef _QUESTGUI_H | |
3 | #define _QUESTGUI_H | |
4 | ||
5 | #include "world_entity.h" | |
6 | ||
[10129] | 7 | class Quest; |
[10618] | 8 | namespace OrxGui { class GLGuiBox; } |
[10026] | 9 | |
[10492] | 10 | class QuestGUI : public WorldEntity |
[10026] | 11 | { |
12 | ||
13 | ObjectListDeclaration(QuestGUI); | |
[10492] | 14 | |
[10026] | 15 | public: |
[10265] | 16 | QuestGUI (const TiXmlElement* root = NULL); |
[10026] | 17 | virtual ~QuestGUI (); |
[10492] | 18 | |
[10129] | 19 | void loadParams(const TiXmlElement* root); |
[10277] | 20 | bool isActive(){ return this->bActive; } |
[10026] | 21 | |
[10492] | 22 | void startGUI(); |
23 | void stopGUI(); | |
24 | ||
[10129] | 25 | virtual void tick(float dt); |
[10492] | 26 | |
[10026] | 27 | private: |
[10618] | 28 | Quest* myQuest; |
29 | bool bKillGui; | |
30 | bool bActive; | |
[10492] | 31 | |
[10026] | 32 | OrxGui::GLGuiBox* questBox; |
[10618] | 33 | |
34 | ||
[10026] | 35 | |
[10129] | 36 | void accept(); |
37 | void refuse(); | |
38 | void killgui(); | |
[10026] | 39 | }; |
40 | ||
41 | #endif /* _QUESTGUI_H */ |
Note: See TracBrowser
for help on using the repository browser.