diff options
author | tom <tombarrett@siu.edu> | 2017-01-14 11:56:33 -0600 |
---|---|---|
committer | tom <tombarrett@siu.edu> | 2017-01-14 11:56:33 -0600 |
commit | f2f0867edd0d9624a77e4e5db39825b8ea1a55d0 (patch) | |
tree | 1ead1fa412bd7c2e791310c7cb7bbe84c79696a4 /inc/resource.hpp | |
parent | b97a54b8acd113e99871fdb0f683e27e0912bf42 (diff) |
completly remove location structure and replaced it with sdl_rect
Diffstat (limited to 'inc/resource.hpp')
-rw-r--r-- | inc/resource.hpp | 5 |
1 files changed, 1 insertions, 4 deletions
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: |