Usuń 'floor.py'
This commit is contained in:
parent
540a9b952d
commit
3366f9e494
12
floor.py
12
floor.py
@ -1,12 +0,0 @@
|
|||||||
import pygame
|
|
||||||
|
|
||||||
class Floor:
|
|
||||||
def __init__(self, screen, cell, we, ns):
|
|
||||||
self.cell = cell
|
|
||||||
self.ns = ns
|
|
||||||
self.we = we
|
|
||||||
self.screen = screen
|
|
||||||
self.image = pygame.image.load(r'images/po.png')
|
|
||||||
self.image = pygame.transform.scale(self.image, (cell, cell))
|
|
||||||
def draw(self):
|
|
||||||
self.screen.blit(self.image, (self.cell*self.ns, self.cell*self.we))
|
|
Loading…
Reference in New Issue
Block a user