root/deus/StoryTracer.h
| Revision 8, 467 bytes (checked in by pantley2, 4 years ago) |
|---|
| Line | |
|---|---|
| 1 | // StoryTracer.h |
| 2 | // interface for StoryTracer class |
| 3 | |
| 4 | #ifndef __STORY_TRACER_H__ |
| 5 | #define __STORY_TRACER_H__ |
| 6 | |
| 7 | #include "KeySeeker.h" |
| 8 | |
| 9 | class StoryTracer |
| 10 | { |
| 11 | KeySeeker Seeker; |
| 12 | list<StoryNode*> nodes; |
| 13 | StoryNode* working_on; |
| 14 | public: |
| 15 | |
| 16 | StoryTracer() { |
| 17 | nodes.push_back(story_root); |
| 18 | working_on = NULL; |
| 19 | } |
| 20 | |
| 21 | int NoMoreKeyFrames(void); |
| 22 | |
| 23 | int Trace(bool); |
| 24 | |
| 25 | private: |
| 26 | |
| 27 | int WorkOnNode(void); |
| 28 | }; |
| 29 | |
| 30 | #endif |
Note: See TracBrowser for help on using the browser.
