osu/osu.Game.Rulesets.Mania/Objects/Note.cs

22 lines
690 B
C#
Raw Normal View History

// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
2016-09-02 09:44:02 +00:00
2017-05-03 03:53:45 +00:00
using osu.Game.Beatmaps.Timing;
using osu.Game.Database;
using osu.Game.Rulesets.Mania.Judgements;
2017-04-18 07:05:58 +00:00
namespace osu.Game.Rulesets.Mania.Objects
2016-09-02 09:44:02 +00:00
{
2017-05-03 03:44:19 +00:00
public class Note : ManiaHitObject
2016-09-02 09:44:02 +00:00
{
2017-05-03 03:53:45 +00:00
public HitWindows HitWindows { get; protected set; } = new HitWindows();
public override void ApplyDefaults(TimingInfo timing, BeatmapDifficulty difficulty)
{
base.ApplyDefaults(timing, difficulty);
HitWindows = new HitWindows(difficulty.OverallDifficulty);
}
2016-09-02 09:44:02 +00:00
}
}