2022-04-16 15:55:43 +02:00
|
|
|
from typing import Dict
|
|
|
|
|
2022-06-07 01:07:49 +02:00
|
|
|
from data.Item import Item
|
|
|
|
from data.Order import Order
|
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,
|
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
|
|
|
|
self.walls = walls
|
2022-04-28 20:34:03 +02:00
|
|
|
self.diffTerrain = diffTerrain
|