private void CheckHighScore() { if (CurrentScore > HighScore) { HighScore = CurrentScore; scoreSaveLoad.SaveNewHighScore(HighScore); UpdateHighScore?.Invoke(HighScore); } }
public void Consume(UpdateHighScore message) { Trace.WriteLine("High score received for " + message.Score); }