Usunięcie sterowania z klawiatury
This commit is contained in:
parent
243eaed295
commit
1e0163f5ef
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user