WindowsGame1.Sprite.getTex C# (CSharp) Method

getTex() public method

public getTex ( ) : Texture2D
return Texture2D
        public Texture2D getTex()
        {
            return tex;
        }

Usage Example

Ejemplo n.º 1
0
 public void LoadContentTest_Spr()
 {
     Game1 game = new Game1();
     Sprite target = new Sprite();
     ContentManager theContentManager = game.Content;
     string theAssetName = "test";
     target.LoadContent(theContentManager, theAssetName);
     Assert.IsNotNull(target.getTex());
 }