Пример #1
0
 public AssetHandlers(ContentManager contentManager, GraphicsDeviceControl graphicsDeviceControl)
 {
     _graphicsDeviceControl = graphicsDeviceControl;
     _modelHandler          = new ModelHandler(contentManager, graphicsDeviceControl);
     _effectHandler         = new EffectHandler(contentManager, graphicsDeviceControl);
     _textureHandler        = new TextureHandler(contentManager, graphicsDeviceControl);
 }
Пример #2
0
		public AssetHandlers(ContentManager contentManager, GraphicsDeviceControl graphicsDeviceControl)
		{
			_graphicsDeviceControl = graphicsDeviceControl;
			_modelHandler = new ModelHandler(contentManager, graphicsDeviceControl);
			_effectHandler = new EffectHandler(contentManager, graphicsDeviceControl);
			_textureHandler = new TextureHandler(contentManager, graphicsDeviceControl);
		}