From 11c5d147b845d4323f2e94c1ac47b6001420d8e6 Mon Sep 17 00:00:00 2001 From: tom Date: Thu, 19 Jan 2017 13:33:46 -0600 Subject: -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 --- inc/entity.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/entity.hpp') 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: -- cgit v1.2.3