mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 06:57:39 +08:00
Better variable + comment naming
This commit is contained in:
parent
2f72dff779
commit
de7d50d384
@ -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();
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user