2022-04-16 15:55:43 +02:00
|
|
|
from typing import Dict
|
|
|
|
|
2022-05-09 15:49:11 +02:00
|
|
|
from data.enum.ItemType import ItemType
|
2022-04-16 15:55:43 +02:00
|
|
|
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],
|
2022-04-28 20:34:03 +02:00
|
|
|
diffTerrain: [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 20:34:03 +02:00
|
|
|
self.diffTerrain = diffTerrain
|