2018-01-05 19:21:19 +08:00
|
|
|
|
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
2017-02-07 12:59:30 +08:00
|
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
2016-09-02 17:27:38 +08:00
|
|
|
|
|
2018-02-08 12:54:08 +08:00
|
|
|
|
using osu.Game.Beatmaps;
|
|
|
|
|
using osu.Game.Beatmaps.ControlPoints;
|
2017-05-03 11:53:45 +08:00
|
|
|
|
using osu.Game.Rulesets.Mania.Objects.Types;
|
2017-04-18 15:05:58 +08:00
|
|
|
|
using osu.Game.Rulesets.Objects;
|
2016-11-14 17:54:24 +08:00
|
|
|
|
|
2017-04-18 15:05:58 +08:00
|
|
|
|
namespace osu.Game.Rulesets.Mania.Objects
|
2016-09-02 17:27:38 +08:00
|
|
|
|
{
|
2017-05-03 11:44:19 +08:00
|
|
|
|
public abstract class ManiaHitObject : HitObject, IHasColumn
|
2016-09-02 17:27:38 +08:00
|
|
|
|
{
|
2017-09-11 12:44:39 +08:00
|
|
|
|
public virtual int Column { get; set; }
|
2018-02-08 12:54:08 +08:00
|
|
|
|
|
|
|
|
|
protected override void ApplyDefaultsToSelf(ControlPointInfo controlPointInfo, BeatmapDifficulty difficulty)
|
|
|
|
|
{
|
|
|
|
|
base.ApplyDefaultsToSelf(controlPointInfo, difficulty);
|
|
|
|
|
|
|
|
|
|
HitWindows.AllowsPerfect = true;
|
|
|
|
|
HitWindows.AllowsOk = true;
|
|
|
|
|
}
|
2016-09-02 17:27:38 +08:00
|
|
|
|
}
|
|
|
|
|
}
|