public void AddScore(ScoreZone.Player player)
        {
            if (player == ScoreZone.Player.player1)
            {
                if (currentRacket != null)
                {
                    score2++;
                }
                ScoreUpdated();
            }
            else if (player == ScoreZone.Player.player2)
            {
                if (currentRacket != null)
                {
                    score1++;
                }

                ScoreUpdated();
            }
        }
        public void AddScore(ScoreZone.Player player)
        {
            if (player == ScoreZone.Player.player1)
            {
                if (currentRacket != null)
                {
                    score2++;
                }
                ScoreUpdated();
            }
            else if (player == ScoreZone.Player.player2)
            {
                if (currentRacket != null)
                {
                    score1++;
                }
                ScoreUpdated();
            }

            if ((score1 + score2) > maxScoreToReset)
            {
                currentRacket.DestroySelf();
            }
        }