WaveFrogger.Services.ScoreService.RegisterScore C# (CSharp) Method

RegisterScore() public method

public RegisterScore ( int score ) : void
score int
return void
        public void RegisterScore(int score)
        {
            this.CurrentScore = score;

            if (this.CurrentScore > this.MaxScore)
            {
                this.MaxScore = this.CurrentScore;
            }
        }
ScoreService