SI_InteligentnyWozekWidlowy/pathfinding/PathFinderState.py
Aleksander Szamałek 522b29269d engine improvements
2022-05-22 16:27:36 +02:00

24 lines
704 B
Python

from typing import List
from data.enum.Direction import Direction
from decision.Action import Action
from util.PathDefinitions import GridLocation
class PathFinderState:
def __init__(self,
agent_position: GridLocation,
agent_direction: Direction,
cost: float,
last_action: Action,
action_taken: List[Action],
desired_item=None):
super().__init__()
self.agent_position = agent_position
self.agent_direction = agent_direction
self.cost = cost
self.last_action = last_action
self.action_taken = action_taken
self.desired_item = desired_item