From 1e0163f5ef8cbf692f61e70a9dd889a7e965be77 Mon Sep 17 00:00:00 2001 From: s475275 Date: Sat, 18 Mar 2023 23:32:56 +0100 Subject: [PATCH] =?UTF-8?q?Usuni=C4=99cie=20sterowania=20z=20klawiatury?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/main.py b/src/main.py index 593d0d7..3cc163b 100644 --- a/src/main.py +++ b/src/main.py @@ -52,14 +52,6 @@ class Interface: if event.key == pg.K_ESCAPE: self.run_simulation = False break - elif event.key == pg.K_RIGHT: - self.move_agent.x += 1 - elif event.key == pg.K_LEFT: - self.move_agent.x -= 1 - elif event.key == pg.K_DOWN: - self.move_agent.y += 1 - elif event.key == pg.K_UP: - self.move_agent.y -= 1 def processSimulationInput(self): move_x = random.randint(-1, 1)