summaryrefslogtreecommitdiff
path: root/inc/list.hpp
diff options
context:
space:
mode:
authorTom Barrett <tombarrett@cornell.engr.siu.edu>2015-05-08 10:14:42 -0500
committerTom Barrett <tombarrett@cornell.engr.siu.edu>2015-05-08 10:14:42 -0500
commit39d7fe95633baafe4539f604186b151f30401a39 (patch)
tree242d91eafe56a15db046a1068d8e970624c6abfd /inc/list.hpp
parent76e10e651906b756c4482274cdf1d8ccb686b915 (diff)
parent8c5121486a0e5d94ae5e5ee67370a31530cf8b6f (diff)
Merge branch 'master' of http://github.com/majortom6/natures
Diffstat (limited to 'inc/list.hpp')
-rw-r--r--inc/list.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/inc/list.hpp b/inc/list.hpp
index 203ad7f..dc5c412 100644
--- a/inc/list.hpp
+++ b/inc/list.hpp
@@ -12,9 +12,11 @@ class List
List(Window m);
void Behavior();
void Place();
+ double Distance(Location A, Location B);
private:
- //Window main;
+ //vectors containing objects of each type
+ Window * main;//will be needed for adding R's and C's after constructor.
std::vector<Resource> R;
std::vector<Creature> C;
std::vector<Location> L;