mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 16:25:32 +08:00
22 lines
733 B
C#
22 lines
733 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.Game.Beatmaps.ControlPoints;
|
|
|
|
namespace osu.Game.Rulesets.Mania.Objects
|
|
{
|
|
public class BarLine : ManiaHitObject
|
|
{
|
|
/// <summary>
|
|
/// The control point which this bar line is part of.
|
|
/// </summary>
|
|
public TimingControlPoint ControlPoint;
|
|
|
|
/// <summary>
|
|
/// The index of the beat which this bar line represents within the control point.
|
|
/// This is a "major" bar line if <see cref="BeatIndex"/> % <see cref="TimingControlPoint.TimeSignature"/> == 0.
|
|
/// </summary>
|
|
public int BeatIndex;
|
|
}
|
|
}
|