Skip to content

Commit

Permalink
Remove obsolete annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
smoogipoo committed Oct 3, 2024
1 parent 6988b85 commit f7fb77a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
6 changes: 0 additions & 6 deletions osu.Framework/Graphics/TransformSequenceExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,6 @@ public static TransformSequence<T> TransformBindableTo<T, TValue, TEasing>(this

#region Compatibility

[Obsolete("For compatibility use only, replacement: X().And().Y().Z().Loop(pause, numIters)")]
public static TransformSequence<T> Loop<T>(this TransformSequence<T> t, double pause, int numIters, params TransformSequence<T>.Generator[] childGenerators)
where T : Drawable
{
Expand All @@ -527,17 +526,14 @@ public static TransformSequence<T> Loop<T>(this TransformSequence<T> t, double p
return branch.Merge();
}

[Obsolete("For compatibility use only, replacement: X().And().Y().Z().Loop(pause)")]
public static TransformSequence<T> Loop<T>(this TransformSequence<T> t, double pause, params TransformSequence<T>.Generator[] childGenerators)
where T : Drawable
=> t.Loop(pause, -1, childGenerators);

[Obsolete("For compatibility use only, replacement: X().And().Y().Z().Loop()")]
public static TransformSequence<T> Loop<T>(this TransformSequence<T> t, params TransformSequence<T>.Generator[] childGenerators)
where T : Drawable
=> t.Loop(0, -1, childGenerators);

[Obsolete("For compatibility use only, replacement: X().And().Then().Delay(delay).Y().Z()")]
public static TransformSequence<T> Then<T>(this TransformSequence<T> t, double delay, params TransformSequence<T>.Generator[] childGenerators)
where T : Drawable
{
Expand All @@ -550,12 +546,10 @@ public static TransformSequence<T> Then<T>(this TransformSequence<T> t, double d
return branch.Merge();
}

[Obsolete("For compatibility use only, replacement: X().And().Then().Y().Z()")]
public static TransformSequence<T> Then<T>(this TransformSequence<T> t, params TransformSequence<T>.Generator[] childGenerators)
where T : Drawable
=> t.Then(0, childGenerators);

[Obsolete("For compatibility use only, replacement: X().And().Delay(delay).Y().Z()")]
public static TransformSequence<T> Delay<T>(this TransformSequence<T> t, double delay, params TransformSequence<T>.Generator[] childGenerators)
where T : Drawable
=> t.Then(delay, childGenerators);
Expand Down
4 changes: 0 additions & 4 deletions osu.Framework/Graphics/TransformableExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,6 @@ public static TransformSequence<T> TransformBindableTo<T, TValue, TEasing>(this

#region Compatibility

[Obsolete("For compatibility use only, replacement: X.Y().Z()")]
public static TransformSequence<T> Animate<T>(this T transformable, params TransformSequence<T>.Generator[] childGenerators)
where T : Drawable
{
Expand All @@ -723,7 +722,6 @@ public static TransformSequence<T> Animate<T>(this T transformable, params Trans
return branch.Merge();
}

[Obsolete("For compatibility use only, replacement: X.Y().Z().Loop(pause, numIters)")]
public static TransformSequence<T> Loop<T>(this T transformable, double pause, int numIters, params TransformSequence<T>.Generator[] childGenerators)
where T : Drawable
{
Expand All @@ -736,12 +734,10 @@ public static TransformSequence<T> Loop<T>(this T transformable, double pause, i
return branch.Merge();
}

[Obsolete("For compatibility use only, replacement: X.Y().Z().Loop(pause)")]
public static TransformSequence<T> Loop<T>(this T transformable, double pause, params TransformSequence<T>.Generator[] childGenerators)
where T : Drawable
=> transformable.Loop(pause, -1, childGenerators);

[Obsolete("For compatibility use only, replacement: X.Y().Z().Loop()")]
public static TransformSequence<T> Loop<T>(this T transformable, params TransformSequence<T>.Generator[] childGenerators)
where T : Drawable
=> transformable.Loop(0, -1, childGenerators);
Expand Down

0 comments on commit f7fb77a

Please sign in to comment.