added getter for the texture

This commit is contained in:
Bob Polis 2020-10-24 18:02:12 +02:00
parent 84a196ab1a
commit 582de4df22

View File

@ -37,6 +37,8 @@ namespace sc {
SDL_Window* window() const { return _w.get(); }
SDL_Renderer* renderer() const { return _r.get(); }
SDL_Texture* texture() const { return _t.get(); }
void set_size(int w, int h);
void update() const;