Poprawki zamykanian okna
This commit is contained in:
parent
f0fa74f227
commit
79c829dcbd
@ -473,14 +473,15 @@ def main():
|
|||||||
puddles.append((1, 4))
|
puddles.append((1, 4))
|
||||||
|
|
||||||
while flag:
|
while flag:
|
||||||
pygame.time.delay(100)
|
|
||||||
clock.tick(60)
|
|
||||||
redrawWindow(window)
|
redrawWindow(window)
|
||||||
#bot.moveRandomly()
|
#bot.moveRandomly()
|
||||||
goal = (1, 3)
|
goal = (1, 3)
|
||||||
bot.goByAStar(goal)
|
bot.goByAStar(goal)
|
||||||
time.sleep(60)
|
time.sleep(5)
|
||||||
flag = False
|
flag = False
|
||||||
|
|
||||||
|
pygame.quit()
|
||||||
|
exit()
|
||||||
|
|
||||||
|
|
||||||
main()
|
main()
|
||||||
|
Loading…
Reference in New Issue
Block a user