diff --git a/agentActionType.py b/agentActionType.py index b251b0c..abbf382 100644 --- a/agentActionType.py +++ b/agentActionType.py @@ -3,4 +3,5 @@ from enum import Enum class AgentActionType (Enum): MOVE_FORWARD = 0 TURN_LEFT = 1 - TURN_RIGHT = 2 \ No newline at end of file + TURN_RIGHT = 2 + UNKNOWN = None \ No newline at end of file diff --git a/agentState.py b/agentState.py new file mode 100644 index 0000000..1ac708d --- /dev/null +++ b/agentState.py @@ -0,0 +1,10 @@ +from agentOrientation import AgentOrientation +from typing import Tuple + +class AgentState: + orientation: AgentOrientation + position: Tuple[int, int] + + def __init__(self, position: Tuple[int, int], orientation: AgentOrientation) -> None: + self.orientation = orientation + self.position = position \ No newline at end of file diff --git a/gridCellType.py b/gridCellType.py index d8e5e42..68f37bf 100644 --- a/gridCellType.py +++ b/gridCellType.py @@ -4,4 +4,5 @@ class GridCellType(Enum): NOTHING = 0 STREET_VERTICAL = 1 STREET_HORIZONTAL = 2 - GARBAGE_CAN = 3 \ No newline at end of file + GARBAGE_CAN = 3 + VISITED_GARBAGE_CAN = 4 \ No newline at end of file