2019-04-14 18:33:30 +02:00
|
|
|
import pygame
|
2019-04-16 13:28:11 +02:00
|
|
|
from gridElement import GridElement
|
2019-04-14 18:33:30 +02:00
|
|
|
|
|
|
|
|
2019-04-16 13:28:11 +02:00
|
|
|
class Pool(GridElement):
|
|
|
|
def __init__(self, x=None, y=None, game=None):
|
|
|
|
GridElement.__init__(self, x, y, game)
|
2019-04-14 18:33:30 +02:00
|
|
|
self.image = pygame.image.load("./Images/water.jpg")
|
2019-04-16 13:28:11 +02:00
|
|
|
self.image = pygame.transform.scale(self.image, (self.game.gridElementWidth, self.game.gridElementHeight))
|
2019-04-14 18:33:30 +02:00
|
|
|
self.type = "pool"
|