GameEntities.Fan.UpdateParticlesForceCoefficient C# (CSharp) Method

UpdateParticlesForceCoefficient() private method

private UpdateParticlesForceCoefficient ( float forceCoefficient ) : void
forceCoefficient float
return void
        void UpdateParticlesForceCoefficient( float forceCoefficient )
        {
            //Set ForceCoefficient to particles
            foreach( MapObjectAttachedObject attachedObject in AttachedObjects )
            {
                MapObjectAttachedParticle attachedParticleObject =
                    attachedObject as MapObjectAttachedParticle;
                if( attachedParticleObject != null )
                    attachedParticleObject.ForceCoefficient = forceCoefficient;
            }
        }