1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 04:02:59 +08:00

Update with framework changes.

This commit is contained in:
DrabWeb 2017-07-11 02:11:08 -03:00
parent 202e3ca530
commit 2ee0f3f5f6
2 changed files with 11 additions and 11 deletions

View File

@ -11,10 +11,8 @@ namespace osu.Desktop.VisualTests.Tests
{
public override string Description => @"medal get!";
public override void Reset()
public TestCaseMedalOverlay()
{
base.Reset();
Add(new MedalOverlay(new Medal
{
Name = @"Animations",

View File

@ -199,23 +199,25 @@ namespace osu.Game.Overlays
getSample.Play();
Delay(200, true);
innerSpin.Transforms.Add(new TransformRotation
var innerRotate = new TransformRotation
{
StartValue = 0,
EndValue = 359,
StartTime = Clock.TimeInfo.Current,
EndTime = Clock.TimeInfo.Current + 20000,
LoopCount = -1,
});
};
outterSpin.Transforms.Add(new TransformRotation
innerRotate.Loop(0);
innerSpin.Transforms.Add(innerRotate);
var outerRotate = new TransformRotation
{
StartValue = 0,
EndValue = 359,
StartTime = Clock.TimeInfo.Current,
EndTime = Clock.TimeInfo.Current + 40000,
LoopCount = -1,
});
};
outerRotate.Loop(0);
outterSpin.Transforms.Add(outerRotate);
disc.FadeIn(duration1);
outterSpin.FadeTo(0.1f, duration1 * 2);