예제 #1
0
파일: Events.cs 프로젝트: kanadeiar/CompMan
 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;
 }
예제 #2
0
 private IInfoComputer _infoComputer; //инфа по компьютеру
 /// <summary> Конструктор с кошелем игрока </summary>
 /// <param name="wallet">Кошель игрока</param>
 public Soft(IPlayer player, IInfoComputer computer) : base()
 {
     _wallet       = player;
     _score        = player;
     _infoComputer = computer;
 }