From 09b65e9fd15c6970d2609939f85c4b0262061fd6 Mon Sep 17 00:00:00 2001 From: Wojciech Kubicki Date: Mon, 25 Mar 2024 02:01:09 +0100 Subject: [PATCH] feat(tractor): print how much water current tile needs --- src/tractor.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tractor.py b/src/tractor.py index b6f61c45..15d1f1f2 100644 --- a/src/tractor.py +++ b/src/tractor.py @@ -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]: