/// <summary> /// Handler for finalizing the honey deposit to the vat. /// </summary> /// <param name="result"></param> public void EndHoneyDeposit(IAsyncResult result) { int HoneyAmount = jar.DecreaseHoneyByPercent(100); vat.IncreaseHoney(HoneyAmount); AudioManager.StopSound("DepositingIntoVat_Loop"); }
/// <summary> /// Handler for finalizing the honey deposit to the vat. /// </summary> /// <param name="result"></param> public void EndHoneyDeposit(IAsyncResult result) { int HoneyAmount = jar.DecreaseHoneyByPercent(100); vat.IncreaseHoney(HoneyAmount); }