public FlyingSphericParticle()
 {
     IsMovable = true;
     IsObstacle = false;
     CanCollide = false;
     BlurEffect myBlurEffect = new BlurEffect();
     myBlurEffect.Radius = BlurEffectRadius;
     DVisual.Effect = myBlurEffect;
     AnimLinTrans = new AnimationLinearTranslation(this);
     AnimAirDrag = new AnimationAirDrag(this);
 }
Ejemplo n.º 2
0
        public BitmapParticle()
        {
            IsMovable  = true;
            IsObstacle = false;
            CanCollide = false;
            BlurEffect myBlurEffect = new BlurEffect();

            myBlurEffect.Radius = BlurEffectRadius;
            DVisual.Effect      = myBlurEffect;
            AnimLinTrans        = new AnimationLinearTranslation(this);
            AnimAirDrag         = new AnimationAirDrag(this);
        }