feat(tractor): print how much water current tile needs
This commit is contained in:
parent
ff7e5c4b99
commit
09b65e9fd1
@ -38,6 +38,9 @@ class Tractor(pygame.sprite.Sprite):
|
|||||||
self.rect.x += TILE_SIZE
|
self.rect.x += TILE_SIZE
|
||||||
self.print_tile_type()
|
self.print_tile_type()
|
||||||
|
|
||||||
|
curent_tile = self.get_current_tile()
|
||||||
|
print(ile_podlac(curent_tile.type, curent_tile.faza))
|
||||||
|
|
||||||
def update(self):
|
def update(self):
|
||||||
keys = pygame.key.get_pressed()
|
keys = pygame.key.get_pressed()
|
||||||
if keys[pygame.K_LEFT]:
|
if keys[pygame.K_LEFT]:
|
||||||
|
Loading…
Reference in New Issue
Block a user