summaryrefslogtreecommitdiff
path: root/inc/entity.hpp
diff options
context:
space:
mode:
authordakjos <dsojka@siu.edu>2015-05-07 19:53:39 -0500
committerdakjos <dsojka@siu.edu>2015-05-07 19:53:39 -0500
commitc63d77ddddb69ef0f641d90a8c3922fdc356224c (patch)
tree6867ee8ee11718eca9bb144b98f17c695a891495 /inc/entity.hpp
parentffcee12acf3fe3f972f322c18b3203212682205d (diff)
Some variable names changed and many comments made so I understand what the fuck is going on
Diffstat (limited to 'inc/entity.hpp')
-rw-r--r--inc/entity.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/entity.hpp b/inc/entity.hpp
index 5ed2e74..079da9b 100644
--- a/inc/entity.hpp
+++ b/inc/entity.hpp
@@ -10,8 +10,8 @@ class Entity
SDL_Texture* loadTexture(std::string path, Window main);
protected:
- int x, y;
- int height, width;
+ int xPosition, yPosition; //Coordinates of entity on window
+ int height, width; //Dimensions of image on window
int degrees = 0;
SDL_Texture* texture;
SDL_Renderer* renderer;