Update 'main.py'

This commit is contained in:
Vladyslav Serhiienko 2022-06-08 21:10:37 +02:00
parent 7b8c8842d8
commit eb7b8301fc

View File

@ -139,7 +139,7 @@ def zaznacz_cel_na_mapie(cel: Stan):
krata_magazynu.krata[wiersz][kolumna] = ZawartoscPola.CEL
def nadaj_cel_agentowi(agent: Agent, cel: Cel):
def nadaj_cel_agentowi(agent: Agent, cel: Stan):
agent.cel = cel
zaznacz_cel_na_mapie(agent.cel)
print("CEL:", agent.cel.poleStartoweGorne.wiersz, agent.cel.poleStartoweGorne.kolumna)