11 lines
378 B
Python
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"
|