Ejemplo n.º 1
0
    private IEnumerator FixBrokenGlass()
    {
        while (bubbleDrawer.MaskedPercentage() <= percentageOfCleanUp)
        {
            if (Input.GetMouseButton(0))
            {
                bubbleDrawer.DrawStencial();
            }

            yield return(new WaitForEndOfFrame());
        }

        glassFixed = true;
        FadeOutGlass();
    }
Ejemplo n.º 2
0
 /// <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);
 }