SZI2019SmieciarzWmi/sprites/grass.py

9 lines
194 B
Python
Raw Normal View History

2019-03-19 11:47:23 +01:00
import pygame
2019-03-19 10:08:38 +01:00
import sys
2019-03-19 11:47:23 +01:00
from sprites.cell import Cell
2019-03-19 10:08:38 +01:00
class Grass(Cell):
2019-03-19 11:47:23 +01:00
def __init__(self,x,y):
2019-03-19 10:08:38 +01:00
Cell.__init__(self,x,y)
2019-03-19 11:47:23 +01:00
self.image = pygame.image.load("images/grass.png")