mirror of
https://github.com/ppy/osu
synced 2024-12-13 18:37:04 +00:00
24 lines
760 B
C#
24 lines
760 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;
|
|
}
|
|
}
|
|
}
|