import pygame from gridElement import GridElement class Table(GridElement): def __init__(self, x=None, y=None, game=None): GridElement.__init__(self, x, y, game) game.idTable += 1 self.id = game.idTable self.isBusy = False self.image = pygame.image.load("./Images/table.png") self.image = pygame.transform.scale(self.image, (self.game.gridElementWidth, self.game.gridElementHeight)) self.type = "table"