Centralise and share bar line generation code between rulesets

This commit is contained in:
Dean Herbert
2019-09-10 13:29:50 +09:00
parent 2bc64cd6e1
commit af3bb5a2cd
12 changed files with 89 additions and 114 deletions

View File

@ -0,0 +1,16 @@
// 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.
namespace osu.Game.Rulesets.Objects
{
/// <summary>
/// A hit object representing the end of a bar.
/// </summary>
public class BarLine : HitObject
{
/// <summary>
/// Whether this barline is a prominent beat (based on time signature of beatmap).
/// </summary>
public bool Major;
}
}