diff options
author | tom <tom@ground-control> | 2015-04-30 22:20:53 -0500 |
---|---|---|
committer | tom <tom@ground-control> | 2015-04-30 22:20:53 -0500 |
commit | e1d75dfdf0727776adf0b3d44995ccf0e03487b3 (patch) | |
tree | f26074b8e9c598df33c66b1c57aad1e4dcd51f03 /src/entity.h |
first commit
Diffstat (limited to 'src/entity.h')
-rw-r--r-- | src/entity.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/entity.h b/src/entity.h new file mode 100644 index 0000000..1d1f876 --- /dev/null +++ b/src/entity.h @@ -0,0 +1,21 @@ +#ifndef entity_h +#define entity_h + +#include "window.h" + +class Entity +{ + public: + Entity(Window m, std::string s); + void Place(); + SDL_Texture* loadTexture(std::string path, Window main); + + protected: + int x, y; + int height, width; + int degrees = 0; + SDL_Texture* texture; + SDL_Renderer* renderer; +}; + +#endif |