mirror of
https://github.com/ppy/osu.git
synced 2024-11-15 05:17:25 +08:00
21 lines
859 B
C#
21 lines
859 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.Framework.Bindables;
|
|
using osu.Game.Screens.Multi.Components;
|
|
|
|
namespace osu.Game.Screens.Multi.Timeshift
|
|
{
|
|
public class TimeshiftRoomManager : RoomManager
|
|
{
|
|
public readonly Bindable<double> TimeBetweenListingPolls = new Bindable<double>();
|
|
public readonly Bindable<double> TimeBetweenSelectionPolls = new Bindable<double>();
|
|
|
|
protected override RoomPollingComponent[] CreatePollingComponents() => new RoomPollingComponent[]
|
|
{
|
|
new ListingPollingComponent { TimeBetweenPolls = { BindTarget = TimeBetweenListingPolls } },
|
|
new SelectionPollingComponent { TimeBetweenPolls = { BindTarget = TimeBetweenSelectionPolls } }
|
|
};
|
|
}
|
|
}
|