summaryrefslogtreecommitdiff
path: root/inc/entity.hpp
diff options
context:
space:
mode:
authortom <tombarrett@siu.edu>2017-01-19 13:33:46 -0600
committertom <tombarrett@siu.edu>2017-01-19 13:33:46 -0600
commit11c5d147b845d4323f2e94c1ac47b6001420d8e6 (patch)
treeeafc67bb6844dc14b56ad5d8eadf6d200b78e0d1 /inc/entity.hpp
parent0c2335f4a717e53c2456e49407dfbbd0ffa20f06 (diff)
-added entity growing
-added bite functionality for creature/resource -added gender (next largest feature is reproduction) -refractored creature setTarget function to make more sense -added constants for starting size of entity and max size of entity -refractored list to make make much more sense -added constants for types
Diffstat (limited to 'inc/entity.hpp')
-rw-r--r--inc/entity.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/entity.hpp b/inc/entity.hpp
index 5941a9c..6587f11 100644
--- a/inc/entity.hpp
+++ b/inc/entity.hpp
@@ -11,7 +11,7 @@ class Entity
int getType(){return type;};
SDL_Rect getRect(){return rect;};
- virtual void eat(void){};
+ virtual void eat(int bite){};
virtual int getAmount(void){};
protected: