10 lines
328 B
Python
10 lines
328 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, (50, 50))
|
|
self.type = "pool" |