summaryrefslogtreecommitdiff
path: root/inc/organism.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'inc/organism.hpp')
-rw-r--r--inc/organism.hpp6
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;