Implicit base()

This commit is contained in:
Adonais Romero González 2016-10-12 21:46:51 -05:00
parent 8f0093f133
commit 1d8d2fa9c9
7 changed files with 7 additions and 7 deletions

View File

@ -25,7 +25,7 @@ namespace osu.Game.Graphics.UserInterface
public EasingTypes TintEasing = EasingTypes.None; public EasingTypes TintEasing = EasingTypes.None;
public bool CanAnimateWhenBackwards = false; public bool CanAnimateWhenBackwards = false;
public AlternativeComboCounter() : base() public AlternativeComboCounter()
{ {
IsRollingContinuous = false; IsRollingContinuous = false;
} }

View File

@ -15,7 +15,7 @@ namespace osu.Game.Graphics.UserInterface
/// </summary> /// </summary>
public class CatchComboCounter : StandardComboCounter public class CatchComboCounter : StandardComboCounter
{ {
public CatchComboCounter() : base() public CatchComboCounter()
{ {
CanPopOutWhenBackwards = true; CanPopOutWhenBackwards = true;
} }

View File

@ -32,7 +32,7 @@ namespace osu.Game.Graphics.UserInterface
} }
} }
protected NumericRollingCounter() : base() protected NumericRollingCounter()
{ {
Children = new Drawable[] Children = new Drawable[]
{ {

View File

@ -104,7 +104,7 @@ namespace osu.Game.Graphics.UserInterface
} }
} }
protected RollingCounter() : base() protected RollingCounter()
{ {
Debug.Assert( Debug.Assert(
transformType.IsSubclassOf(typeof(Transform<T>)) || transformType == typeof(Transform<T>), transformType.IsSubclassOf(typeof(Transform<T>)) || transformType == typeof(Transform<T>),

View File

@ -25,7 +25,7 @@ namespace osu.Game.Graphics.UserInterface
/// Displays score. /// Displays score.
/// </summary> /// </summary>
/// <param name="leading">How many leading zeroes the counter will have.</param> /// <param name="leading">How many leading zeroes the counter will have.</param>
public ScoreCounter(uint leading = 0) : base() public ScoreCounter(uint leading = 0)
{ {
countSpriteText.FixedWidth = true; countSpriteText.FixedWidth = true;
LeadingZeroes = leading; LeadingZeroes = leading;

View File

@ -43,7 +43,7 @@ namespace osu.Game.Graphics.UserInterface
} }
} }
public StandardComboCounter() : base() public StandardComboCounter()
{ {
IsRollingContinuous = false; IsRollingContinuous = false;

View File

@ -48,7 +48,7 @@ namespace osu.Game.Graphics.UserInterface
/// Shows a float count as stars. Used as star difficulty display. /// Shows a float count as stars. Used as star difficulty display.
/// </summary> /// </summary>
/// <param name="stars">Maximum amount of stars to display.</param> /// <param name="stars">Maximum amount of stars to display.</param>
public StarCounter(int stars = 10) : base() public StarCounter(int stars = 10)
{ {
IsRollingProportional = true; IsRollingProportional = true;
RollingDuration = 150; RollingDuration = 150;