mirror of
https://github.com/ppy/osu.git
synced 2024-12-16 00:02:54 +08:00
21 lines
753 B
C#
21 lines
753 B
C#
// Copyright (c) 2007-2017 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;
|
|
}
|
|
} |