diff options
author | Tom Barrett <tombarrett@siu.edu> | 2017-03-12 11:07:22 -0500 |
---|---|---|
committer | Tom Barrett <tombarrett@siu.edu> | 2017-03-12 11:07:22 -0500 |
commit | 836f56a40fa4a2b8e68c23b2c299e50fefe0c15d (patch) | |
tree | 56ca750d4f2c93b5a72d52fd7c1d4b575b3c061a /inc/dna.hpp | |
parent | 8f5a73f1daba39c8b0175036cf688f8ce1399a8f (diff) |
-renamed constants to fit new datatypes
-reimplemented corpses
-implemented hunger and starving (if creature is starving they will eat corpses and will take damage)
-removed sides data from dna (think it is irrelavent)
-removed data from dna that is not used for plants
Diffstat (limited to 'inc/dna.hpp')
-rw-r--r-- | inc/dna.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/dna.hpp b/inc/dna.hpp index 01f373b..11886e9 100644 --- a/inc/dna.hpp +++ b/inc/dna.hpp @@ -22,6 +22,8 @@ class DNA int expectedPregnancyTime; int expectedAge; int growAmount; + int hungryAmount; + int starveAmount; float reach; float speed; @@ -29,7 +31,6 @@ class DNA float mutationChance; struct Visuals{ - float sides; float red; float green; float blue; |