From 22ffc787578b1af7bd5d056b55883bdd44b6a4fa Mon Sep 17 00:00:00 2001 From: smoogipooo Date: Thu, 3 Aug 2017 13:36:04 +0930 Subject: [PATCH] Rework consts in TaikoHitObject to be relative size values. --- .../Objects/TaikoHitObject.cs | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/osu.Game.Rulesets.Taiko/Objects/TaikoHitObject.cs b/osu.Game.Rulesets.Taiko/Objects/TaikoHitObject.cs index db368cb112..5f3223e918 100644 --- a/osu.Game.Rulesets.Taiko/Objects/TaikoHitObject.cs +++ b/osu.Game.Rulesets.Taiko/Objects/TaikoHitObject.cs @@ -11,24 +11,19 @@ namespace osu.Game.Rulesets.Taiko.Objects public abstract class TaikoHitObject : HitObject { /// - /// Diameter of a circle relative to the size of the . + /// Default size of a . /// - public const float PLAYFIELD_RELATIVE_DIAMETER = 0.45f; + public const float DEFAULT_SIZE = 0.45f; /// - /// Scale multiplier for a strong circle. + /// Scale multiplier for a strong . /// - public const float STRONG_CIRCLE_DIAMETER_SCALE = 1.4f; + public const float STRONG_SCALE = 1.4f; /// - /// Default circle diameter. + /// Default size of a strong . /// - public const float DEFAULT_CIRCLE_DIAMETER = TaikoPlayfield.DEFAULT_PLAYFIELD_HEIGHT * PLAYFIELD_RELATIVE_DIAMETER; - - /// - /// Default strong circle diameter. - /// - public const float DEFAULT_STRONG_CIRCLE_DIAMETER = DEFAULT_CIRCLE_DIAMETER * STRONG_CIRCLE_DIAMETER_SCALE; + public const float DEFAULT_STRONG_SIZE = DEFAULT_SIZE * STRONG_SCALE; /// /// The time taken from the initial (off-screen) spawn position to the centre of the hit target for a of 1000ms.