From 2cc21176467d4501adb7bfb9ee03eb9a2a7d14f2 Mon Sep 17 00:00:00 2001 From: majortom6 Date: Sun, 19 Feb 2017 08:06:37 -0600 Subject: -removed all references to sdl_rect and location and now everything now uses our own class rectangle -standardization of tab spaces to 8 is now in effect -refractoring of graphicsobjects.hpp --- inc/dna.hpp | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) (limited to 'inc/dna.hpp') diff --git a/inc/dna.hpp b/inc/dna.hpp index dc46b64..d7312f6 100644 --- a/inc/dna.hpp +++ b/inc/dna.hpp @@ -3,20 +3,23 @@ #include "constants.hpp" -class Dna +class DNA { - public: - Dna(); - Dna combine(Dna D); - int maxHealth; - float speed; - int reach; - int bestSense; - int bite; - int amountToGrow; - int expectedPregnancyTime; - int expectedAge; - int sizeMax; + public: + DNA(); + + DNA combine(DNA D); + + int maxHealth; + int reach; + int bestSense; + int bite; + int amountToGrow; + int expectedPregnancyTime; + int expectedAge; + int sizeMax; + + float speed; }; #endif -- cgit v1.2.3