summaryrefslogtreecommitdiff
path: root/src/renderer.h
blob: 36f64bc89d636db847ede4d33692ab36a105af8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef RENDERER_H
#define RENDERER_H
#include <SDL2/SDL.h>

class Renderer{

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

#endif