From b7b8be48633b5459a2305e9cc043c01eacfc7b9d Mon Sep 17 00:00:00 2001 From: s481876 Date: Thu, 18 Apr 2024 10:01:53 +0200 Subject: [PATCH] =?UTF-8?q?W=C3=B3zek=20si=C4=99=20rusza?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wozek.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/wozek.py b/wozek.py index 8507242..b8cde9a 100644 --- a/wozek.py +++ b/wozek.py @@ -292,6 +292,7 @@ def game_loop(): path.reverse() for node in path: print(node.action) + i=0 running = True while running: for event in pygame.event.get(): @@ -317,6 +318,18 @@ def game_loop(): draw_forklift_and_freight() pygame.display.flip() clock.tick(FPS) + if(i