Usunięcie sterowania z klawiatury

This commit is contained in:
s475275 2023-03-18 23:32:56 +01:00
parent 243eaed295
commit 1e0163f5ef

View File

@ -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)