Beispiel #1
0
 public override void Update(GameTime time)
 {
     if (!isDead)
     {
         CheckIfDead();
         if (!GameServices.GetService <GameObject>().GetComponent <Player>().timeStop)
         {
             audioComponent.Update(time);
             base.Update(time);
             lastAttack += (time.ElapsedGameTime.TotalMilliseconds / 1000.0d);
             EnemyBehaviour();
         }
     }
 }