示例#1
0
    private void ResetPosition(bool resetLevel)
    {
        ball.Reset();
        player.Reset();
        isStarted = false;

        if (resetLevel)
        {
            brickManager.ResetLevel();
        }
    }
示例#2
0
    public void ReplayLevel()
    {
        brickManager.ResetLevel();

        PauseGame(gameOverMenu);
    }