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); }
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()); }
public WebScreenManager(WebRenderer renderer, IClient client) { Renderer = renderer; Client = client; WebScreens = new List <WebScreen>(); }