summaryrefslogtreecommitdiff
path: root/inc/entity.hpp
diff options
context:
space:
mode:
authormajortom6 <tombarrett@siu.edu>2017-02-19 10:41:00 -0600
committerTom Barrett <tombarrett@siu.edu>2017-03-07 13:23:41 -0600
commitfcf6abaccec7c7ed2fd306a9cf1ec378f303297c (patch)
tree75d4df2b09346014e4784c2b597f0110a6b82e5b /inc/entity.hpp
parent5c46e0f0a924989201c6784b0f956bc442f14a7e (diff)
-refractoring of includes
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;
};