From fbf6bc089dc945c7613f05055084cedab116f574 Mon Sep 17 00:00:00 2001 From: Dominik Zawadzki Date: Tue, 19 May 2020 16:19:34 +0000 Subject: [PATCH] Zaktualizuj 'main.py' --- main.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/main.py b/main.py index 6a8e94a..b140767 100644 --- a/main.py +++ b/main.py @@ -4,6 +4,7 @@ import secrets from src.graphics import * from src.rabbit import Rabbit from src.waiter import * +from src.decisionTree import * if __name__ == "__main__": # SETUP @@ -33,6 +34,15 @@ if __name__ == "__main__": pygame.quit() sys.exit() break + + if event.key == pygame.K_s: + tree.TasksList('check', [10,3]) + tree.TasksList('eat', [5,12]) + tree.TasksList('order', [12,4]) + tree.TasksList('goToBar', [10,10]) + tree.TasksList('check', [3,4]) + tree.TasksList('eat', [10,5]) + tree.print() if event.key == pygame.K_r: temp = False