public CompletedLapsRewardingCommandDecorator( IPlayer player, ICommand decoratedCommand, ILapCounter lapCounter, ICommandFactory rewardCommandFactory) { _player = player; _decoratedCommand = decoratedCommand; _lapCounter = lapCounter; _rewardCommandFactory = rewardCommandFactory; _rewardSummary = string.Empty; }
public CompletedLapsRewardingCommandFactoryDecorator(ICommandFactory decoratedCommandFactory, ILapCounter lapCounter, ICommandFactory lapRewardCommandFactory) { _decoratedCommandFactory = decoratedCommandFactory; _lapCounter = lapCounter; _lapRewardCommandFactory = lapRewardCommandFactory; }