10 lines
248 B
Python
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)
|