mirror of
https://github.com/osukey/osukey.git
synced 2025-05-30 09:57:21 +09:00
Rework consts in TaikoHitObject to be relative size values.
This commit is contained in:
parent
324fd456a7
commit
22ffc78757
@ -11,24 +11,19 @@ namespace osu.Game.Rulesets.Taiko.Objects
|
|||||||
public abstract class TaikoHitObject : HitObject
|
public abstract class TaikoHitObject : HitObject
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Diameter of a circle relative to the size of the <see cref="TaikoPlayfield"/>.
|
/// Default size of a <see cref="DrawableTaikoHitObject"/>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public const float PLAYFIELD_RELATIVE_DIAMETER = 0.45f;
|
public const float DEFAULT_SIZE = 0.45f;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Scale multiplier for a strong circle.
|
/// Scale multiplier for a strong <see cref="DrawableTaikoHitObject"/>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public const float STRONG_CIRCLE_DIAMETER_SCALE = 1.4f;
|
public const float STRONG_SCALE = 1.4f;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Default circle diameter.
|
/// Default size of a strong <see cref="DrawableTaikoHitObject"/>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public const float DEFAULT_CIRCLE_DIAMETER = TaikoPlayfield.DEFAULT_PLAYFIELD_HEIGHT * PLAYFIELD_RELATIVE_DIAMETER;
|
public const float DEFAULT_STRONG_SIZE = DEFAULT_SIZE * STRONG_SCALE;
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Default strong circle diameter.
|
|
||||||
/// </summary>
|
|
||||||
public const float DEFAULT_STRONG_CIRCLE_DIAMETER = DEFAULT_CIRCLE_DIAMETER * STRONG_CIRCLE_DIAMETER_SCALE;
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The time taken from the initial (off-screen) spawn position to the centre of the hit target for a <see cref="TimingControlPoint.BeatLength"/> of 1000ms.
|
/// The time taken from the initial (off-screen) spawn position to the centre of the hit target for a <see cref="TimingControlPoint.BeatLength"/> of 1000ms.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user