From fcf6abaccec7c7ed2fd306a9cf1ec378f303297c Mon Sep 17 00:00:00 2001 From: majortom6 Date: Sun, 19 Feb 2017 10:41:00 -0600 Subject: -refractoring of includes --- inc/entity.hpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'inc/entity.hpp') diff --git a/inc/entity.hpp b/inc/entity.hpp index c47ef00..20c87aa 100644 --- a/inc/entity.hpp +++ b/inc/entity.hpp @@ -1,12 +1,11 @@ #ifndef entity_h #define entity_h -#include - #include "dna.hpp" -#include "opengl/graphicsdata.hpp" #include "rectangle.hpp" +#include "opengl/graphicsdata.hpp" + class Entity { public: @@ -18,7 +17,7 @@ class Entity int getType(){return type;}; virtual bool getGender(void){}; virtual int getAmount(void){}; - Rectangle getRectangle(){return L;}; + Rectangle getRectangle(){return rect;}; GraphicsData getGFXD(){return gfxData;}; @@ -26,7 +25,7 @@ class Entity int type; int gender; bool pregnate; - Rectangle L; + Rectangle rect; GraphicsData gfxData; }; -- cgit v1.2.3