Ejemplo n.º 1
0
        protected MultiplayerTestScene(bool joinRoom = true)
        {
            this.joinRoom            = joinRoom;
            base.Content.Add(content = new TestMultiplayerRoomContainer {
                RelativeSizeAxes = Axes.Both
            });

            Client      = content.Client;
            RoomManager = content.RoomManager;
            Filter      = content.Filter;
        }
Ejemplo n.º 2
0
        private TestMultiplayerRoomManager createRoomManager()
        {
            Child = roomContainer = new TestMultiplayerRoomContainer
            {
                RoomManager =
                {
                    TimeBetweenListingPolls = { Value = 1 },
                }
            };

            return(roomManager);
        }