clock tick 5
This commit is contained in:
parent
ab6ad4f2f8
commit
4b19899d0b
3
game.py
3
game.py
@ -35,7 +35,6 @@ plansza = np.array([[modele.Kratka(i, j) for i in range(ILOSC_KOLUMN)] for j in
|
||||
|
||||
# smieciarka
|
||||
smieciarka = modele.Smieciarka(10, 10)
|
||||
plansza[10, 10].setJestSmieciarka(True)
|
||||
plansza[10, 10].setKolor(BLUE)
|
||||
|
||||
# kontenery
|
||||
@ -119,7 +118,7 @@ def game():
|
||||
smieciarka.w_dol()
|
||||
|
||||
# Limit to 60 frames per second
|
||||
clock.tick(1)
|
||||
clock.tick(5)
|
||||
|
||||
# czarny kolor w tle
|
||||
obraz.fill(BLACK)
|
||||
|
Loading…
Reference in New Issue
Block a user