1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 12:53:11 +08:00

Rename Barline -> BarLine.

This commit is contained in:
smoogipooo 2017-05-29 15:01:13 +09:00
parent ee7158aa95
commit 4fce0c1189
5 changed files with 8 additions and 8 deletions

View File

@ -3,7 +3,7 @@ using osu.Game.Rulesets.Objects;
namespace osu.Game.Rulesets.Mania.Objects
{
public class Barline : ManiaHitObject
public class BarLine : ManiaHitObject
{
/// <summary>
/// The control point which this bar line is part of.

View File

@ -12,12 +12,12 @@ using osu.Game.Rulesets.Objects.Drawables;
namespace osu.Game.Rulesets.Mania.Objects.Drawables
{
/// <summary>
/// Visualises a <see cref="Barline"/>. Although this derives DrawableManiaHitObject,
/// Visualises a <see cref="BarLine"/>. Although this derives DrawableManiaHitObject,
/// this does not handle input/sound like a normal hit object.
/// </summary>
public class DrawableBarline : DrawableManiaHitObject<Barline>
public class DrawableBarLine : DrawableManiaHitObject<BarLine>
{
public DrawableBarline(Barline hitObject)
public DrawableBarLine(BarLine hitObject)
: base(hitObject, null)
{
AutoSizeAxes = Axes.Y;

View File

@ -104,7 +104,7 @@ namespace osu.Game.Rulesets.Mania.UI
int index = 0;
for (double t = timingPoints[i].Time; Precision.DefinitelyBigger(endTime, t); t += point.BeatLength, index++)
{
maniaPlayfield.Add(new DrawableBarline(new Barline
maniaPlayfield.Add(new DrawableBarLine(new BarLine
{
StartTime = t,
ControlPoint = point,

View File

@ -207,7 +207,7 @@ namespace osu.Game.Rulesets.Mania.UI
}
public override void Add(DrawableHitObject<ManiaHitObject, ManiaJudgement> h) => Columns.ElementAt(h.HitObject.Column).Add(h);
public void Add(DrawableBarline barline) => barlineContainer.Add(barline);
public void Add(DrawableBarLine barline) => barlineContainer.Add(barline);
protected override bool OnKeyDown(InputState state, KeyDownEventArgs args)
{

View File

@ -62,7 +62,7 @@
<Compile Include="Judgements\ManiaHitResult.cs" />
<Compile Include="Judgements\ManiaJudgement.cs" />
<Compile Include="ManiaDifficultyCalculator.cs" />
<Compile Include="Objects\Drawables\DrawableBarline.cs" />
<Compile Include="Objects\Drawables\DrawableBarLine.cs" />
<Compile Include="Objects\Drawables\DrawableHoldNote.cs" />
<Compile Include="Objects\Drawables\DrawableHoldNoteTick.cs" />
<Compile Include="Objects\Drawables\DrawableManiaHitObject.cs" />
@ -71,7 +71,7 @@
<Compile Include="Objects\Drawables\Pieces\NotePiece.cs" />
<Compile Include="Objects\Types\IHasColumn.cs" />
<Compile Include="Scoring\ManiaScoreProcessor.cs" />
<Compile Include="Objects\Barline.cs" />
<Compile Include="Objects\BarLine.cs" />
<Compile Include="Objects\HoldNote.cs" />
<Compile Include="Objects\HoldNoteTick.cs" />
<Compile Include="Objects\ManiaHitObject.cs" />