public EditorHostGame(ICoreGame coreGame) { _coreGame = coreGame; _serviceContainer = new GameServiceContainer(); _graphicsDeviceService = new EditorGraphicsDeviceService(); _serviceContainer.AddService <IGraphicsDeviceService>(_graphicsDeviceService); _editorGameWindow = new EditorGameWindow(this); _contentManager = new ContentManager(_serviceContainer, "Content"); }
public EditorHostGame(ICoreGame coreGame, ISharedRendererClientFactory sharedRendererClientFactory) { _coreGame = coreGame; _serviceContainer = new GameServiceContainer(); _graphicsDeviceService = new EditorGraphicsDeviceService(sharedRendererClientFactory); _serviceContainer.AddService <IGraphicsDeviceService>(_graphicsDeviceService); _editorGameWindow = new EditorGameWindow(this); _contentManager = new ContentManager(_serviceContainer, "Content"); }