16 lines
560 B
Python
16 lines
560 B
Python
from typing import Dict
|
|
|
|
from data.ItemType import ItemType
|
|
from util.PathDefinitions import GridLocation
|
|
|
|
|
|
class GameConstants:
|
|
def __init__(self, grid_width: int, grid_height: int, delivery_pos: GridLocation, order_pos: GridLocation,
|
|
special_positions: Dict[ItemType, GridLocation], walls: [GridLocation]):
|
|
self.grid_width = grid_width
|
|
self.grid_height = grid_height
|
|
self.delivery_pos = delivery_pos
|
|
self.order_pos = order_pos
|
|
self.special_positions = special_positions
|
|
self.walls = walls
|