Update 'main.py'
This commit is contained in:
parent
7b8c8842d8
commit
eb7b8301fc
2
main.py
2
main.py
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user