void IInternalGameModule.Prepare(DrawingSurface drawingSurface, IServiceProvider provider) { _drawingSurface = drawingSurface; GraphicsDevice = drawingSurface.GraphicsDevice; SpriteBatch = new SpriteBatch((GraphicsDevice)provider.GetService(typeof(GraphicsDevice))); Content = new ContentManager(provider, _contentDirectory); _updater = new GameUpdater(Update, drawingSurface.Invalidate); }