This commit is contained in:
jedryb 2022-03-24 17:22:03 +01:00
parent 7c31461da6
commit 4dc48d3c51
2 changed files with 2 additions and 9 deletions

View File

@ -13,6 +13,7 @@ def draw_line(screen: pygame.display, settings):
(line * settings.tile_size, settings.screen_height))
# TODO: dodać typ gleby do tile
# TODO: add Sprite to every class and store Tile objects as Sprite group
def main():
@ -29,7 +30,7 @@ def main():
background_image = pygame.transform.scale(background_image, (settings.screen_width, settings.screen_height))
run = True
while run:
screen.blit(background_image, (0, 0))
world.draw(screen)

View File

@ -1,8 +0,0 @@
class Addon:
"""class representing plants"""
def __init__(self, type, capacity, application):
self.type = type
self.capacity = capacity
self.application = application