diff options
author | tom <tombarrett@siu.edu> | 2017-01-19 13:33:46 -0600 |
---|---|---|
committer | tom <tombarrett@siu.edu> | 2017-01-19 13:33:46 -0600 |
commit | 11c5d147b845d4323f2e94c1ac47b6001420d8e6 (patch) | |
tree | eafc67bb6844dc14b56ad5d8eadf6d200b78e0d1 /inc/list.hpp | |
parent | 0c2335f4a717e53c2456e49407dfbbd0ffa20f06 (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/list.hpp')
-rw-r--r-- | inc/list.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/list.hpp b/inc/list.hpp index 6800b34..64ca522 100644 --- a/inc/list.hpp +++ b/inc/list.hpp @@ -15,6 +15,7 @@ class List List(Window m); void Behavior(); void Place(); + void Remove(); double Distance(SDL_Rect A, SDL_Rect B){return sqrt(pow(A.x-B.x,2)+pow(A.y-B.y,2));}; list<Entity*> getNear(Creature C); |