diff --git a/GameModel.py b/GameModel.py index c303fb8..a373124 100644 --- a/GameModel.py +++ b/GameModel.py @@ -1,6 +1,6 @@ import copy from enum import Enum -from typing import List +from typing import List, Tuple from mesa import Model from mesa.space import MultiGrid @@ -18,7 +18,6 @@ from data.Order import Order from data.enum.ItemType import ItemType from decision.Action import Action from decision.ActionType import ActionType -from imageClasification.Classificator import Classificator from pathfinding.PathfinderOnStates import PathFinderOnStates, PathFinderState from util.PathByEnum import PathByEnum from util.PathDefinitions import GridLocation, GridWithWeights @@ -152,7 +151,7 @@ class GameModel(Model): self.agents.append(agent) self.grid.place_agent(agent, p) - def place_packing_stations(self, packing_stations: List[tuple[PatchType, GridLocation]]): + def place_packing_stations(self, packing_stations: List[Tuple[PatchType, GridLocation]]): for p in packing_stations: agent = PatchAgent(self, p[1], p[0]) self.agents.append(agent)