summaryrefslogtreecommitdiff
path: root/inc/list.hpp
diff options
context:
space:
mode:
authortom <tombarrett@siu.edu>2017-02-12 05:59:12 -0600
committertom <tombarrett@siu.edu>2017-02-12 05:59:12 -0600
commitaa5c31be6ec6a688e8d3a66c770ba99be8e060c9 (patch)
tree702a7154031cb9c96d0e7fd495868418433bb842 /inc/list.hpp
parent60b53e09cca0bdb4cddff76457e990ee33c42b2f (diff)
-minor constant changes
-implemented dna structure, which carries the creatures attributes suchas speed and reach -currently a child inherits 100% the same dna as the mother -removed sing namespace std
Diffstat (limited to 'inc/list.hpp')
-rw-r--r--inc/list.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/inc/list.hpp b/inc/list.hpp
index cc78031..7d3d8a2 100644
--- a/inc/list.hpp
+++ b/inc/list.hpp
@@ -17,12 +17,12 @@ class List
void Behavior();
void Place();
void Remove();
- list<Entity*> getNear(Creature C);
+ std::list<Entity*> getNear(Creature C);
private:
Window main = Window("do not create new window.");
- list<Resource> R;
- list<Creature> C;
+ std::list<Resource> R;
+ std::list<Creature> C;
};
#endif