示例#1
0
 /// <summary> Конструктор с счетом игрока </summary>
 public Torrent(IDateTimerEvent timer, IChangeScore score, IOtherSoftChange soft) : base()
 {
     _score              = score;
     _otherSoftChange    = soft;
     timer.NextDayEvent += DayUpdate;
     _mayUpload          = _mayDownload = true;
 }
示例#2
0
 public Events(IDateTimerEvent timer, IPlayer player, IOtherSoftChange softChange, IInfoSoft soft, IInfoComputer infoComputer) : base()
 {
     _wallet             = player;
     _score              = player;
     _otherSoftChange    = softChange;
     _infoSoft           = soft;
     _infoComputer       = infoComputer;
     timer.NextDayEvent += DayUpdate;
 }