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