From 8d9ad3eb74bc0dfc647abf03b7b99ed16f2a9115 Mon Sep 17 00:00:00 2001 From: tom Date: Mon, 2 May 2016 21:24:02 -0500 Subject: implementing better modularity, came into bad bug. All creatures seem to have same near vector. --- inc/entity.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'inc/entity.hpp') diff --git a/inc/entity.hpp b/inc/entity.hpp index 0f35e86..540e7b9 100644 --- a/inc/entity.hpp +++ b/inc/entity.hpp @@ -9,7 +9,10 @@ class Entity public: void Place(); SDL_Texture* loadTexture(std::string path, Window main); + Location getLocation(){return L;}; int getType(){return type;}; + virtual void eat(void) {}; + virtual int getAmount(void) {}; protected: Location L; -- cgit v1.2.3