]> git.tdb.fi Git - libs/demoscene.git/blobdiff - source/launchscreen.h
Stop the animation when the action ends
[libs/demoscene.git] / source / launchscreen.h
index 7c4a923ddd2363c6af3d573e45ab1ef89c265bc3..25710122b975cbcd94fa3e85b0ebb3c7ff1e6dd6 100644 (file)
@@ -1,11 +1,14 @@
 #ifndef MSP_DEMOSCENE_LAUNCHSCREEN_H_
 #define MSP_DEMOSCENE_LAUNCHSCREEN_H_
 
-#include <msp/datafile/collection.h>
 #include <msp/gl/camera.h>
 #include <msp/gl/font.h>
 #include <msp/gl/technique.h>
 #include <msp/gl/text.h>
+#include "resources.h"
+
+namespace Msp {
+namespace DemoScene {
 
 class LaunchScreen
 {
@@ -19,11 +22,14 @@ private:
        Msp::GL::Camera camera;
 
 public:
-       LaunchScreen(Msp::DataFile::Collection &);
+       LaunchScreen(Resources &);
 
        void set_countdown(unsigned);
 
        void render();
 };
 
+} // namespace DemoScene
+} // namespace Msp
+
 #endif