1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-13 08:32:57 +08:00

Add sample usage of PlayMode bindable.

This commit is contained in:
Dean Herbert 2016-10-06 23:33:28 +09:00
parent 5ff9d828eb
commit e25e7319e9

View File

@ -15,5 +15,18 @@ namespace osu.Game.GameModes.Play
typeof(ModSelect),
typeof(Player)
};
public override void Load()
{
base.Load();
OsuGame osu = Game as OsuGame;
osu.PlayMode.ValueChanged += PlayMode_ValueChanged;
}
private void PlayMode_ValueChanged(object sender, EventArgs e)
{
}
}
}