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

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

            return(roomManager);
        }