mirror of
https://github.com/osukey/osukey.git
synced 2025-08-06 16:13:57 +09:00
Add some comments about future usage.
This commit is contained in:
@ -10,6 +10,7 @@ using OpenTK;
|
|||||||
using osu.Framework.Graphics;
|
using osu.Framework.Graphics;
|
||||||
using osu.Framework.Graphics.Sprites;
|
using osu.Framework.Graphics.Sprites;
|
||||||
using osu.Framework.OS;
|
using osu.Framework.OS;
|
||||||
|
using osu.Game.GameModes;
|
||||||
using osu.Game.Graphics.Background;
|
using osu.Game.Graphics.Background;
|
||||||
using osu.Game.GameModes.Play;
|
using osu.Game.GameModes.Play;
|
||||||
using osu.Game.Graphics.Containers;
|
using osu.Game.Graphics.Containers;
|
||||||
@ -60,11 +61,19 @@ namespace osu.Game
|
|||||||
|
|
||||||
private void modeChanged(GameMode newMode)
|
private void modeChanged(GameMode newMode)
|
||||||
{
|
{
|
||||||
|
// - Ability to change window size
|
||||||
|
// - Ability to adjust music playback
|
||||||
|
// - Frame limiter changes
|
||||||
|
|
||||||
//central game mode change logic.
|
//central game mode change logic.
|
||||||
if (newMode is Player)
|
if (newMode is Player)
|
||||||
|
{
|
||||||
Toolbar.FadeOut(100);
|
Toolbar.FadeOut(100);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
Toolbar.FadeIn(100);
|
Toolbar.FadeIn(100);
|
||||||
|
}
|
||||||
|
|
||||||
Cursor.FadeIn(100);
|
Cursor.FadeIn(100);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user