Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma once
- #include "Headers.h"
- class LTexture
- {
- public:
- LTexture();
- ~LTexture();
- bool loadFromFile(std::string path);
- void free();
- void render(int x, int y);
- int getWidth();
- int getHeight();
- private:
- SDL_Texture* mTexture;
- int mWidth;
- int mHeight;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement