public OnFoodHitSignal(IFoodUnit foodUnit, IFoodScore foodScore) { this.foodUnit = foodUnit; this.foodScore = foodScore; }
public void InjectDependency(SignalBus signalBus, IFoodUnit foodUnit, IFoodScore foodScore) { this.signalBus = signalBus; this.FoodUnit = foodUnit; this.FoodScore = foodScore; }