mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 15:16:38 +09:00
Use explicit cast to OsuGame rather than in-between derived classes.
# Conflicts: # osu.Game/GameModes/Menu/MainMenu.cs
This commit is contained in:
@ -1,12 +0,0 @@
|
||||
//Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
|
||||
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
||||
|
||||
using osu.Framework.Graphics.Containers;
|
||||
|
||||
namespace osu.Game.Graphics.Containers
|
||||
{
|
||||
class OsuContainer : AutoSizeContainer
|
||||
{
|
||||
public new OsuGameBase Game => base.Game as OsuGameBase;
|
||||
}
|
||||
}
|
@ -1,12 +0,0 @@
|
||||
//Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
|
||||
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
||||
|
||||
using osu.Framework.GameModes;
|
||||
|
||||
namespace osu.Game.Graphics.Containers
|
||||
{
|
||||
public class OsuGameMode : GameMode
|
||||
{
|
||||
public new OsuGame Game => base.Game as OsuGame;
|
||||
}
|
||||
}
|
@ -1,12 +0,0 @@
|
||||
//Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
|
||||
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
||||
|
||||
using osu.Framework.Graphics.Containers;
|
||||
|
||||
namespace osu.Game.Graphics.Containers
|
||||
{
|
||||
public class OsuLargeContainer : LargeContainer
|
||||
{
|
||||
public new OsuGameBase Game => base.Game as OsuGameBase;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user