summaryrefslogtreecommitdiff
path: root/inc/entity.hpp
diff options
context:
space:
mode:
authortom <tombarrett@siu.edu>2017-01-14 11:56:33 -0600
committertom <tombarrett@siu.edu>2017-01-14 11:56:33 -0600
commitf2f0867edd0d9624a77e4e5db39825b8ea1a55d0 (patch)
tree1ead1fa412bd7c2e791310c7cb7bbe84c79696a4 /inc/entity.hpp
parentb97a54b8acd113e99871fdb0f683e27e0912bf42 (diff)
completly remove location structure and replaced it with sdl_rect
Diffstat (limited to 'inc/entity.hpp')
-rw-r--r--inc/entity.hpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/inc/entity.hpp b/inc/entity.hpp
index d02f689..5941a9c 100644
--- a/inc/entity.hpp
+++ b/inc/entity.hpp
@@ -2,17 +2,13 @@
#define entity_h
#include "window.hpp"
-#include "location.hpp"
class Entity
{
public:
- void Init(Window m);
- void Init(Window m, Location z);
void Place();
int getType(){return type;};
- Location getLocation(){return L;};
SDL_Rect getRect(){return rect;};
virtual void eat(void){};
@@ -21,7 +17,6 @@ class Entity
protected:
int type;
SDL_Rect rect;
- Location L;
SDL_Renderer* renderer;
};