mirror of https://github.com/ppy/osu
24 lines
783 B
C#
24 lines
783 B
C#
// 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;
|
|
using osu.Game.Rulesets.Mania.Objects.Types;
|
|
using osu.Game.Rulesets.Objects;
|
|
|
|
namespace osu.Game.Rulesets.Mania.Objects
|
|
{
|
|
public abstract class ManiaHitObject : HitObject, IHasColumn
|
|
{
|
|
public virtual int Column { get; set; }
|
|
|
|
protected override void ApplyDefaultsToSelf(ControlPointInfo controlPointInfo, BeatmapDifficulty difficulty)
|
|
{
|
|
base.ApplyDefaultsToSelf(controlPointInfo, difficulty);
|
|
|
|
HitWindows.AllowsPerfect = true;
|
|
HitWindows.AllowsOk = true;
|
|
}
|
|
}
|
|
}
|