Example #1
0
    public void Update()
    {
        pop.CallForRotation();
        linesToDraw = pop.GetAllLines();
        UpdateRenderers();

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

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