SIP/container/tree.py
2021-03-24 00:21:46 +01:00

14 lines
278 B
Python

from container.piece import Piece
import pygame
class Tree(Piece):
def __init__(self,x_y, img = 0):
self.name = "Tree"
self.row = x_y[0]
self.col = x_y[1]
self.img = pygame.image.load(r'container\trees\tree'+str(img)+'.png')