SZI2019SmieciarzWmi/sprites/cell.py
2019-03-19 18:10:04 +01:00

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)