12 lines
467 B
Python
12 lines
467 B
Python
import pygame
|
|
from gridElement import GridElement
|
|
|
|
|
|
class OrderTable(GridElement):
|
|
def __init__(self, x=None, y=None, game=None):
|
|
GridElement.__init__(self, x, y, game)
|
|
game.idOrderTable += 1
|
|
self.idOrderTable = game.idOrderTable
|
|
self.image = pygame.image.load("./Images/drewno.jpg")
|
|
self.image = pygame.transform.scale(self.image, (self.game.gridElementWidth, self.game.gridElementHeight))
|
|
self.type = "orderTable" |