1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-15 09:07:25 +08:00
osu-lazer/osu.Game.Rulesets.Mania/Objects/ManiaHitObject.cs

24 lines
783 B
C#
Raw Normal View History

2018-01-05 19:21:19 +08:00
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
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
{
2017-05-03 11:44:19 +08:00
public abstract class ManiaHitObject : HitObject, IHasColumn
{
2017-09-11 12:44:39 +08:00
public virtual int Column { get; set; }
protected override void ApplyDefaultsToSelf(ControlPointInfo controlPointInfo, BeatmapDifficulty difficulty)
{
base.ApplyDefaultsToSelf(controlPointInfo, difficulty);
HitWindows.AllowsPerfect = true;
HitWindows.AllowsOk = true;
}
}
}