mirror of
https://github.com/ppy/osu.git
synced 2024-11-15 14:37:30 +08:00
22 lines
734 B
C#
22 lines
734 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.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;
|
|
}
|
|
}
|