1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-09 06:13:43 +08:00

Use interface to access API

Allows for better testability.
This commit is contained in:
Dean Herbert
2019-03-13 12:56:47 +09:00
Unverified
parent 13f84e8d50
commit f0114d776d
33 changed files with 127 additions and 61 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ namespace osu.Game.Screens.Menu
private OsuGame game { get; set; }
[Resolved]
private APIAccess api { get; set; }
private IAPIProvider api { get; set; }
[Resolved(CanBeNull = true)]
private NotificationOverlay notifications { get; set; }