1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-07 04:47:38 +08:00
osu-lazer/osu.Game/Screens/Play/Pause/PauseButton.cs

20 lines
598 B
C#
Raw Normal View History

// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Allocation;
2017-02-07 12:52:19 +08:00
using osu.Framework.Audio;
2017-02-27 11:35:13 +08:00
using osu.Game.Graphics.UserInterface;
2017-02-07 12:52:19 +08:00
namespace osu.Game.Screens.Play.Pause
2017-02-07 12:52:19 +08:00
{
2017-03-28 09:52:11 +08:00
public class PauseButton : DialogButton
2017-02-07 12:52:19 +08:00
{
[BackgroundDependencyLoader]
2017-03-28 10:12:04 +08:00
private void load(AudioManager audio)
{
2017-02-07 12:52:19 +08:00
SampleHover = audio.Sample.Get(@"Menu/menuclick");
SampleClick = audio.Sample.Get(@"Menu/menuback");
}
}
}