public void BallEnd(int ballNum) { finishedStatus[ballNum] = true; foreach (BoardController bc in boards) { bc.ballIndicator.SetFinished(ballNum); } bool over = true; foreach (bool f in finishedStatus) { if (!f) { over = false; } } gameOver = over; if (gameOver) { gc.setLastLevelCompleted(levelNumber); winScreen.DisplayScreen(levelNumber, moveCounter); audioManager.levelFinish.Play(); } }