summaryrefslogtreecommitdiff
path: root/inc/organism.hpp
diff options
context:
space:
mode:
authorTom Barrett <tombarrett@siu.edu>2017-03-12 11:07:22 -0500
committerTom Barrett <tombarrett@siu.edu>2017-03-12 11:07:22 -0500
commit836f56a40fa4a2b8e68c23b2c299e50fefe0c15d (patch)
tree56ca750d4f2c93b5a72d52fd7c1d4b575b3c061a /inc/organism.hpp
parent8f5a73f1daba39c8b0175036cf688f8ce1399a8f (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/organism.hpp')
-rw-r--r--inc/organism.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/inc/organism.hpp b/inc/organism.hpp
index 2a7a67c..954d25f 100644
--- a/inc/organism.hpp
+++ b/inc/organism.hpp
@@ -46,7 +46,9 @@ class Organism
int health;
int pregnancyTime;
int age;
+ int hunger;
+ bool starving;
bool gender;
bool pregnate;
bool hungry;