1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 19:27:24 +08:00

Add some comments about future usage.

This commit is contained in:
Dean Herbert 2016-10-06 23:32:56 +09:00
parent d1dfa120d1
commit 10468a566c

View File

@ -10,6 +10,7 @@ using OpenTK;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Framework.OS;
using osu.Game.GameModes;
using osu.Game.Graphics.Background;
using osu.Game.GameModes.Play;
using osu.Game.Graphics.Containers;
@ -60,11 +61,19 @@ namespace osu.Game
private void modeChanged(GameMode newMode)
{
// - Ability to change window size
// - Ability to adjust music playback
// - Frame limiter changes
//central game mode change logic.
if (newMode is Player)
{
Toolbar.FadeOut(100);
}
else
{
Toolbar.FadeIn(100);
}
Cursor.FadeIn(100);