public void DisableAllAttacks() { foreach (Attack ActiveAttack in ListAttack) { ActiveAttack.DisableAttack(); } }
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(); } } }