示例#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);
		}