Added type hint to agent type in graph.

This commit is contained in:
Filipe Rodrigues 2023-10-24 10:24:02 +01:00
parent 33db83ef14
commit c1efba26f4

View File

@ -53,7 +53,7 @@ class Graph:
size: Tuple[int, int]
# Agent type
agent_ty: type | None
agent_ty: type[Agent] | None
# Agents
agents: dict[NodePos, Agent]