From 015bfb435abd8ee3bb9196ba4617fe1f75c4e3d1 Mon Sep 17 00:00:00 2001 From: karoel2 Date: Mon, 6 Apr 2020 21:26:27 +0200 Subject: [PATCH] concept --- nauka2.py | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/nauka2.py b/nauka2.py index c6710a2..b2ee491 100644 --- a/nauka2.py +++ b/nauka2.py @@ -17,6 +17,51 @@ from pygame.locals import ( SCREEN_WIDTH = 564 SCREEN_HEIGHT = 564 + +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 + + def draw(): screen.blit(background_image, [0, 0]) screen.blit(player.surf, player.rect)