1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 13:37:25 +08:00

Update naming conventions.

This commit is contained in:
Dean Herbert 2016-09-04 16:15:35 +09:00
parent eeb3494f04
commit 23111821f5
3 changed files with 8 additions and 8 deletions

View File

@ -477,7 +477,7 @@ namespace osu.Game.GameModes.Menu
icon.RotateTo(10, offset, EasingTypes.InOutSine); icon.RotateTo(10, offset, EasingTypes.InOutSine);
icon.ScaleTo(new Vector2(1, 0.9f), offset, EasingTypes.Out); icon.ScaleTo(new Vector2(1, 0.9f), offset, EasingTypes.Out);
icon.Transformations.Add(new TransformRotation(Clock) icon.Transforms.Add(new TransformRotation(Clock)
{ {
StartValue = -10, StartValue = -10,
EndValue = 10, EndValue = 10,
@ -488,7 +488,7 @@ namespace osu.Game.GameModes.Menu
LoopDelay = duration * 2 LoopDelay = duration * 2
}); });
icon.Transformations.Add(new TransformPosition(Clock) icon.Transforms.Add(new TransformPosition(Clock)
{ {
StartValue = Vector2.Zero, StartValue = Vector2.Zero,
EndValue = new Vector2(0, -10), EndValue = new Vector2(0, -10),
@ -499,7 +499,7 @@ namespace osu.Game.GameModes.Menu
LoopDelay = duration LoopDelay = duration
}); });
icon.Transformations.Add(new TransformScaleVector(Clock) icon.Transforms.Add(new TransformScaleVector(Clock)
{ {
StartValue = new Vector2(1, 0.9f), StartValue = new Vector2(1, 0.9f),
EndValue = Vector2.One, EndValue = Vector2.One,
@ -510,7 +510,7 @@ namespace osu.Game.GameModes.Menu
LoopDelay = duration LoopDelay = duration
}); });
icon.Transformations.Add(new TransformPosition(Clock) icon.Transforms.Add(new TransformPosition(Clock)
{ {
StartValue = new Vector2(0, -10), StartValue = new Vector2(0, -10),
EndValue = Vector2.Zero, EndValue = Vector2.Zero,
@ -521,7 +521,7 @@ namespace osu.Game.GameModes.Menu
LoopDelay = duration LoopDelay = duration
}); });
icon.Transformations.Add(new TransformScaleVector(Clock) icon.Transforms.Add(new TransformScaleVector(Clock)
{ {
StartValue = Vector2.One, StartValue = Vector2.One,
EndValue = new Vector2(1, 0.9f), EndValue = new Vector2(1, 0.9f),
@ -532,7 +532,7 @@ namespace osu.Game.GameModes.Menu
LoopDelay = duration LoopDelay = duration
}); });
icon.Transformations.Add(new TransformRotation(Clock) icon.Transforms.Add(new TransformRotation(Clock)
{ {
StartValue = 10, StartValue = 10,
EndValue = -10, EndValue = -10,

View File

@ -21,7 +21,7 @@ namespace osu.Game.GameModes.Menu
base.Load(); base.Load();
AudioSample welcome = Game.Audio.Sample.Get(@"welcome"); AudioSample welcome = Game.Audio.Sample.Get(@"welcome");
welcome.Play(); //welcome.Play();
Add(new ButtonSystem()); Add(new ButtonSystem());

View File

@ -143,7 +143,7 @@ namespace osu.Game.Graphics.UserInterface
{ {
cursor.FadeTo(0.5f, 200, EasingTypes.Out); cursor.FadeTo(0.5f, 200, EasingTypes.Out);
cursor.FadeColour(Color4.White, 200, EasingTypes.Out); cursor.FadeColour(Color4.White, 200, EasingTypes.Out);
cursor.Transformations.Add(new TransformAlpha(Clock) cursor.Transforms.Add(new TransformAlpha(Clock)
{ {
StartValue = 0.5f, StartValue = 0.5f,
EndValue = 0.2f, EndValue = 0.2f,