summaryrefslogtreecommitdiff
path: root/inc/resource.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/resource.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/resource.hpp')
-rw-r--r--inc/resource.hpp24
1 files changed, 0 insertions, 24 deletions
diff --git a/inc/resource.hpp b/inc/resource.hpp
deleted file mode 100644
index e559463..0000000
--- a/inc/resource.hpp
+++ /dev/null
@@ -1,24 +0,0 @@
-#ifndef resource_h
-#define resource_h
-
-#include <cstdlib>
-
-#include "entity.hpp"
-#include "functions.hpp"
-
-class Resource: public Entity
-{
- public:
- Resource(Rectangle r);
-
- void grow();
- void eat(int bite);
-
- int getAmount(){return amount;};
-
- private:
- int amount;
- int growAmount;
-};
-
-#endif