From dfda3f2a5e555d3173359134f4994bcd12d129f8 Mon Sep 17 00:00:00 2001 From: majortom6 Date: Fri, 3 Mar 2017 15:18:22 -0600 Subject: -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) --- inc/organism.hpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'inc/organism.hpp') 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; -- cgit v1.2.3