Rename Accented to Strong.

This commit is contained in:
smoogipooo
2017-03-28 10:02:41 +09:00
parent a52991c101
commit 4c7e523d18
7 changed files with 27 additions and 27 deletions

View File

@ -8,7 +8,7 @@ using osu.Framework.Input;
namespace osu.Game.Modes.Taiko.Objects.Drawable
{
public abstract class DrawableAccentedHit : DrawableHit
public abstract class DrawableStrongHit : DrawableHit
{
/// <summary>
/// The lenience for the second key press.
@ -20,7 +20,7 @@ namespace osu.Game.Modes.Taiko.Objects.Drawable
private bool firstKeyHeld;
private Key firstHitKey;
protected DrawableAccentedHit(Hit hit)
protected DrawableStrongHit(Hit hit)
: base(hit)
{
}
@ -71,7 +71,7 @@ namespace osu.Game.Modes.Taiko.Objects.Drawable
if (!HitKeys.Contains(key))
return false;
// Assume the intention was to hit the accented hit with both keys only if the first key is still being held down
// Assume the intention was to hit the strong hit with both keys only if the first key is still being held down
return firstKeyHeld && UpdateJudgement(true);
}

View File

@ -6,20 +6,20 @@ using OpenTK;
namespace osu.Game.Modes.Taiko.Objects.Drawable.Pieces
{
/// <summary>
/// A type of circle piece which is drawn at a higher scale as an "accent".
/// A type of circle piece which is drawn at a higher scale to represent a "strong" piece.
/// </summary>
public class AccentedCirclePiece : CirclePiece
public class StrongCirclePiece : CirclePiece
{
/// <summary>
/// The amount to scale up the base circle to show it as an "accented" piece.
/// The amount to scale up the base circle to show it as a "strong" piece.
/// </summary>
private const float accent_scale = 1.5f;
private const float strong_scale = 1.5f;
public AccentedCirclePiece()
public StrongCirclePiece()
{
SymbolContainer.Scale = new Vector2(accent_scale);
SymbolContainer.Scale = new Vector2(strong_scale);
}
public override Vector2 Size => new Vector2(base.Size.X, base.Size.Y * accent_scale);
public override Vector2 Size => new Vector2(base.Size.X, base.Size.Y * strong_scale);
}
}