poprawiono generowanie smieci
4
game.py
@ -96,7 +96,9 @@ for i in range(len(wspolrzedne_domow)):
|
||||
|
||||
for d in domy_lista.sprites():
|
||||
for j in range(5):
|
||||
d.dodajSmiec(random.choice(smieci_lista))
|
||||
smiec = random.choice(smieci_lista)
|
||||
d.dodajSmiec(smiec)
|
||||
smieci_lista.remove(smiec)
|
||||
|
||||
########## TEST DODAWANIA SMIECI Z DOMU[0] DO FOLDERU KONTENERA ZE SZKLEM
|
||||
for u in domy_lista.sprites()[0].smieci:
|
||||
|
Before Width: | Height: | Size: 12 KiB |
BIN
resources/smieci w kontenerach/szklo/cardboard259.jpg
Normal file
After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 21 KiB |
BIN
resources/smieci w kontenerach/szklo/glass141.jpg
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
resources/smieci w kontenerach/szklo/glass318.jpg
Normal file
After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 17 KiB |
BIN
resources/smieci w kontenerach/szklo/trash88.jpg
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
resources/smieci w kontenerach/szklo/trash98.jpg
Normal file
After Width: | Height: | Size: 14 KiB |