1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 22:22:56 +08:00

Store max combo in ScoreProcessor.

This commit is contained in:
Dean Herbert 2016-11-29 21:57:53 +09:00
parent 18d331f869
commit eb70ae788c

View File

@ -21,6 +21,8 @@ namespace osu.Game.Modes
public BindableInt Combo = new BindableInt();
public BindableInt MaximumCombo = new BindableInt();
public List<JudgementInfo> Judgements = new List<JudgementInfo>();
public virtual void AddJudgement(JudgementInfo judgement)
@ -29,6 +31,9 @@ namespace osu.Game.Modes
UpdateCalculations();
judgement.ComboAtHit = (ulong)Combo.Value;
if (Combo.Value > MaximumCombo.Value)
MaximumCombo.Value = Combo.Value;
}
/// <summary>