|
10 | 10 | using osu.Game.Beatmaps.Formats; |
11 | 11 | using osu.Game.IO; |
12 | 12 | using osu.Game.Storyboards; |
13 | | -using osuTK; |
14 | | -using osuTK.Graphics; |
| 13 | +using System.Numerics; |
15 | 14 |
|
16 | 15 | namespace osu.Game.Tests.Beatmaps.Formats |
17 | 16 | { |
@@ -150,7 +149,7 @@ public void TestCommands() |
150 | 149 | var sprite = new StoryboardSprite(StoryboardElementSource.Beatmap, "test.jpg", Anchor.Centre, new Vector2(300)); |
151 | 150 | sprite.Commands.AddAlpha(Easing.InBack, 100, 200, 0, 1); |
152 | 151 | sprite.Commands.AddBlendingParameters(Easing.None, 300, 300, BlendingParameters.Additive, BlendingParameters.Additive); |
153 | | - sprite.Commands.AddColour(Easing.InCubic, 400, 500, Color4.White, Color4.Aquamarine); |
| 152 | + sprite.Commands.AddColour(Easing.InCubic, 400, 500, Colour4.White, Colour4.Aquamarine); |
154 | 153 | sprite.Commands.AddFlipH(Easing.InOutQuad, 600, 600, true, true); |
155 | 154 | sprite.Commands.AddFlipV(Easing.InOutQuad, 800, 900, true, false); |
156 | 155 | sprite.Commands.AddRotation(Easing.OutSine, 1000, 1100, 0, 720); |
@@ -185,8 +184,8 @@ public void TestCommands() |
185 | 184 | Assert.That(colourCommand.Easing, Is.EqualTo(Easing.InCubic)); |
186 | 185 | Assert.That(colourCommand.StartTime, Is.EqualTo(400)); |
187 | 186 | Assert.That(colourCommand.EndTime, Is.EqualTo(500)); |
188 | | - Assert.That(colourCommand.StartValue, Is.EqualTo(Color4.White)); |
189 | | - Assert.That(colourCommand.EndValue, Is.EqualTo(Color4.Aquamarine)); |
| 187 | + Assert.That(colourCommand.StartValue, Is.EqualTo(Colour4.White)); |
| 188 | + Assert.That(colourCommand.EndValue, Is.EqualTo(Colour4.Aquamarine)); |
190 | 189 |
|
191 | 190 | var flipHCommand = decodedSprite.Commands.FlipH.Single(); |
192 | 191 | Assert.That(flipHCommand.Easing, Is.EqualTo(Easing.InOutQuad)); |
|
0 commit comments