mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +09:00
Make Player abstract and introduce SoloPlayer
This commit is contained in:
@ -39,7 +39,7 @@ namespace osu.Game.Screens.Play
|
||||
{
|
||||
[Cached]
|
||||
[Cached(typeof(ISamplePlaybackDisabler))]
|
||||
public class Player : ScreenWithBeatmapBackground, ISamplePlaybackDisabler
|
||||
public abstract class Player : ScreenWithBeatmapBackground, ISamplePlaybackDisabler
|
||||
{
|
||||
/// <summary>
|
||||
/// The delay upon completion of the beatmap before displaying the results screen.
|
||||
@ -135,7 +135,7 @@ namespace osu.Game.Screens.Play
|
||||
/// <summary>
|
||||
/// Create a new player instance.
|
||||
/// </summary>
|
||||
public Player(PlayerConfiguration configuration = null)
|
||||
protected Player(PlayerConfiguration configuration = null)
|
||||
{
|
||||
Configuration = configuration ?? new PlayerConfiguration();
|
||||
}
|
||||
|
Reference in New Issue
Block a user