WindowsGame1.EnemyCharacter.LoadContent C# (CSharp) Метод

LoadContent() публичный Метод

public LoadContent ( Microsoft.Xna.Framework.Content.ContentManager theContentManager ) : void
theContentManager Microsoft.Xna.Framework.Content.ContentManager
Результат void
        public void LoadContent(ContentManager theContentManager)
        {
            pos = new Vector2(START_POSITION_X, START_POSITION_Y);
            base.LoadContent(theContentManager, CHARACTER_ASSETNAME);
        }

Usage Example

Пример #1
0
 public void LoadContentTest()
 {
     EnemyCharacter target = new EnemyCharacter(); // TODO: Initialize to an appropriate value
     ContentManager theContentManager = null; // TODO: Initialize to an appropriate value
     target.LoadContent(theContentManager);
     Assert.Inconclusive("A method that does not return a value cannot be verified.");
 }