mirror of
https://github.com/osukey/osukey.git
synced 2025-05-05 05:37:18 +09:00
24 lines
864 B
C#
24 lines
864 B
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
using osu.Game.Online.Multiplayer;
|
|
using osu.Game.Screens.OnlinePlay;
|
|
using osu.Game.Tests.Visual.OnlinePlay;
|
|
|
|
namespace osu.Game.Tests.Visual.Multiplayer
|
|
{
|
|
public class MultiplayerRoomTestDependencies : RoomTestDependencies, IMultiplayerRoomTestDependencies
|
|
{
|
|
public TestMultiplayerClient Client { get; }
|
|
public new TestMultiplayerRoomManager RoomManager => (TestMultiplayerRoomManager)base.RoomManager;
|
|
|
|
public MultiplayerRoomTestDependencies()
|
|
{
|
|
Client = new TestMultiplayerClient(RoomManager);
|
|
CacheAs<MultiplayerClient>(Client);
|
|
}
|
|
|
|
protected override IRoomManager CreateRoomManager() => new TestMultiplayerRoomManager();
|
|
}
|
|
}
|