summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authortom <tom@ground-control>2016-05-02 18:03:07 -0500
committertom <tom@ground-control>2016-05-02 18:03:07 -0500
commitb5b0644cf5ca8f5a35c023a1b87a3e28ff33fc51 (patch)
tree6f579be7f5f591340043f56c95618a1dfe9d18b3 /inc
parenteac63735fb84ba3b59b5fc887d959e1492ef246d (diff)
made list all iterators
Diffstat (limited to 'inc')
-rw-r--r--inc/list.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/list.hpp b/inc/list.hpp
index 05e9fcc..14a6a9a 100644
--- a/inc/list.hpp
+++ b/inc/list.hpp
@@ -12,7 +12,7 @@ class List
List(Window m);
void Behavior();
void Place();
- double Distance(Location A, Location B);
+ double Distance(Location A, Location B){return sqrt(pow(A.x-B.x,2)+pow(A.y-B.y,2));};
private:
//vectors containing objects of each type