1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 00:47:24 +08:00

Better variable + comment naming

This commit is contained in:
smoogipooo 2017-09-11 15:08:51 +09:00
parent 2f72dff779
commit de7d50d384
2 changed files with 5 additions and 5 deletions

View File

@ -208,7 +208,7 @@ namespace osu.Game.Rulesets.Mania.Objects.Drawables
LifetimeStart = double.MinValue;
LifetimeEnd = double.MaxValue;
HasOwnGlow = false;
ApplyGlow = false;
}
public override bool OnPressed(ManiaAction action)
@ -251,7 +251,7 @@ namespace osu.Game.Rulesets.Mania.Objects.Drawables
LifetimeStart = double.MinValue;
LifetimeEnd = double.MaxValue;
HasOwnGlow = false;
ApplyGlow = false;
}
protected override ManiaJudgement CreateJudgement() => new HoldNoteTailJudgement();

View File

@ -19,9 +19,9 @@ namespace osu.Game.Rulesets.Mania.Objects.Drawables
public class DrawableNote : DrawableManiaHitObject<Note>, IKeyBindingHandler<ManiaAction>
{
/// <summary>
/// Whether the glow for this <see cref="DrawableNote"/> is handled by a <see cref="DrawableHitObject"/> containing it.
/// Gets or sets whether this <see cref="DrawableNote"/> should apply glow to itself.
/// </summary>
protected bool HasOwnGlow = true;
protected bool ApplyGlow = true;
private readonly NotePiece headPiece;
@ -66,7 +66,7 @@ namespace osu.Game.Rulesets.Mania.Objects.Drawables
if (!IsLoaded)
return;
if (!HasOwnGlow)
if (!ApplyGlow)
return;
EdgeEffect = new EdgeEffectParameters