mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 08:43:01 +08:00
Nest classes + make private
This commit is contained in:
parent
600b823a30
commit
62c2dbc310
@ -87,12 +87,11 @@ namespace osu.Game.Rulesets.UI
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// A sample store which adds a fallback source and prevents disposal of the fallback source.
|
||||
/// </summary>
|
||||
public class FallbackSampleStore : ISampleStore
|
||||
private class FallbackSampleStore : ISampleStore
|
||||
{
|
||||
private readonly ISampleStore primary;
|
||||
private readonly ISampleStore fallback;
|
||||
@ -150,7 +149,7 @@ namespace osu.Game.Rulesets.UI
|
||||
/// <summary>
|
||||
/// A texture store which adds a fallback source and prevents disposal of the fallback source.
|
||||
/// </summary>
|
||||
public class FallbackTextureStore : TextureStore
|
||||
private class FallbackTextureStore : TextureStore
|
||||
{
|
||||
private readonly TextureStore primary;
|
||||
private readonly TextureStore fallback;
|
||||
@ -170,4 +169,5 @@ namespace osu.Game.Rulesets.UI
|
||||
primary?.Dispose();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user