SZI2019SmieciarzWmi/sprites/cell.py
2019-03-19 11:47:23 +01:00

11 lines
271 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)