Zaktualizuj 'Traktorek/ran.py'
This commit is contained in:
parent
aea9a22dd6
commit
7748da5c2a
@ -129,6 +129,9 @@ class Game(object):
|
||||
wynik = drzewko.finalAnswer(self.nawadnianie[pole], drzewko.my_tree)
|
||||
if (wynik == 's'):
|
||||
print('należy podlać pole')
|
||||
self.nawadnianie[pole][0] = 0
|
||||
self.stan[pole][1] = 10
|
||||
self.nawadnianie[pole][4] = 'n'
|
||||
else:
|
||||
print('nie podlewać pola ')
|
||||
elif event.key == pygame.K_g:
|
||||
|
Loading…
Reference in New Issue
Block a user