SI_InteligentnyWozekWidlowy/data/GameConstants.py

25 lines
713 B
Python
Raw Normal View History

2022-04-16 15:55:43 +02:00
from typing import Dict
from data.ItemType import ItemType
from util.PathDefinitions import GridLocation
class GameConstants:
2022-04-28 01:50:56 +02:00
def __init__(
self,
grid_width: int,
grid_height: int,
# delivery_pos: GridLocation,
# order_pos: GridLocation,
# special_positions: Dict[ItemType, GridLocation],
2022-04-28 14:03:53 +02:00
walls: [GridLocation],
puddles: [GridLocation]
2022-04-28 01:50:56 +02:00
):
2022-04-16 15:55:43 +02:00
self.grid_width = grid_width
self.grid_height = grid_height
2022-04-28 01:50:56 +02:00
# self.delivery_pos = delivery_pos
# self.order_pos = order_pos
# self.special_positions = special_positions
2022-04-16 15:55:43 +02:00
self.walls = walls
2022-04-28 14:03:53 +02:00
self.puddles = puddles