SZI2019SmieciarzWmi/sprites/cell.py
2019-03-19 10:08:38 +01:00

10 lines
248 B
Python

from pygame import *
import sys
from pygame.locals import *
class Cell(pygame.sprite.Sprites):
def __init__(self,x,y):
sprite.Sprite.__init__(self)
self.x = x
self.y = y
self.rect = pygame.Rect(x*64,y*64, 64,64)