From b5b0644cf5ca8f5a35c023a1b87a3e28ff33fc51 Mon Sep 17 00:00:00 2001 From: tom Date: Mon, 2 May 2016 18:03:07 -0500 Subject: made list all iterators --- inc/list.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/list.hpp') 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 -- cgit v1.2.3