summaryrefslogtreecommitdiff
path: root/inc/entity.h
diff options
context:
space:
mode:
authorTom Barrett <tombarrett@cornell.engr.siu.edu>2015-05-01 13:01:55 -0500
committerTom Barrett <tombarrett@cornell.engr.siu.edu>2015-05-01 13:01:55 -0500
commit87d20801300e90423c17ad425364f77152eb88c3 (patch)
treeaf0d1cf0022b160e87f3e5ae519d685bb2e693f9 /inc/entity.h
parent29168e06ffcea8b8f55a9ed2e8acb3529e776456 (diff)
fixed directories and makefile
Diffstat (limited to 'inc/entity.h')
-rw-r--r--inc/entity.h20
1 files changed, 20 insertions, 0 deletions
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