From 87d20801300e90423c17ad425364f77152eb88c3 Mon Sep 17 00:00:00 2001 From: Tom Barrett Date: Fri, 1 May 2015 13:01:55 -0500 Subject: fixed directories and makefile --- inc/entity.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 inc/entity.h (limited to 'inc/entity.h') diff --git a/inc/entity.h b/inc/entity.h new file mode 100644 index 0000000..1d16a2c --- /dev/null +++ b/inc/entity.h @@ -0,0 +1,20 @@ +#ifndef entity_h +#define entity_h + +#include "window.h" + +class Entity +{ + public: + 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 -- cgit v1.2.3