public static TradeHouseDto Create(TradeHouse tradeHouse) { var goods = tradeHouse.Goods.Select(g => GoodDto.Create(g.Type)) .ToList(); return(new TradeHouseDto { Goods = goods }); }
public Trader(Game game) : base(game) { _tradeHouse = game.TradeHouse; }