From baa7977e0e325e92c700c47b4adea9082749f1d7 Mon Sep 17 00:00:00 2001 From: tom Date: Sat, 2 May 2015 22:45:16 -0500 Subject: renamed so atom detects it is a cpp file :x --- inc/entity.hpp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 inc/entity.hpp (limited to 'inc/entity.hpp') diff --git a/inc/entity.hpp b/inc/entity.hpp new file mode 100644 index 0000000..1d16a2c --- /dev/null +++ b/inc/entity.hpp @@ -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