summaryrefslogtreecommitdiff
path: root/inc/entity.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'inc/entity.hpp')
-rw-r--r--inc/entity.hpp3
1 files changed, 3 insertions, 0 deletions
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;