16 lines
609 B
Python
16 lines
609 B
Python
|
from data.Item import Item
|
||
|
from data.Order import Order
|
||
|
|
||
|
|
||
|
class Game:
|
||
|
def __init__(self, id: int, agentPos: (int, int), deliveryPos: (int, int), orderPos: (int,int), stockPilePos: [(int,int)],
|
||
|
deliveryItem: Item, agentHandId: int, orderStock:[id], orderList: [Order] ):
|
||
|
self.id = id
|
||
|
self.agentPos = agentPos
|
||
|
self.deliveryPos = deliveryPos
|
||
|
self.orderPos = orderPos
|
||
|
self.stockPilePos = stockPilePos
|
||
|
self.deliveryItem = deliveryItem
|
||
|
self.agentHandId = agentHandId
|
||
|
self.orderStock = orderStock
|
||
|
self.orderList = orderList
|