Make Rulesets.Catch use the new judgement result structure

This commit is contained in:
smoogipoo
2018-08-02 20:37:07 +09:00
parent 807794d512
commit 9dff5cea07
12 changed files with 50 additions and 87 deletions

View File

@ -1,12 +1,14 @@
// 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.Catch.Judgements;
using osu.Game.Rulesets.Judgements;
namespace osu.Game.Rulesets.Catch.Objects
{
public class Droplet : CatchHitObject, ICatchObjectWithJudgement
public class Droplet : CatchHitObject
{
public virtual CatchJudgement Judgement { get; } = new CatchDropletJudgement();
protected override IEnumerable<Judgement> CreateJudgements() => new[] { new CatchDropletJudgement() };
}
}