Last change
on this file since 3220 was
3220,
checked in by patrick, 19 years ago
|
orxonox/trunk: fixed a lot of bugs with StoryEntity management, also cleared up some old unused code
|
File size:
652 bytes
|
Line | |
---|
1 | |
---|
2 | #ifndef STORY_ENTITY_H |
---|
3 | #define STORY_ENTITY_H |
---|
4 | |
---|
5 | #include "stdincl.h" |
---|
6 | #include "story_def.h" |
---|
7 | |
---|
8 | class StoryEntity { |
---|
9 | |
---|
10 | public: |
---|
11 | StoryEntity (); |
---|
12 | ~StoryEntity (); |
---|
13 | |
---|
14 | bool isInit; |
---|
15 | bool isPaused; |
---|
16 | |
---|
17 | virtual Error init(); |
---|
18 | virtual Error start(int storyID); |
---|
19 | virtual Error start(); |
---|
20 | virtual Error stop(); |
---|
21 | virtual Error pause(); |
---|
22 | virtual Error resume(); |
---|
23 | |
---|
24 | virtual void load(); |
---|
25 | virtual void destroy(); |
---|
26 | |
---|
27 | virtual void displayLoadScreen(); |
---|
28 | virtual void releaseLoadScreen(); |
---|
29 | |
---|
30 | void setStoryID(int storyID); |
---|
31 | int getStoryID(); |
---|
32 | |
---|
33 | void setNextStoryID(int nextStoryID); |
---|
34 | int getNextStoryID(); |
---|
35 | |
---|
36 | |
---|
37 | private: |
---|
38 | int storyID; |
---|
39 | int nextStoryID; |
---|
40 | }; |
---|
41 | |
---|
42 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.