X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fdemo.h;h=e2dfd6e9e6d926455827b9232036568bc68c795b;hb=bcee277ee013cb24cff047a5459774df67561f0c;hp=e9d369bf9b337b202480b8ef1cf128a47127fb80;hpb=5dad2cbf4556cd4b433722c172f0b468d0161de5;p=libs%2Fdemoscene.git diff --git a/source/demo.h b/source/demo.h index e9d369b..e2dfd6e 100644 --- a/source/demo.h +++ b/source/demo.h @@ -13,6 +13,8 @@ #include "action.h" #include "sequencer.h" +class Stage; + class Demo { private: @@ -55,6 +57,9 @@ public: Msp::DataFile::Collection &get_resources() const { return resources; } Msp::GL::AnimationPlayer &get_animation_player() { return anim_player; } +protected: + void add_stage(const std::string &, Stage &); +public: template T &get_thing(const std::string &);