]> git.tdb.fi Git - libs/game.git/blob - source/game/root.h
Decorate things which constitute the public API of the library
[libs/game.git] / source / game / root.h
1 #ifndef MSP_GAME_ROOT_H_
2 #define MSP_GAME_ROOT_H_
3
4 #include "entity.h"
5 #include "mspgame_api.h"
6
7 namespace Msp::Game {
8
9 class Stage;
10
11 class MSPGAME_API Root: public Entity
12 {
13 private:
14         Stage &stage;
15
16 public:
17         Root(Stage &s): Entity(nullptr, NO_TRANSFORM), stage(s) { }
18
19         Stage &get_stage() const { return stage; }
20 };
21
22 } // namespace Msp::Game
23
24 #endif