From 129315543192fc8145ee96d5f53b08386acda2d9 Mon Sep 17 00:00:00 2001 From: Serhii Hromov Date: Mon, 6 Apr 2020 13:28:45 +0000 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=BD=D0=BE=D0=B2=D0=B8=D1=82=D0=B8=20'n?= =?UTF-8?q?auka2.py'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added some things --- nauka2.py | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/nauka2.py b/nauka2.py index 5a2899f..39c7723 100644 --- a/nauka2.py +++ b/nauka2.py @@ -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): '''