Exemplo n.º 1
0
        public void Init(IRenderer renderer, IClientSettings clientSettings)
        {
            Renderer       = (WebRenderer)renderer;
            ClientSettings = clientSettings;
            ScreenManager  = new WebScreenManager(Renderer, this);
            Game.InitScreens(renderer, ScreenManager);

            SocketManager = new WebSocketManager();
            Game.InitSocketManager(SocketManager);
        }
Exemplo n.º 2
0
        public WebLayer(WebRenderer renderer, int width, int height, ILayout layout)
        {
            this.renderer     = renderer;
            this.width        = width;
            this.height       = height;
            Layout            = layout;
            CanvasInformation = CanvasInformation.Create(width, height);
            settingsStack     = new List <WebContextSettings>();

            settingsStack.Add(new WebContextSettings());
        }
Exemplo n.º 3
0
 public WebScreenManager(WebRenderer renderer, IClient client)
 {
     Renderer   = renderer;
     Client     = client;
     WebScreens = new List <WebScreen>();
 }