00001
00002
00003
00004
00005
00006
00007
00008 #ifndef FadeScene_Header
00009 #define FadeScene_Header
00010
00011 #include <G3DAll.h>
00012 #include <string>
00013 #include <XercesXMLUtil.H>
00014 #include "Section.H"
00015 #include "Story.H"
00016 #include "Scene.H"
00017
00018 using namespace std;
00019
00020 namespace cavewriting {
00021
00090 class FadeScene : public Scene {
00091
00092
00093 public:
00094
00095 FadeScene(Story* story, xercesc::DOMNode* node, int id);
00096 virtual ~FadeScene();
00097
00098 virtual void start();
00099 virtual void animate();
00100
00101
00102 protected:
00103 double _fadeInDuration;
00104 double _pauseDuration;
00105 double _fadeOutDuration;
00106
00107 double _localStartTime;
00108
00109 private:
00110
00111 };
00112
00113 }
00114
00115 #endif