Esempio n. 1
0
    public void Update()
    {
        pop.CallForRotation();

        if (!pop.StillAlive())
        {
            Restart();
        }

        if (Input.GetButtonDown("Reset"))
        {
            Restart();
        }
    }
Esempio n. 2
0
    public void Update()
    {
        pop.CallForRotation();
        linesToDraw = pop.GetAllLines();
        UpdateRenderers();

        if (!pop.StillAlive())
        {
            Restart();
        }

        if (Input.GetButtonDown("Reset"))
        {
            Restart();
        }
    }