|
|
@ -97,8 +97,6 @@ class Player:
|
|
|
|
num_points = int((distance * 1000) / self.speed) + 1
|
|
|
|
num_points = int((distance * 1000) / self.speed) + 1
|
|
|
|
intermediate_points = start.generate_intermediate_points(end, num_points)
|
|
|
|
intermediate_points = start.generate_intermediate_points(end, num_points)
|
|
|
|
point_lst = point_lst + intermediate_points
|
|
|
|
point_lst = point_lst + intermediate_points
|
|
|
|
print("HERE")
|
|
|
|
|
|
|
|
print(point_lst[:5])
|
|
|
|
|
|
|
|
for point in point_lst:
|
|
|
|
for point in point_lst:
|
|
|
|
self.set_location(point)
|
|
|
|
self.set_location(point)
|
|
|
|
time.sleep(TIME)
|
|
|
|
time.sleep(TIME)
|
|
|
|