mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Migrate Rulesets.Mania to the new judgement system
This commit is contained in:
@ -1,6 +1,10 @@
|
||||
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
||||
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
||||
|
||||
using System.Collections.Generic;
|
||||
using osu.Game.Rulesets.Judgements;
|
||||
using osu.Game.Rulesets.Mania.Judgements;
|
||||
|
||||
namespace osu.Game.Rulesets.Mania.Objects
|
||||
{
|
||||
/// <summary>
|
||||
@ -8,5 +12,8 @@ namespace osu.Game.Rulesets.Mania.Objects
|
||||
/// </summary>
|
||||
public class Note : ManiaHitObject
|
||||
{
|
||||
public virtual ManiaJudgement Judgement { get; } = new ManiaJudgement();
|
||||
|
||||
protected override IEnumerable<Judgement> CreateJudgements() => new[] { Judgement };
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user