Sztuczna_Inteligencja/pool.py
2019-04-16 13:28:11 +02:00

11 lines
378 B
Python

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, (self.game.gridElementWidth, self.game.gridElementHeight))
self.type = "pool"