mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 17:32:54 +08:00
Expose a default TeamVs
room state so it can be consumed by tests
This commit is contained in:
parent
c7274355a4
commit
d93421b9b8
@ -13,5 +13,15 @@ namespace osu.Game.Online.Multiplayer.MatchRulesets.TeamVs
|
||||
{
|
||||
[Key(0)]
|
||||
public List<MultiplayerTeam> Teams { get; set; } = new List<MultiplayerTeam>();
|
||||
|
||||
public static TeamVsMatchRoomState CreateDefault() =>
|
||||
new TeamVsMatchRoomState
|
||||
{
|
||||
Teams =
|
||||
{
|
||||
new MultiplayerTeam { ID = 0, Name = "Team Red" },
|
||||
new MultiplayerTeam { ID = 1, Name = "Team Blue" },
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user