misc changes
This commit is contained in:
parent
ce3ea0c15e
commit
a1a2ef6aae
4
main.py
4
main.py
@ -120,11 +120,11 @@ class Game:
|
||||
self.player.parse_maze_moves()
|
||||
self.i_like_to_move_it()
|
||||
self.wentyl_bezpieczenstwa = 1
|
||||
if event.key == pg.K_F3:
|
||||
if event.key == pg.K_F3 and self.wentyl_bezpieczenstwa == 0:
|
||||
pg.event.clear()
|
||||
player_moves = BFS.run()
|
||||
self.graph_move(player_moves)
|
||||
#self.wentyl_bezpieczenstwa = 1
|
||||
self.wentyl_bezpieczenstwa = 1
|
||||
if event.key == pg.K_F4 and self.wentyl_bezpieczenstwa == 0:
|
||||
pg.event.clear()
|
||||
#print("test1")
|
||||
|
Loading…
Reference in New Issue
Block a user