mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 11:20:04 +08:00
25 lines
673 B
C#
25 lines
673 B
C#
// 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.
|
|
|
|
using osu.Framework.Bindables;
|
|
using osu.Game.Rulesets.Judgements;
|
|
using osu.Game.Rulesets.Objects;
|
|
|
|
namespace osu.Game.Rulesets.Mania.Objects
|
|
{
|
|
public class BarLine : ManiaHitObject, IBarLine
|
|
{
|
|
private HitObjectProperty<bool> major;
|
|
|
|
public Bindable<bool> MajorBindable => major.Bindable;
|
|
|
|
public bool Major
|
|
{
|
|
get => major.Value;
|
|
set => major.Value = value;
|
|
}
|
|
|
|
public override Judgement CreateJudgement() => new IgnoreJudgement();
|
|
}
|
|
}
|