summaryrefslogtreecommitdiff
path: root/pathfinding.py
diff options
context:
space:
mode:
Diffstat (limited to 'pathfinding.py')
-rw-r--r--pathfinding.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/pathfinding.py b/pathfinding.py
index aac940b..951a055 100644
--- a/pathfinding.py
+++ b/pathfinding.py
@@ -279,6 +279,14 @@ class PathfindingTesterStrategy:
return True
def process_frame(self):
+ for x in range(0,grid_radius, grid_density):
+ color=(192,192,192)
+ self.gui.draw_line((-8000,self.c.player.center.y + x), (8000, self.c.player.center.y + x), color)
+ self.gui.draw_line((-8000,self.c.player.center.y - x), (8000, self.c.player.center.y - x), color)
+ self.gui.draw_line((self.c.player.center.x - x,-8000), (self.c.player.center.x - x, 8000), color)
+ self.gui.draw_line((self.c.player.center.x + x,-8000), (self.c.player.center.x + x, 8000), color)
+
+
if self.gui.marker_updated[0]:
self.gui.marker_updated[0]=False