summaryrefslogtreecommitdiff
path: root/inc/entity.hpp
diff options
context:
space:
mode:
authormajortom6 <tombarrett@siu.edu>2017-02-26 11:14:31 -0600
committerTom Barrett <tombarrett@siu.edu>2017-03-07 13:23:42 -0600
commit7394b069537ed7a490a343381d62862eb22abdcf (patch)
treec8bff4f88cf962ec4148a2e133bf959035feedb7 /inc/entity.hpp
parente54170cfb8c0fb99ecdc3b1e57e832dec58ee76e (diff)
-REMOVED ENTITY, RESOURCE, AND CREATURE !
-replaced them all with one class, organism (always subject to change) -the dna type now is what differs creatures and resources -removed dead constants -may be a rogue segfault -also weird artifacts start showing if running long
Diffstat (limited to 'inc/entity.hpp')
-rw-r--r--inc/entity.hpp32
1 files changed, 0 insertions, 32 deletions
diff --git a/inc/entity.hpp b/inc/entity.hpp
deleted file mode 100644
index 20c87aa..0000000
--- a/inc/entity.hpp
+++ /dev/null
@@ -1,32 +0,0 @@
-#ifndef entity_h
-#define entity_h
-
-#include "dna.hpp"
-#include "rectangle.hpp"
-
-#include "opengl/graphicsdata.hpp"
-
-class Entity
-{
- public:
- void Place();
-
- virtual void eat(int bite){};
- virtual void impregnate(DNA D){};
-
- int getType(){return type;};
- virtual bool getGender(void){};
- virtual int getAmount(void){};
- Rectangle getRectangle(){return rect;};
- GraphicsData getGFXD(){return gfxData;};
-
-
- protected:
- int type;
- int gender;
- bool pregnate;
- Rectangle rect;
- GraphicsData gfxData;
-};
-
-#endif