public static TradeCardsCommand Create(TradeEscrow escrow) { TradeCardsCommand command = new TradeCardsCommand(); command.escrow = escrow; return(command); }
public void ApplyTrade() { ICommand command = TradeCardsCommand.Create(matchState.escrow); _commandFactory.Execute(command); }