mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 00:09:55 +09:00
Make judgement text generic to be used between game modes.
This commit is contained in:
@ -85,7 +85,11 @@ namespace osu.Game.Modes.Osu.UI
|
||||
|
||||
public override void OnJudgement(DrawableHitObject<OsuHitObject, OsuJudgementInfo> judgedObject)
|
||||
{
|
||||
HitExplosion explosion = new HitExplosion(judgedObject.Judgement, judgedObject.HitObject);
|
||||
HitExplosion explosion = new HitExplosion(judgedObject.Judgement)
|
||||
{
|
||||
Origin = Anchor.Centre,
|
||||
Position = judgedObject.HitObject.StackedEndPosition + judgedObject.Judgement.PositionOffset
|
||||
};
|
||||
|
||||
judgementLayer.Add(explosion);
|
||||
}
|
||||
|
Reference in New Issue
Block a user