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