Оновити 'nauka2.py'
Zamówienia, reprezentacja wiedzy
This commit is contained in:
parent
015bfb435a
commit
9398e185a6
@ -2,6 +2,7 @@ import pygame
|
||||
import sys
|
||||
import os
|
||||
import time
|
||||
from concepts import contexts
|
||||
background_image = pygame.image.load("./images/tile.jpg")
|
||||
|
||||
from pygame.locals import (
|
||||
@ -55,6 +56,13 @@ class Order:
|
||||
x = 0
|
||||
y = 0
|
||||
|
||||
# conceptual graphs to represent menu
|
||||
conc_dishes = contexts.Context.fromstring(('''
|
||||
|soup |dessert|main course |
|
||||
tiramisu | | X | |
|
||||
beff steak | | | |
|
||||
shiruko | X | X | |
|
||||
'''))
|
||||
|
||||
def __int__(self, x, y, id):
|
||||
self.x = x
|
||||
|
Loading…
Reference in New Issue
Block a user