diff options
author | majortom6 <tombarrett@siu.edu> | 2017-03-03 15:18:22 -0600 |
---|---|---|
committer | Tom Barrett <tombarrett@siu.edu> | 2017-03-07 13:23:42 -0600 |
commit | dfda3f2a5e555d3173359134f4994bcd12d129f8 (patch) | |
tree | adc9d75f1e28332b8c5208fdb3c4685667816dda /inc/organism.hpp | |
parent | 3c78d411760beb9332e7282e4ec49a199998c67d (diff) |
-removed the Graphics Data class
-replaced with already implemented Rectangle, and put color and side variables in dna (can potentially remove the side variable if it does nothing important)
Diffstat (limited to 'inc/organism.hpp')
-rw-r--r-- | inc/organism.hpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/inc/organism.hpp b/inc/organism.hpp index 9534fbb..2a7a67c 100644 --- a/inc/organism.hpp +++ b/inc/organism.hpp @@ -8,8 +8,6 @@ #include "rectangle.hpp" #include "functions.hpp" -#include "opengl/graphicsdata.hpp" - class Organism { public: @@ -18,7 +16,6 @@ class Organism void Behavior(); void Action(); void Priority(); - void Place(); void setTarget(); void checkTarget(); void moveTowards(Rectangle r); @@ -30,7 +27,7 @@ class Organism DNA getDNA() {return myDNA;}; DNA getChildsDNA() {return childsDNA;}; - GraphicsData getGFXD() {return gfxData;}; + DNA::Visuals getVisuals() {return myDNA.appearance;}; Rectangle getRectangle() {return rect;}; int getHealth() {return health;}; int getBestSense() {return myDNA.bestSense;}; @@ -45,7 +42,6 @@ class Organism DNA myDNA; DNA childsDNA; Rectangle rect; - GraphicsData gfxData; int health; int pregnancyTime; |