/// <summary> /// Reset and start the game /// </summary> /// <param name="sumOfNodesOfSnake"></param> /// <param name="headLocation">The loaction of snake's head</param> public void RestartGame(int sumOfNodesOfSnake, Point headLocation) { snake.KillSnake(); snake.Birth(sumOfNodesOfSnake, headLocation); StartGame(); }