2017-05-29 07:00:14 +00:00
|
|
|
// 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;
|
|
|
|
}
|
2017-05-29 02:56:31 +00:00
|
|
|
}
|