poprawiono generowanie smieci

This commit is contained in:
s444349 2020-04-06 01:56:01 +02:00
parent 845642c3c8
commit 4fff326cca
11 changed files with 9 additions and 7 deletions

View File

@ -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:

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB