]> git.tdb.fi Git - libs/game.git/blobdiff - source/game/stage.cpp
Adjust some things to make header dependencies easier to manage
[libs/game.git] / source / game / stage.cpp
index a6bd19a9b5b6134e76e9e4fa70099ceaad6f2b67..a616d5a94da775ebd61da5171e9b4baf2435215d 100644 (file)
@@ -1,13 +1,14 @@
 #include "stage.h"
+#include "root.h"
 #include "system.h"
 
 namespace Msp::Game {
 
 Stage::Stage():
-       root(*this)
+       root(std::make_unique<Root>(*this))
 { }
 
-// Hide ~unique_ptr<System> from the header
+// Hide unique_ptr destructors from the header
 Stage::~Stage()
 { }