mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Make DrawableHitObject/ScoreProcessor support rewinding
This commit is contained in:
@ -104,6 +104,7 @@ namespace osu.Game.Rulesets.UI
|
||||
where TObject : HitObject
|
||||
{
|
||||
public event Action<Judgement> OnJudgement;
|
||||
public event Action<Judgement> OnJudgementRemoved;
|
||||
|
||||
/// <summary>
|
||||
/// The Beatmap
|
||||
@ -241,6 +242,8 @@ namespace osu.Game.Rulesets.UI
|
||||
OnJudgement?.Invoke(j);
|
||||
};
|
||||
|
||||
drawableObject.OnJudgementRemoved += (d, j) => { OnJudgementRemoved?.Invoke(j); };
|
||||
|
||||
Playfield.Add(drawableObject);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user