private IEnumerator FixBrokenGlass() { while (bubbleDrawer.MaskedPercentage() <= percentageOfCleanUp) { if (Input.GetMouseButton(0)) { bubbleDrawer.DrawStencial(); } yield return(new WaitForEndOfFrame()); } glassFixed = true; FadeOutGlass(); }
/// <summary> /// Check if the Wincondition of the Game is set /// </summary> /// <returns>true</returns> /// <c>false</c> public override bool WinConditionsAreSovled() { return(screenCleaner.MaskedPercentage() >= percentageOfCleanUp); }