public OnFoodHitSignal(IFoodUnit foodUnit, IFoodScore foodScore)
 {
     this.foodUnit  = foodUnit;
     this.foodScore = foodScore;
 }
Пример #2
0
 public void InjectDependency(SignalBus signalBus, IFoodUnit foodUnit, IFoodScore foodScore)
 {
     this.signalBus = signalBus;
     this.FoodUnit  = foodUnit;
     this.FoodScore = foodScore;
 }