2019-09-24 21:03:55 +00:00
|
|
|
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
|
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
|
|
2023-08-15 04:33:49 +00:00
|
|
|
|
using osu.Framework.Bindables;
|
2020-02-23 04:01:30 +00:00
|
|
|
|
using osu.Game.Rulesets.Judgements;
|
2019-09-24 21:03:55 +00:00
|
|
|
|
using osu.Game.Rulesets.Objects;
|
|
|
|
|
|
|
|
|
|
namespace osu.Game.Rulesets.Mania.Objects
|
|
|
|
|
{
|
|
|
|
|
public class BarLine : ManiaHitObject, IBarLine
|
|
|
|
|
{
|
2023-08-15 04:33:49 +00:00
|
|
|
|
private HitObjectProperty<bool> major;
|
|
|
|
|
|
|
|
|
|
public Bindable<bool> MajorBindable => major.Bindable;
|
|
|
|
|
|
|
|
|
|
public bool Major
|
|
|
|
|
{
|
|
|
|
|
get => major.Value;
|
|
|
|
|
set => major.Value = value;
|
|
|
|
|
}
|
2020-02-23 04:01:30 +00:00
|
|
|
|
|
|
|
|
|
public override Judgement CreateJudgement() => new IgnoreJudgement();
|
2019-09-24 21:03:55 +00:00
|
|
|
|
}
|
|
|
|
|
}
|