summaryrefslogtreecommitdiff
path: root/src/renderer.h
blob: b76b8317ac02cff8b0015fd31dec02a4091f5468 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <SDL2/SDL.h>

class Renderer{

    public:
        Renderer();
        ~Renderer();
        void init(SDL_Window* win);
        void clear();
        void update();
        SDL_Renderer* renderer();
        void setScale(int scaleX, int scaleY);
    private:
        SDL_Renderer* renderer_;
};