summaryrefslogtreecommitdiff
path: root/inc/entity.hpp
diff options
context:
space:
mode:
authortom <tom@ground-control>2016-05-02 16:21:23 -0500
committertom <tom@ground-control>2016-05-02 16:21:23 -0500
commit084d556f831832c1ca15d1e7cd52944815d9beea (patch)
tree675973a47691c06f19bd27a742c4888c02d66863 /inc/entity.hpp
parent42d7b3bb511333e242a74f360873deb64cd89522 (diff)
implemented the location fully into entity
Diffstat (limited to 'inc/entity.hpp')
-rw-r--r--inc/entity.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/inc/entity.hpp b/inc/entity.hpp
index 803c1e4..3555c62 100644
--- a/inc/entity.hpp
+++ b/inc/entity.hpp
@@ -11,9 +11,8 @@ 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
+ Location L;
+ int height, width; //Dimensions of image on window
int degrees = 0;
SDL_Texture* texture;
SDL_Renderer* renderer;