#include <msp/gl/pipeline.h>
#include "cameracontrol.h"
-#include "sequencer.h"
+#include "action.h"
struct Stage
{
- class UseInView: public Sequencer::Action
+ class UseInView: public Action
{
+ public:
+ class Loader: public Msp::DataFile::DerivedObjectLoader<UseInView, Action::Loader>
+ {
+ public:
+ Loader(UseInView &, Demo &);
+
+ private:
+ void stage(const std::string &);
+ void view(const std::string &);
+ };
+
private:
- Msp::GL::View &view;
- Stage &stage;
+ Msp::GL::View *view;
+ Stage *stage;
public:
+ UseInView();
UseInView(Msp::GL::View &, Stage &);
+ virtual void validate() const;
+
virtual void start(float, float);
};