2018-04-13 17:19:50 +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
|
|
|
|
|
|
2018-11-15 20:37:22 +08:00
|
|
|
|
using osu.Framework.Configuration;
|
2018-04-13 17:19:50 +08:00
|
|
|
|
using osu.Game.Rulesets.Mania.Objects.Types;
|
|
|
|
|
using osu.Game.Rulesets.Objects;
|
|
|
|
|
|
|
|
|
|
namespace osu.Game.Rulesets.Mania.Objects
|
|
|
|
|
{
|
|
|
|
|
public abstract class ManiaHitObject : HitObject, IHasColumn
|
|
|
|
|
{
|
2018-11-15 20:37:22 +08:00
|
|
|
|
public readonly Bindable<int> ColumnBindable = new Bindable<int>();
|
|
|
|
|
|
|
|
|
|
public virtual int Column
|
|
|
|
|
{
|
|
|
|
|
get => ColumnBindable;
|
|
|
|
|
set => ColumnBindable.Value = value;
|
|
|
|
|
}
|
2018-04-13 17:19:50 +08:00
|
|
|
|
|
2018-05-17 12:35:06 +08:00
|
|
|
|
protected override HitWindows CreateHitWindows() => new ManiaHitWindows();
|
2018-04-13 17:19:50 +08:00
|
|
|
|
}
|
|
|
|
|
}
|