summaryrefslogtreecommitdiff
path: root/inc/entity.hpp
diff options
context:
space:
mode:
authortom <tom@ground-control>2016-05-02 16:08:20 -0500
committertom <tom@ground-control>2016-05-02 16:08:20 -0500
commit42d7b3bb511333e242a74f360873deb64cd89522 (patch)
treefdc15da04b62c7a865933aaea49996e719f60ac7 /inc/entity.hpp
parent2b17703707dab3af620fe05a73f05fc6f856e0b1 (diff)
spring cleaning
Diffstat (limited to 'inc/entity.hpp')
-rw-r--r--inc/entity.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/inc/entity.hpp b/inc/entity.hpp
index 079da9b..803c1e4 100644
--- a/inc/entity.hpp
+++ b/inc/entity.hpp
@@ -2,6 +2,7 @@
#define entity_h
#include "window.hpp"
+#include "location.hpp"
class Entity
{
@@ -10,8 +11,9 @@ class Entity
SDL_Texture* loadTexture(std::string path, Window main);
protected:
+ //Location L;
int xPosition, yPosition; //Coordinates of entity on window
- int height, width; //Dimensions of image on window
+ int height, width; //Dimensions of image on window
int degrees = 0;
SDL_Texture* texture;
SDL_Renderer* renderer;