mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 13:37:25 +08:00
23 lines
690 B
C#
23 lines
690 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.Framework.Configuration;
|
|
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 readonly Bindable<int> ColumnBindable = new Bindable<int>();
|
|
|
|
public virtual int Column
|
|
{
|
|
get => ColumnBindable;
|
|
set => ColumnBindable.Value = value;
|
|
}
|
|
|
|
protected override HitWindows CreateHitWindows() => new ManiaHitWindows();
|
|
}
|
|
}
|