Оновити 'nauka2.py'

Added some things
This commit is contained in:
Serhii Hromov 2020-04-06 13:28:45 +00:00
parent 11be3840fe
commit 1293155431

View File

@ -31,6 +31,50 @@ SCREEN_HEIGHT = 564
# self.rect = self.surf.get_rect()
class Dishes:
#to do
x=0
y=0
def __int__(self, x, y):
self.x = x
self.y = y
def draw(self, surface, image):
surface.blit(image, (self.x, self.y))
class Clients:
#to do
x = 0
y = 0
def __int__(self, x, y):
self.x = x
self.y = y
def draw(self, surface, image):
surface.blit(image, (self.x, self.y))
class Kitchen:
#to do or delete
pass
class Order:
#to do
x = 0
y = 0
def __int__(self, x, y, id):
self.x = x
self.y = y
self.id = id
class Player(pygame.sprite.Sprite):
'''