feat(tractor): print how much water current tile needs

This commit is contained in:
Wojciech Kubicki 2024-03-25 02:01:09 +01:00
parent ff7e5c4b99
commit 09b65e9fd1
1 changed files with 3 additions and 0 deletions

View File

@ -38,6 +38,9 @@ class Tractor(pygame.sprite.Sprite):
self.rect.x += TILE_SIZE
self.print_tile_type()
curent_tile = self.get_current_tile()
print(ile_podlac(curent_tile.type, curent_tile.faza))
def update(self):
keys = pygame.key.get_pressed()
if keys[pygame.K_LEFT]: