12 lines
273 B
Python
12 lines
273 B
Python
# -*- coding: utf-8 -*-
|
|
import pygame
|
|
import sys
|
|
from pygame.locals import *
|
|
|
|
class Cell(pygame.sprite.Sprite):
|
|
def __init__(self,x,y):
|
|
pygame.sprite.Sprite.__init__(self)
|
|
self.x = x
|
|
self.y = y
|
|
self.rect = pygame.Rect(x*64,y*64, 64, 64)
|