fix simulation, fix tasklist
This commit is contained in:
parent
df0bf3207c
commit
a18927bfb4
13
main.py
13
main.py
@ -82,12 +82,13 @@ if __name__ == "__main__":
|
|||||||
break
|
break
|
||||||
|
|
||||||
if event.key == pygame.K_s:
|
if event.key == pygame.K_s:
|
||||||
tree.TasksList('check', [2, 3])
|
waitPosition = [waiter.X, waiter.Y]
|
||||||
tree.TasksList('eat', [9, 6])
|
tree.TasksList('check', [2, 3], waitPosition)
|
||||||
tree.TasksList('order', [4, 8])
|
tree.TasksList('eat', [9, 6], waitPosition)
|
||||||
tree.TasksList('goToBar', [11, 4])
|
tree.TasksList('order', [4, 8], waitPosition)
|
||||||
tree.TasksList('check', [2, 9])
|
tree.TasksList('goToBar', [11, 4], waitPosition)
|
||||||
tree.TasksList('eat', [1, 1])
|
tree.TasksList('check', [2, 9], waitPosition)
|
||||||
|
tree.TasksList('eat', [1, 1], waitPosition)
|
||||||
queue = tree.ReturnQueueList()
|
queue = tree.ReturnQueueList()
|
||||||
tree.print()
|
tree.print()
|
||||||
check = 1
|
check = 1
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
______________
|
______________
|
||||||
______________
|
______________
|
||||||
__PW_____PW___
|
__PW_____PW___
|
||||||
_USWP___USWP__
|
__SWP____SWP__
|
||||||
__OWS____OWSI_
|
__OWS____OWS__
|
||||||
__PWO____PWO__
|
__PWO____PWO__
|
||||||
_USW____USW___
|
__SW_____SW___
|
||||||
__OWP____OWP__
|
__OWP____OWP__
|
||||||
__PWS____PWSI_
|
__PWS____PWS__
|
||||||
_USWO___USWO__
|
__SWO____SWO__
|
||||||
__OW_____OW___
|
__OW_____OW___
|
||||||
______________
|
______________
|
||||||
______________
|
______________
|
||||||
|
Loading…
Reference in New Issue
Block a user