This commit is contained in:
Adam Osiowy 2020-04-06 01:57:33 +02:00
commit 3ef81a7f8e
6 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.

After

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.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB