Example #1
0
 public void DisableAllAttacks()
 {
     foreach (Attack ActiveAttack in ListAttack)
     {
         ActiveAttack.DisableAttack();
     }
 }
Example #2
0
 public void UpdateNonMAPAttacks(Vector3 StartPosition, Vector3 TargetPosition, bool[,] ArrayTargetMapSize, string TargetMovementType, bool CanMove)
 {
     foreach (Attack ActiveAttack in ListAttack)
     {
         if (ActiveAttack.Pri != WeaponPrimaryProperty.MAP)
         {
             ActiveAttack.UpdateAttack(this, StartPosition, TargetPosition, ArrayTargetMapSize, TargetMovementType, CanMove);
         }
         else
         {
             ActiveAttack.DisableAttack();
         }
     }
 }