Esempio n. 1
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;
 }
Esempio n. 2
0
 private IInfoComputer _infoComputer; //инфа по компьютеру
 /// <summary> Конструктор с кошелем игрока </summary>
 /// <param name="wallet">Кошель игрока</param>
 public Soft(IPlayer player, IInfoComputer computer) : base()
 {
     _wallet       = player;
     _score        = player;
     _infoComputer = computer;
 }