From dce0454cdb99e50eede4e9a80396cb5500caf834 Mon Sep 17 00:00:00 2001 From: Michal Kijowski Date: Thu, 26 Mar 2020 21:08:26 +0000 Subject: [PATCH] =?UTF-8?q?Usu=C5=84=20'shelf.py'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shelf.py | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 shelf.py diff --git a/shelf.py b/shelf.py deleted file mode 100644 index d6440d9..0000000 --- a/shelf.py +++ /dev/null @@ -1,18 +0,0 @@ -import pygame - -class Shelf: - def __init__(self, screen, cell, we, ns, kierunek, rodzaj): - self.cell = cell - self.ns = ns - self.we = we - self.screen = screen - self.image = pygame.image.load(r'images/re.png') - self.image = pygame.transform.scale(self.image, (cell, cell)) - if (kierunek==1): - self.image = pygame.transform.rotate(self.image, 180) - elif (kierunek==2): - self.image = pygame.transform.rotate(self.image, 270) - elif (kierunek==3): - self.image = pygame.transform.rotate(self.image, 90) - def draw(self): - self.screen.blit(self.image, (self.cell*self.ns, self.cell*self.we)) \ No newline at end of file