Sztuczna_Inteligencja/pool.py

10 lines
328 B
Python
Raw Permalink Normal View History

2019-04-17 00:12:39 +02:00
import pygame
from gridElement import GridElement
class Pool(GridElement):
def __init__(self, x=None, y=None, game=None):
GridElement.__init__(self, x, y, game)
self.image = pygame.image.load("./Images/water.jpg")
self.image = pygame.transform.scale(self.image, (50, 50))
self.type = "pool"