Пример #1
0
        public TestMultiplayerRoomContainer()
        {
            RelativeSizeAxes = Axes.Both;

            RoomManager             = new TestMultiplayerRoomManager();
            Client                  = new TestMultiplayerClient(RoomManager);
            OngoingOperationTracker = new OngoingOperationTracker();

            AddRangeInternal(new Drawable[]
            {
                Client,
                RoomManager,
                OngoingOperationTracker,
                content = new Container {
                    RelativeSizeAxes = Axes.Both
                }
            });
        }
Пример #2
0
 public TestMultiplayerClient(TestMultiplayerRoomManager roomManager)
 {
     this.roomManager = roomManager;
 }
Пример #3
0
 protected override RoomManager CreateRoomManager() => RoomManager = new TestMultiplayerRoomManager();