public WebScreen(WebScreenManager webScreenManager)
        {
            ScreenManager = webScreenManager;

            WebLayouts = new List <WebLayout>();
            Element    = (HTMLDivElement)Document.CreateElement("div");
        }
        public override void Init(IRenderer renderer)
        {
            Renderer           = (WebRenderer)renderer;
            ScreenManager      = new WebScreenManager(Renderer, this);
            Game.ScreenManager = ScreenManager;
            Game.Renderer      = Renderer;
            Game.InitScreens();

            /*         SocketManager = new WebSocketManager();
             *       Game.InitSocketManager(SocketManager);*/
        }