Exemplo n.º 1
0
        public TextureContent(ContentManager contentManager)
        {
            contentManager.ThrowIfNull("contentManager");

            _pixel = contentManager.Load<Texture2D>(@"Textures\Pixel");
            _characters = contentManager.Load<Texture2D>(@"Textures\Characters");
            _gameBackground = contentManager.Load<Texture2D>(@"Textures\Game Background");
            _windows = new WindowTextureContent(contentManager);
        }
Exemplo n.º 2
0
        public TextureContent(ContentManager contentManager)
        {
            contentManager.ThrowIfNull("contentManager");

            _pixel          = contentManager.Load <Texture2D>(@"Textures\Pixel");
            _characters     = contentManager.Load <Texture2D>(@"Textures\Characters");
            _gameBackground = contentManager.Load <Texture2D>(@"Textures\Game Background");
            _windows        = new WindowTextureContent(contentManager);
        }