summary refs log tree commit diff stats
path: root/src/systems/rendering.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/systems/rendering.h')
-rw-r--r--src/systems/rendering.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/systems/rendering.h b/src/systems/rendering.h index cec72e2..a53ee64 100644 --- a/src/systems/rendering.h +++ b/src/systems/rendering.h
@@ -6,14 +6,17 @@
6#include "consts.h" 6#include "consts.h"
7 7
8class RenderingSystem : public System { 8class RenderingSystem : public System {
9 public: 9public:
10 RenderingSystem(Game& game)
11 : System(game) {}
12 10
13 void tick(double dt); 11 RenderingSystem(Game& game) : System(game)
12 {
13 }
14 14
15 private: 15 void tick(double dt);
16 Texture texture {GAME_WIDTH, GAME_HEIGHT}; 16
17private:
18
19 Texture texture_ {GAME_WIDTH, GAME_HEIGHT};
17}; 20};
18 21
19#endif /* end of include guard: RENDERING_H_76ABC02A */ 22#endif /* end of include guard: RENDERING_H_76ABC02A */