Оновити 'nauka2.py'
Added some things
This commit is contained in:
parent
11be3840fe
commit
1293155431
44
nauka2.py
44
nauka2.py
@ -31,6 +31,50 @@ SCREEN_HEIGHT = 564
|
|||||||
# self.rect = self.surf.get_rect()
|
# 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):
|
class Player(pygame.sprite.Sprite):
|
||||||
'''
|
'''
|
||||||
|
Loading…
Reference in New Issue
Block a user