mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Hook up ScoreProcessor to Scoreoverlay etc.
This commit is contained in:
@ -49,7 +49,10 @@ namespace osu.Game.Modes.UI
|
||||
|
||||
public void BindProcessor(ScoreProcessor processor)
|
||||
{
|
||||
|
||||
//bind processor bindables to combocounter, score display etc.
|
||||
processor.TotalScore.ValueChanged += delegate { ScoreCounter?.Set((ulong)processor.TotalScore.Value); };
|
||||
processor.Accuracy.ValueChanged += delegate { AccuracyCounter?.Set((float)processor.Accuracy.Value); };
|
||||
processor.Combo.ValueChanged += delegate { ComboCounter?.Set((ulong)processor.Combo.Value); };
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user