AIsOfCatan.MainActions.ProposeTrade C# (CSharp) Метод

ProposeTrade() публичный Метод

public ProposeTrade ( List give, List take ) : ITrade>.Dictionary
give List
take List
Результат ITrade>.Dictionary
        public Dictionary<int, ITrade> ProposeTrade(List<List<Resource>> give, List<List<Resource>> take)
        {
            if (!valid) throw new IllegalActionException("Tried to perform an action on an invalid GameAction");
            if (!isAfterDieRoll) throw new IllegalActionException("Tried to propose trade before the die roll");
            return controller.ProposeTrade(player, give, take);
        }