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/resource.hpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'inc/resource.hpp') diff --git a/inc/resource.hpp b/inc/resource.hpp index 5f70585..ed9f098 100644 --- a/inc/resource.hpp +++ b/inc/resource.hpp @@ -2,16 +2,13 @@ #define resource_h #include "entity.hpp" -#include "location.hpp" class Resource: public Entity { public: - Resource(Window m, int size); - Resource(Window m, int size, Location z); + Resource(Window m, SDL_Rect Rect); void eat(); - Location getLocation(){return L;}; int getAmount(){return amount;}; private: -- cgit v1.2.3