summaryrefslogtreecommitdiff
path: root/inc/entity.hpp
diff options
context:
space:
mode:
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;