Line | |
---|
1 | /*! |
---|
2 | * @file movie_loader.h |
---|
3 | * loads a movie |
---|
4 | */ |
---|
5 | |
---|
6 | #ifndef _MOVIE_LOADER_H |
---|
7 | #define _MOVIE_LOADER_H |
---|
8 | |
---|
9 | |
---|
10 | #include "story_entity.h" |
---|
11 | |
---|
12 | |
---|
13 | class MovieLoader : public StoryEntity |
---|
14 | { |
---|
15 | |
---|
16 | public: |
---|
17 | MovieLoader(); |
---|
18 | virtual ~MovieLoader(); |
---|
19 | |
---|
20 | virtual void loadParams(const TiXmlElement* root); |
---|
21 | |
---|
22 | /* functions from story-entity */ |
---|
23 | virtual ErrorMessage init(); |
---|
24 | virtual ErrorMessage loadData(); |
---|
25 | virtual ErrorMessage unloadData(); |
---|
26 | |
---|
27 | virtual bool start(); |
---|
28 | virtual bool stop(); |
---|
29 | virtual bool pause(); |
---|
30 | virtual bool resume(); |
---|
31 | virtual void run(); |
---|
32 | |
---|
33 | private: |
---|
34 | void draw() const; |
---|
35 | void tick(); |
---|
36 | }; |
---|
37 | |
---|
38 | #endif /* _MOVIE_LOADER_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.