summaryrefslogtreecommitdiff
path: root/inc/entity.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'inc/entity.hpp')
-rw-r--r--inc/entity.hpp9
1 files changed, 4 insertions, 5 deletions
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 <SDL2/SDL.h>
-
#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;
};