WindowsGame1.Dragon.EnemyUpdate C# (CSharp) Метод

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

public EnemyUpdate ( GameTime theGameTime ) : void
theGameTime Microsoft.Xna.Framework.GameTime
Результат void
        public void EnemyUpdate(GameTime theGameTime)
        {
            UpdateMovement();
            LastDecision = mDirection;
            LastPosition2 = pos;
            base.Update(theGameTime, mSpeed, mDirection);
            LastPosition1 = pos;
        }

Usage Example

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