]> git.tdb.fi Git - libs/game.git/blobdiff - source/game/root.h
Decorate things which constitute the public API of the library
[libs/game.git] / source / game / root.h
index 4f7ea76101c4b831d2be304b922a047e508b4f19..57e9c0f054c5a71f0e73729e1bd532b3b10246b6 100644 (file)
@@ -2,18 +2,19 @@
 #define MSP_GAME_ROOT_H_
 
 #include "entity.h"
+#include "mspgame_api.h"
 
 namespace Msp::Game {
 
 class Stage;
 
-class Root: public Entity
+class MSPGAME_API Root: public Entity
 {
 private:
        Stage &stage;
 
 public:
-       Root(Stage &s): Entity(nullptr), stage(s) { }
+       Root(Stage &s): Entity(nullptr, NO_TRANSFORM), stage(s) { }
 
        Stage &get_stage() const { return stage; }
 };