summary refs log tree commit diff stats
path: root/src/systems/rendering.h
blob: cec72e2327dbc80ff90dc14f4ad86d2a175b033b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef RENDERING_H_76ABC02A
#define RENDERING_H_76ABC02A

#include "system.h"
#include "renderer.h"
#include "consts.h"

class RenderingSystem : public System {
  public:
    RenderingSystem(Game& game)
      : System(game) {}

    void tick(double dt);

  private:
    Texture texture {GAME_WIDTH, GAME_HEIGHT};
};

#endif /* end of include guard: RENDERING_H_76ABC02A */