From f2f0867edd0d9624a77e4e5db39825b8ea1a55d0 Mon Sep 17 00:00:00 2001 From: tom Date: Sat, 14 Jan 2017 11:56:33 -0600 Subject: completly remove location structure and replaced it with sdl_rect --- inc/entity.hpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'inc/entity.hpp') 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; }; -- cgit v1.2.3