public void New() { timer.Stop(); foodTimer.Stop(); drawArea.Clear(); CurrentScore = 0; TimeSurvived = 0; scoreTSMI.Text = String.Format("Score: {0}", CurrentScore); if (player != null) { player.Die(); } MakeWalls(); SpawnFood(); player = new Player(ref Board, BoardSizeX, BoardSizeY, new Point(BoardSizeX / 2 - 3, BoardSizeY / 2)); SetPlayerDirection((int)Directions.Right); timer.Start(); }